An intelligent ambient light control method based on an intelligent cockpit
By integrating internal and external signals to generate a scene pool and using an intelligent ambient lighting system to control the color and brightness of the ambient lights, the problem of monotonous expression in intelligent cockpit ambient lighting is solved, thus enriching the intelligent experience and improving safety.
Patent Information
- Application Number
- CN202111454548.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-01
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2041-12-01
AI Technical Summary
Existing smart cockpit ambient lighting offers a limited range of expressions, lacks intelligence, and fails to provide a multi-dimensional and immersive experience.
By integrating internal and external signals, a scene pool is generated. The intelligent ambient lighting system controls the color and brightness of the ambient lights according to the scene trigger conditions. Combined with the arbitration logic of the permanent mode and the scene mode, various forms of lighting expression are achieved.
It enriches the intelligent cockpit system's intelligent experience, enhances the safety and comfort of the driving process, and accurately displays interior and exterior information of the car in real time through ambient lighting, increasing the entertainment and comfort of the driving process.
Smart Images

Figure CN116198416B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The technical field belongs to the field of intelligent cockpit, and particularly relates to an intelligent atmosphere lamp control method based on an intelligent cockpit. BACKGROUND
[0002] With the popularization of new energy vehicles, especially electric vehicles, and the increasing perfection of intelligent driving technology, the intelligent technology of vehicles has developed rapidly, and users are not only nervous drivers in the process of using vehicles, but also can more liberate hands, relax attention, and hand over boring driving to vehicle computer control. Therefore, the intelligent cockpit, an intelligent electronic device, is needed to provide users with richer experiences.
[0003] The intelligent cockpit on the market mainly outputs audio, video and external signals output through a video sensor. At present, most of the atmosphere lamps in vehicles are only fixed colors or simple color changes, and this mode lacks intelligence and has monotonous effects, and cannot bring users multi-dimensional and stereoscopic experience. SUMMARY
[0004] The technical solution provided by the present application for the above technical problems is as follows: an intelligent atmosphere lamp control method based on an intelligent cockpit, comprising:
[0005] Step S1, listening to signals, screening out scene data meeting a trigger condition in a scene pool by using received signals; and step S2, converting the scene data into atmosphere lamp control data, and sending a control message to control corresponding atmosphere lamps through an atmosphere lamp protocol.
[0006] Before the step S1, further comprising:
[0007] Step S0, integrating internal signals and external signals to generate a scene pool.
[0008] The step S1 comprises:
[0009] Step S11, listening to the input of internal signals and external signals, and classifying the listened signals according to trigger conditions;
[0010] Step S12, determining scene data in the scene pool according to signal types and input data, wherein parameters of the scene data include mode, scene serial number, scene name, priority, trigger condition, scope, display effect and duration.
[0011] In step S2, according to the scene data, if it is a resident mode, the resident mode processing flow is used for processing, if it is a scene mode, the scene mode processing flow is used for processing, if it includes both the resident mode and the scene mode, the resident mode processing flow is synchronized with the scene mode processing flow when the scene mode processing flow is processing, the resident mode processing flow filters the atmosphere lamp occupied by the scene mode and does not control it.
[0012] The resident mode processing flow includes:
[0013] In step S211, it is judged whether there is a resident mode task being executed, if not, it proceeds to step S212, if yes, it is judged whether the scene serial number of the resident mode task being executed is consistent with the scene serial number of the scene data obtained in step S1, if yes, the scene data is used to update the resident mode task being executed, if not, the resident mode task being executed is cancelled, a clearing instruction is sent, and it proceeds to step S212;
[0014] In step S212, a new task is created and executed by using the obtained scene data;
[0015] In step S213, the corresponding resident mode algorithm is matched in the resource library by using the scene serial number, and the scene data is converted into a control message for the atmosphere lamp;
[0016] In step S214, it is judged whether there is a signal from the scene mode processing flow, if yes, the atmosphere lamp occupied by the scene mode is filtered;
[0017] In step S215, the control message is sent to the private CAN BUS by using the atmosphere lamp protocol.
[0018] The scene mode processing flow includes:
[0019] In step S221, it is judged whether there is a scene being executed, if not, it proceeds to step S228, if yes, it proceeds to step S222;
[0020] In step S222, the running scene is compared one by one, and it is judged whether the scopes are the same, if yes, it proceeds to step S223, if not, it proceeds to step S228;
[0021] In step S223, the priorities are compared, if the priority of the obtained scene data is less than the priority of the running scene, the obtained scene data is not executed, otherwise, it proceeds to step S224;
[0022] Step S224, judging whether the scene serial number of the running scene is consistent with the scene serial number of the acquired scene data, if consistent, proceeding to step S225, if inconsistent, proceeding to step S226;
[0023] Step S225, updating the running scene by using the acquired scene data, and then proceeding to step S229;
[0024] Step S226, canceling the running scene, and sending a clearing instruction;
[0025] Step S227, sending a signal of atmosphere lamp release to the resident mode processing flow;
[0026] Step S228, creating a new task by using the acquired scene data;
[0027] Step S229, executing the new task, and sending a signal of atmosphere lamp occupation to the resident mode processing flow;
[0028] Step S230, converting the scene data into a control message of the atmosphere lamp by using the scene serial number to match the resource library;
[0029] Step S231, sending the control message to the private CAN BUS through the atmosphere lamp protocol.
[0030] The control message comprises a message ID, a device type, a device ID, a data length, a brightness, an R value, a G value and a B value.
[0031] The technical scheme provided by the application has the beneficial effects that: the application integrates multiple signals, formulates corresponding scenes, combines the core arbitration logic, and expresses the results to the in-vehicle user in multiple forms through the intelligent atmosphere lamp, perfects the intelligent experience of the intelligent cockpit system, makes the in-vehicle life more comfortable, and makes the driving process more safe; the intelligent atmosphere lamp system timely, accurately and intelligently displays the information inside and outside the vehicle through the in-vehicle atmosphere lamp, gives the user a visual enjoyment, and adds entertainment, leisure and comfortable experience to the boring driving road. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1 The figure shows the atmosphere lamp installation layout of the application;
[0033] Figure 2 The figure is the flow chart of the intelligent atmosphere lamp control method based on the intelligent cockpit provided by the application;
[0034] Figure 3 The figure is the scene matching flow chart of the application;
[0035] Figure 4 The figure is the resident mode processing flow chart of the application;
[0036] Figure 5 The scene mode processing flowchart of the present application is shown. DETAILED DESCRIPTION
[0037] In order to solve the single expression of the intelligent cockpit atmosphere lamp in the prior art, the present application integrates the internal and external signals of the vehicle into application scenarios, and then controls the light-emitting state, brightness and color of the atmosphere lamp, wherein the internal signals mainly refer to the signals of the vehicle door, vehicle light, safety belt, gear shifting, ADAS, DMS, reversing radar, etc.; the external signals mainly refer to the navigation direction, hand gesture, FaceID, sound (voice assistant, music), etc.; the application scenarios include four scenarios of vehicle warning, vehicle reminder, information entertainment and scene atmosphere. By integrating multiple signals, formulating corresponding scenarios and combining the core arbitration logic, the results are expressed to the in-vehicle user in multiple forms through the intelligent atmosphere lamp, which perfects the intelligent experience of the intelligent cockpit system, makes the in-vehicle life more comfortable and the driving process more safe. The intelligent atmosphere lamp system timely and accurately displays the internal and external information of the vehicle through the in-vehicle atmosphere lamp, giving the user a visual enjoyment and adding entertainment, leisure and comfortable experience to the boring driving road.
[0038] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.
[0039] Firstly, the atmosphere lamp used in the present application uses three primary color LED lamp beads, and supports 32 color adjustments, 10 level brightness adjustments and state adjustments (turning on and turning off) for each LED lamp bead. The atmosphere lamp relied on by the present application uses two 8x8 atmosphere lamp matrices and five atmosphere lamp strips, and the installation positions thereof are as shown in the figure. Figure 1 As shown in the figure: the atmosphere lamp on the left side of the center control screen is named as "left atmosphere lamp panel", and the English abbreviation is "ML-Light"; the atmosphere lamp on the right side of the center control screen is named as "right atmosphere lamp panel", and the English abbreviation is "MR-Light"; the atmosphere lamp on the center control console is named as "center control lamp strip", and the English abbreviation is "L-Light"; the atmosphere lamp on the left front door is named as "left front door lamp strip", and the English abbreviation is "FL-Light"; the atmosphere lamp on the right front door is named as "right front door lamp strip", and the English abbreviation is "FR-Light"; the atmosphere lamp on the left rear door is named as "left rear door lamp strip", and the English abbreviation is "RL-Light"; the atmosphere lamp on the right rear door is named as "right rear door lamp strip", and the English abbreviation is "RR-Light".
[0040] Further, the intelligent cockpit system applied by the application integrates DMS, ADAS, radar; the atmosphere lamp uses a CAN communication module, accesses 1 private CAN BUS, and the MCU and the SOC are both accessed to the private CAN BUS to realize communication with the atmosphere lamp; the vehicle-mounted central control uses an Android system, the intelligent atmosphere lamp system is realized by an intelligent atmosphere lamp scene service, and the software runs on the Android system; the intelligent atmosphere lamp scene service uses CAN to establish communication with the atmosphere lamp, realizes control of each atmosphere lamp by defining a protocol; the CAN signals related to the vehicle body are accessed by the MCU to the vehicle body CAN BUS, and then transmitted by the CanMsgServer of the MCU to the VehicleHal on the HAL layer of the android system; the intelligent atmosphere lamp scene service obtains related vehicle data from the VehicleHal through the HIDL mode, and the data is used for subsequent matching conditions of triggering the scene; the intelligent atmosphere lamp scene service obtains media audio stream data from the MediaPlayService through the binder mode, and the data is used for subsequent implementation of audio rhythm algorithm.
[0041] Figure 2 As shown in the figure, the application provides an intelligent atmosphere lamp control method based on an intelligent cockpit.
[0042] As shown in the figure, the application provides an intelligent atmosphere lamp control method based on an intelligent cockpit. Figure 2 As shown in the figure, the application provides an intelligent atmosphere lamp control method based on an intelligent cockpit.
[0043] Step S0, integrate internal signals and external signals to generate a scene pool.
[0044] Specifically, in an embodiment of the application, the internal signals mainly refer to signals such as vehicle doors, vehicle lights, seat belts, gear shifting, ADAS, DMS, and reversing radar; the external signals mainly refer to navigation directions, gestures, FaceID, and sound (voice assistants and music); and the application scenarios include four scenarios of vehicle early warning, vehicle reminder, information entertainment, and scene atmosphere. By integrating various signals, the scene pool shown in Table 1 is formulated.
[0045] Table 1: Scene pool
[0046]
[0047]
[0048] Wherein, Lx: x represents the number 1-7, for example, L1 represents the highest priority L1, L1-L7 is the priority decreasing; MXL represents MR-Light, ML-Light display simultaneously; VLx: x represents the number 1-4, corresponding FL-Light, FR-Light, RL-Light, RR-Light display in order, for example, VL1 represents FL-Light display; VL represents L-Light, FL-Light, FR-Light, RL-Light, RR-Light display simultaneously; ALL represents all Light display.
[0049] The scenario pool shown in Table 1 is explained in detail as follows:
[0050] 1) Corresponding to the alarm information output by ADAS, the atmosphere lamp resource library index matching the consistent information in the ADAS icon library, which acts on MR-Light, ML-Light display simultaneously, outputs ADAS scene data.
[0051] 2) Corresponding to the alarm information output by DMS, the atmosphere lamp resource library index matching the consistent information in the expression library, which acts on MR-Light, ML-Light display simultaneously, outputs DMS scene data.
[0052] 3) Corresponding to the radar data when reversing, 0-0.6m is a short distance alarm, 0.6-1.2m is a medium distance alarm, and greater than 1.2m is a long distance alarm, the atmosphere lamp resource library index matching the consistent information in the radar icon library, which acts on MR-Light, ML-Light display simultaneously, outputs reversing radar scene data.
[0053] 4) Corresponding to the alarm signal of blind spot assist function, the left alarm matching acts on FL-Light, the right alarm matching acts on FR-Light, outputs red flashing blind spot assist scene data.
[0054] 5) Corresponding to the state data when the door is opened, the door in the open state matches the corresponding VLx, outputs the door welcome scene data with enhanced VLx brightness.
[0055] 6) Corresponding to the gear change signal, the letter resource library index matching the consistent gear from the letter library, which acts on MR-Light, ML-Light display simultaneously, outputs gear scene data.
[0056] 7) Corresponding to the state data when the seat belt state changes, the atmosphere lamp resource library index matching the consistent information from the seat belt icon library, which acts on MR-Light, ML-Light display simultaneously, outputs seat belt scene data.
[0057] 8) Corresponding to the state data of the change of the door lock state, the atmosphere light resource library index matching the consistent information from the door lock icon library is displayed in MR-Light and ML-Light at the same time, and the door lock scene data is output.
[0058] 9) Corresponding to the user using the voice function of the intelligent cockpit system, the voice robot running state is in the speaking state or the voice recognition state, the atmosphere light resource library index matching the consistent information from the voice icon library is displayed in MR-Light and ML-Light at the same time, and the polling display effect voice scene data is output.
[0059] 10) Corresponding to the navigation instruction signal broadcast by the navigation application, the user uses the intelligent cockpit system navigation, the navigation instruction direction signal is listened to, the atmosphere light resource library index matching the consistent information from the direction icon library is displayed in MR-Light and ML-Light at the same time, and the navigation scene data is output.
[0060] 11) When the user uses the gesture function of the intelligent cockpit system, the result is a number from the digital library, the result is a direction from the direction icon library, and other cases from other icon libraries, the atmosphere light resource library index matching the consistent information is displayed in MR-Light and ML-Light at the same time, and the gesture scene data is output.
[0061] 12) When the user uses the face recognition function of the intelligent cockpit system, the recognition is successful, the index of the smiley face in the expression library is selected, and the recognition fails, the index of the sad expression in the expression library is selected, which is displayed in MR-Light and ML-Light at the same time, and the FaceId scene data is output.
[0062] 13) The user can also select the resident mode from the system settings. The resident mode refers to the atmosphere light display mode that is always running without any scene triggering. The resident mode includes fixed color, following speed, music rhythm, and smooth breathing.
[0063] Further, after the scene pool is created, it is divided into scene mode and resident mode. Since the resident mode and the scene mode can be triggered at the same time, and the scope (triggered atmosphere light) will be the same, the following arbitration strategy is used to solve the conflict.
[0064] Table 2: Arbitration strategy for scene mode and resident mode
[0065]
[0066] From table 2, the priority of the operation of the ambient light in the arbitrary scene (fixed color, following speed, steady breathing, music rhythm) of the resident mode is the lowest. The control right of the ambient light A in the scene scope of the arbitrary scene mode can preempt, and the ambient light B in the non-scene scope keeps the effect of the resident mode. When the scene execution is completed, the control right of the ambient light A is returned to the resident mode, and the ambient light A restores the effect of the resident mode.
[0067] Step S1, a signal is listened to, and scene data meeting a trigger condition is screened out in a scene pool by using the received signal.
[0068] Specifically, step S11, input of internal signals and external signals is listened to, and the listened signals are classified according to a trigger condition; step S12, scene data is determined in the scene pool according to the signal type and input data, and the parameters of the scene data include mode, scene serial number, scene name, priority, trigger condition, scope, display effect, and duration. For example, Figure 3 The scene matching flowchart is the scene matching flowchart of the present application.
[0069] Step S2, scene data is converted into ambient light control data, and a control message is sent through an ambient light protocol to control the corresponding ambient light.
[0070] Specifically, in step S2, the mode is judged according to the scene data, if it is the resident mode, the resident mode processing flow is processed, if it is the scene mode, the scene mode processing flow is processed, if it includes the resident mode and the scene mode at the same time, the occupation state of the ambient light needs to be synchronized to the resident mode processing flow when the scene mode processing flow is processed, at this time, the resident mode processing flow needs to filter the ambient light occupied by the scene mode and not control.
[0071] The resident mode processing flow and the scene mode processing flow will be introduced in detail as follows:
[0072] Figure 4 The resident mode processing flowchart is the resident mode processing flowchart of the present application, and the flow thereof includes:
[0073] Step S211, whether there is an executing resident mode task is judged, if not, it is proceeded to step S212, if yes, whether the scene serial number of the executing resident mode task is consistent with the scene serial number of the scene data acquired in step S1 is judged, if yes, the scene data is used to update the executing resident mode task, if not, the executing resident mode task is cancelled, a clearing instruction is sent, and it is proceeded to step S212;
[0074] Step S212, a new task is created and executed by using the acquired scene data;
[0075] Step S213, using the scene serial number to match the corresponding resident mode algorithm in the resource library, converting the scene data into control messages for the atmosphere lamp;
[0076] Step S214, judging whether there is a signal from the scene mode processing flow, if yes, filtering the atmosphere lamp which has been occupied by the scene mode;
[0077] Step S215, sending the control messages to the private CAN BUS through the atmosphere lamp protocol.
[0078] In the processing flow of the resident mode, the scene task being executed can be cancelled, updated or newly created. To cancel the task, a clear instruction is sent to the atmosphere lamp in the scene scope to reset the state. To update the task, the attributes of the scene such as "color" and "brightness" are updated. To newly create the task, the obtained scene data is taken as a parameter to create a new task to execute the scene. In the process of executing the scene task, the control messages for the atmosphere lamp are converted through the music rhythm algorithm, the following vehicle speed algorithm and the stable breathing algorithm of the basic layer; at the same time, the signals from the scene mode processing flow are accepted to synchronize the atmosphere lamp occupation state, and the atmosphere lamp which has been occupied by the scene mode is filtered and not controlled.
[0079] Figure 5 The scene mode processing flowchart of the present application is shown, and the flow includes:
[0080] Step S221, judging whether there is a running scene, if not, going to step S228, if yes, going to step S222;
[0081] Step S222, comparing with the running scene one by one to judge whether the scopes are the same, if yes, going to step S223, if not, going to step S228;
[0082] Step S223, comparing the priorities, if the priority of the obtained scene data is smaller than the priority of the running scene, the obtained scene data is not executed, otherwise, going to step S224;
[0083] Step S224, judging whether the scene serial number of the running scene is consistent with the scene serial number of the obtained scene data, if yes, going to step S225, if not, going to step S226;
[0084] Step S225, updating the running scene with the obtained scene data, and then going to step S229;
[0085] Step S226, cancelling the running scene and sending a clear instruction;
[0086] Step S227, sending a signal of atmosphere lamp release to the resident mode processing flow;
[0087] Step S228, creating a new task by using the acquired scene data;
[0088] Step S229, executing the new task while sending a signal of atmosphere lamp occupation to the resident mode processing flow;
[0089] Step S230, converting the scene data into a control message for the atmosphere lamp by matching the resource library with the scene serial number;
[0090] Step S231, sending the control message to the private CAN BUS through the atmosphere lamp protocol.
[0091] In the scene mode processing flow, firstly, it is judged whether there is a running scene, if not, the scene A corresponding to the acquired scene data is taken as a parameter to create a new task to execute a new scene A. If there is, it is compared with the running scene one by one, if the scopes are not the same, the data of the scene A is taken as a parameter to create a new task to execute a new scene; if the scopes are the same, the scene priorities are compared, if the priority of the scene A is less than that of the current running scene, the scene A is discarded and not executed; if the scope and the priority are the same and the scene ID is consistent, the attributes of the ID scene such as "color", "brightness", "execution time" and the like are directly updated; if the scope is the same and the priority level of the scene A is greater than that of the running scene, the current scene task will be directly cancelled, a message of atmosphere lamp release is sent to the resident mode processing flow, and finally a new task is created to execute a new scene A. In the process of executing the scene task, the resource library of the basic layer is matched and converted into a control message for the atmosphere lamp, and a message of atmosphere lamp occupation is sent to the resident mode processing flow; after the task execution is completed, a message of atmosphere lamp release also needs to be sent to the resident mode processing flow.
[0092] Further, in the present application, the atmosphere lamp protocol sends a control message to the private CAN BUS to control the corresponding atmosphere lamp. Here, we select the ISO 14229-2 protocol standard, that is, the commonly used UDS protocol. It solves the problem that the classic CAN data layer can only support 8 bytes, and the maximum capacity of ISO 14229 reaches 4096 bytes, which perfectly carries the data and commands required for atmosphere lamp control. The following is the basic format of the communication message.
[0093]
[0094] Message ID: 2 bytes, SOC and atmosphere lamp communicate through private CAN, and the CAN message ID of all atmosphere lamps is set to 0x0001.
[0095] Device Type: 1 byte, 00 for light strip, 01 for atmosphere light matrix.
[0096]
[0097]
[0098] Device ID: 1 byte, indicating the number of this type of device.
[0099] Device ID Ambilight 00 ML-Light 01 MR-Light 02 L-Light 03 FL-Light 04 FR-Light 05 RL-Light 06 RR-Light
[0100] Data Length: 2 bytes, indicating the length of data carried by this frame. For light strip control, only a single frame is needed to control a certain light strip, but for 8x8 matrix control, 256 (4x64) bytes of data need to be carried.
[0101] Type Data Length Ambilight Strip 0004 Ambilight Matrix 0100
[0102] Brightness: 1 byte, 00-FF, 00 for off state.
[0103] R, G, B: each 1 byte, respectively representing red, green and blue, with a value range of 00-FF.
[0104] Specifically, if the device type is 00 light strip, the corresponding data length is 0004, and the next 4 bytes indicate the control of the atmosphere light strip. If the device type is 01 matrix, the corresponding data length is 0100, and the next 256 (4x64) bytes indicate the control of the 64 light beads of the atmosphere light matrix panel in the order of first row scanning and then column scanning. The first 4 bytes represent the first light bead, the second 4 bytes represent the second light bead, and so on.
[0105] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be instructed by programs to complete the related hardware, and the programs can be stored in a computer readable storage medium. The above-mentioned control or implementation of the switching function is realized by a controller, and the control unit can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The above-mentioned memory can be a built-in storage device of the terminal, such as a hard disk or a memory. The system of the present application also includes a memory, and the memory can also be an external storage device of the system, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory can also include an internal storage unit of the system and an external storage device, for storing computer programs and other required programs and information. The memory can also be used to temporarily store information that has been output or will be output.
[0106] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A smart ambient light control method based on an intelligent cockpit, characterized in that, Comprise: Step S11, listen to the input of internal signals and external signals, and classify the signals according to trigger conditions; Step S12, determine scene data in a scene pool according to the signal type and input data, the parameters of the scene data including mode, scene serial number, scene name, priority, trigger condition, scope, display effect, and duration; And Step S2, convert the scene data into atmosphere lamp control data, and send a message to control the corresponding atmosphere lamp through the atmosphere lamp protocol; The mode includes a resident mode and a scene mode, in step S2, determine the mode according to the scene data, if it is the resident mode, process it through the resident mode processing flow, if it is the scene mode, process it through the scene mode processing flow, if it includes both the resident mode and the scene mode, synchronize the occupation state of the atmosphere lamp to the resident mode processing flow when processing the scene mode processing flow, the resident mode processing flow filters the atmosphere lamp occupied by the scene mode and does not control it; The resident mode processing flow includes: step S211, determine whether there is an executing resident mode task, if not, go to step S212, if yes, determine whether the scene serial number of the executing resident mode task is consistent with the scene serial number of the scene data obtained in step S1, if consistent, update the executing resident mode task with the scene data, if not consistent, cancel the executing resident mode task, send a clear instruction, and go to step S212; step S212, create and execute a new task with the obtained scene data; step S213, match the corresponding resident mode algorithm in the resource library with the scene serial number, convert the scene data into control messages for the atmosphere lamp; step S214, determine whether there is a signal from the scene mode processing flow, if yes, filter the atmosphere lamp occupied by the scene mode; step S215, send the control message to the private CAN BUS through the atmosphere lamp protocol; The scene mode processing flow comprises: step S221, judging whether there is a running scene, if not, proceeding to step S228, if yes, proceeding to step S222; step S222, comparing with the running scene one by one, judging whether the scopes are same, if yes, proceeding to step S223, if not, proceeding to step S228; step S223, comparing the priorities, if the priority of the acquired scene data is less than the priority of the running scene, the acquired scene data is not executed, otherwise, proceeding to step S224; step S224, judging whether the scene serial number of the running scene is consistent with the scene serial number of the acquired scene data, if yes, proceeding to step S225, if not, proceeding to step S226; step S225, updating the running scene by using the acquired scene data, and then proceeding to step S229; step S226, canceling the running scene, and sending a clearing instruction; step S227, sending a signal of atmosphere lamp release to the resident mode processing flow; step S228, creating a new task by using the acquired scene data; step S229, executing the new task, and sending a signal of atmosphere lamp occupation to the resident mode processing flow; step S230, converting the scene data into a control message of the atmosphere lamp by using the scene serial number to match the resource library; step S231, sending the control message to the private CAN BUS through the atmosphere lamp protocol.
2. The method of claim 1, wherein, Before the step S11, further comprising: Step S0, integrating internal signals and external signals to generate a scene pool.
3. The method of claim 1, wherein, The control message comprises a message ID, a device type, a device ID, a data length, a brightness, an R value, a G value and a B value.
Citation Information
Patent Citations
Vehicle multi-mode atmosphere lamp control system and method
CN110949248A
Vehicle atmosphere lamp control system and control method thereof
CN112040619A