Vehicle light control method, device, electronic equipment and vehicle

By adjusting and merging the initial scenarios and function priorities for headlight control, the control confusion problem during multiple requests is resolved, fast and accurate headlight control is achieved, and user safety and experience are improved.

CN119550908BActive Publication Date: 2025-09-19GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411892494.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-09-19
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

When receiving multiple headlight control requests, the headlight control priority standards in the prior art are inconsistent, resulting in control confusion and affecting user safety and experience.

Method used

By obtaining the initial scene priority and function priority, adjusting them using preset rules to make them consistent, and merging the adjusted scene priority and function priority to obtain the target priority, the headlights are controlled according to the consistent target priority.

Benefits of technology

It achieves fast and accurate control of multiple headlight control requests, avoids confusion, ensures user safety and experience, and reduces the amount of calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119550908B_ABST
    Figure CN119550908B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of vehicle control technology, and provides a headlight control method, device, electronic device, and vehicle. The method includes: obtaining the initial scene priority and initialization function priority of the headlight control method; wherein the priority standards of the initial scene priority and the initialization function priority are inconsistent; adjusting the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and adjusting the initial function priority based on a second preset rule to obtain an adjusted function priority; merging the adjusted scene priority and the adjusted function priority to obtain a target priority; and controlling the headlights according to the target priority. In this way, the headlight control request to be executed can be determined from multiple headlight control requests according to the target priority, thereby avoiding headlight control confusion and ensuring user safety and experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a vehicle light control method, device, electronic equipment, and vehicle. Background Art

[0002] With the development of the automotive industry, vehicle lighting can be triggered and controlled through vehicle functions and application service scenarios. However, when multiple lighting control requests are received, the priority standards of vehicle functions and application service scenarios are inconsistent, resulting in lighting control confusion, affecting user safety and experience.

[0003] In view of this, how to avoid confusion in headlight control when receiving multiple headlight requests has become a technical problem that needs to be solved urgently. Summary of the Invention

[0004] In view of this, the purpose of the present disclosure is to provide a vehicle light control method, device, electronic device and vehicle to solve the problem of vehicle light control confusion when receiving multiple vehicle light requests in the prior art.

[0005] Based on the above objectives, a first aspect of the present disclosure provides a vehicle light control method, the method comprising:

[0006] Obtaining an initial scene priority and an initialization function priority of a vehicle light control mode; wherein priority standards of the initial scene priority and the initialization function priority are inconsistent;

[0007] Adjusting the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and adjusting the initial function priority based on a second preset rule to obtain an adjusted function priority;

[0008] Merging the adjustment scenario priority and the adjustment function priority to obtain a target priority;

[0009] The vehicle lights are controlled according to the target priorities.

[0010] Based on the same inventive concept, a second aspect of the present disclosure provides a vehicle light control device, comprising:

[0011] an acquisition module configured to acquire an initial scene priority and an initialization function priority of a vehicle light control mode; wherein priority standards of the initial scene priority and the initialization function priority are inconsistent;

[0012] an adjustment module configured to adjust the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and to adjust the initial function priority based on a second preset rule to obtain an adjusted function priority;

[0013] a merging module configured to merge the adjustment scenario priority and the adjustment function priority to obtain a target priority;

[0014] The control module is configured to control the vehicle lights according to the target priority.

[0015] Based on the same inventive concept, the third aspect of the present disclosure proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.

[0016] Based on the same inventive concept, a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium, which stores computer instructions for causing a computer to execute the method described above.

[0017] Based on the same inventive concept, the fifth aspect of the present disclosure proposes a vehicle, which includes the vehicle light control device described in the second aspect or the electronic device described in the third aspect or the storage medium described in the fourth aspect.

[0018] As can be seen from the foregoing, the present disclosure provides a vehicle light control method, apparatus, electronic device, and vehicle. An initial scene priority and initialization function priority for a vehicle light control mode are obtained; wherein the initial scene priority and initialization function priority have different priority criteria. The initial scene priority is adjusted based on a first preset rule to obtain an adjusted scene priority, and the initial function priority is adjusted based on a second preset rule to obtain an adjusted function priority. Thus, by adjusting the initial scene priority and initialization function priority, the obtained adjusted scene priority and adjusted function priority have the same criteria. The adjusted scene priority and adjusted function priority are merged to obtain a target priority. Vehicle lights are controlled according to the target priority. Because the adjusted scene priority and adjusted function priority have the same criteria, the merged target priority has the same criteria. When multiple vehicle light control requests are received, the vehicle light control request with the consistent target priority can be directly determined from the multiple vehicle light control requests for priority response, thereby avoiding vehicle light control confusion and ensuring user safety and user experience. Furthermore, there is no need to perform multiple comparisons of multiple priorities to determine the vehicle light control request with the highest priority response, enabling faster and more accurate vehicle light control and reducing computational complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a flow chart of a vehicle light control method according to an embodiment of the present disclosure;

[0021] Figure 2 Schematic diagram of the interaction between the A core and the M core according to an embodiment of the present disclosure;

[0022] Figure 3 This is a schematic diagram of the first interruption in the light-on state according to an embodiment of the present disclosure;

[0023] Figure 4 This is a schematic diagram of a second interruption in a light-on state according to an embodiment of the present disclosure;

[0024] Figure 5 This is a schematic diagram of the first interruption in the light-off state according to an embodiment of the present disclosure;

[0025] Figure 6 This is a schematic diagram of a second interruption in the light-off state according to an embodiment of the present disclosure;

[0026] Figure 7 This is a schematic diagram of the third interruption in the light-off state according to an embodiment of the present disclosure;

[0027] Figure 8 A schematic diagram of actual lighting control instruction generation according to an embodiment of the present disclosure;

[0028] Figure 9 is a schematic structural diagram of a vehicle light control device according to an embodiment of the present disclosure;

[0029] Figure 10 Schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0031] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the usual meanings understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative position relationships. When the absolute position of the described object changes, the relative position relationship may also change accordingly.

[0032] Based on the description of the background technology, the current vehicle industry is developing rapidly towards intelligence, digitization, networking, and service. On the one hand, the vehicle's electrical and electronic (EE) architecture has begun to evolve from the traditional distributed architecture to the "central domain controller + regional controller" architecture. The high-computing power, high-bandwidth, and low-coupling EE architecture has made it possible for "software-defined vehicles". On the other hand, software has begun to adopt a service-oriented architecture (SOA) service-oriented design. Under the SOA architecture, services can be flexibly deployed, can be called across domains, services can be reused, and services are highly decoupled. Through service orchestration, complex functional scenarios can be quickly implemented, and the software can be upgraded independently, making vehicle-side function upgrades more flexible. Therefore, the SOA architecture can improve software development efficiency, reduce development and maintenance costs, and realize the various functions of the vehicle side.

[0033] With the application of SOA technology in the automotive industry, the turn signal function in the vehicle's external lighting system no longer only includes the traditional turn signal functions of the vehicle itself, such as (switch function, AVP function, L3 function, car lock function, anti-theft alarm function, thermal runaway alarm function, etc. to control the turn signal). New scene mode control functions have also been added, such as (V2L discharge flashing light scene, sentry mode scene, child mode scene, etc. to control the turn signal). Under the current SOA architecture, the turn signal functions are deployed in the A core (scene core) and the M core (function core) respectively. Among them, the A core mainly deploys the basic turn signal service to provide turn signal control functions for upper-level applications; the M core mainly deploys the original vehicle function of the turn signal. If the interaction mechanism between the original vehicle function control turn signal and the scene control turn signal is not handled properly, it will cause the turn signal to flash chaotically. Not only will the interaction effect of the A core / M core turn signal functions not affecting each other not be achieved, but it will also cause harm to users and other traffic participants.

[0034] Among them, V2L (Vehicle to Load) is an onboard power output technology that allows the vehicle's power battery to convert electricity into household 220V / 50Hz AC power and output it to external devices through the charging socket. This makes the vehicle a mobile power station, providing great convenience for outdoor power use.

[0035] The A core is responsible for human-computer interaction tasks such as communication and display, while the M core handles tasks with high real-time requirements such as sampling and protection. The two cores exchange various information such as analog signals, switching values, and recorded waveform files. The difference between the A core and the M core lies in the different processing stages.

[0036] As mentioned above, how to avoid headlight control confusion when receiving multiple headlight requests has become an important research issue.

[0037] Based on the above description, if Figure 1 As shown, the vehicle light control method proposed in this embodiment includes:

[0038] Step 101 : Acquire an initial scene priority and an initialization function priority of a vehicle light control mode; wherein priority standards of the initial scene priority and the initialization function priority are inconsistent.

[0039] In specific implementation, the vehicle light control mode includes a scene triggering mode and a function triggering mode, wherein the initial scene priority and the initial function priority are pre-stored.

[0040] When multiple light control requests are received in scene-triggered mode, the target scene request with priority response can be determined from the multiple light control requests based on the initial scene priority. When multiple light control requests are received in function-triggered mode, the target function request with priority response can be determined from the multiple light control requests based on the initial function priority.

[0041] However, when multiple headlight control requests are received including scene triggering modes and function triggering modes, the target headlight control request for priority response cannot be determined from the multiple headlight control requests due to the inconsistency of the priority standards of the initial scene priority and the initialization function priority.

[0042] Therefore, it is necessary to generate a standard consistent target priority so that when multiple headlight control requests received include scene triggering mode and function triggering mode, the target headlight control request with priority response can be determined from the multiple headlight control requests according to the standard consistent target priority.

[0043] Figure 2 Schematic diagram of the interaction between the A core and the M core in the embodiment of the present disclosure. Figure 2As shown, the A-core scenario-controlled turn signal includes Sentry Mode, Scenario A, and Scenario B. The A-core pre-stores an initial scenario priority and can prioritize target scenario requests from multiple scenario-triggered light control requests based on this initial scenario priority. The M-core's original vehicle-controlled turn signal includes original vehicle turn signal functions such as anti-theft, PLG, and switch. The M-core pre-stores an initial function priority and can prioritize target function requests from multiple function-triggered light control requests based on this initial function priority.

[0044] Step 102: Adjust the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and adjust the initial function priority based on a second preset rule to obtain an adjusted function priority.

[0045] In a specific implementation, the first preset rule is a preset rule for adjusting the initial scene priority. The second preset rule is a preset rule for adjusting the initial function priority.

[0046] The initial scene priority is adjusted based on the first preset rule to obtain the adjusted scene priority, and the initial function priority is adjusted based on the second preset rule to obtain the adjusted function priority. In this way, the standards for adjusting the scene priority and adjusting the function priority are consistent, so that the target priority is obtained based on the adjusted scene priority and the adjusted function priority.

[0047] Step 103: Combine the adjustment scenario priority and the adjustment function priority to obtain a target priority.

[0048] In specific implementation, the adjustment scenario priority and the adjustment function priority are integrated to obtain the target priority. For example, the adjustment scenario priority is inserted into the adjustment function priority to obtain the target priority.

[0049] Step 104: Control the vehicle lights according to the target priority.

[0050] In specific implementation, when the multiple headlight control requests received include scene triggering mode and function triggering mode, the target headlight control request with priority response can be determined from the multiple headlight control requests according to the target priority, and the headlights can be controlled according to the target headlight control request.

[0051] Through the above embodiment, an initial scene priority and an initialization function priority for a headlight control mode are obtained; the initial scene priority and the initialization function priority have different priority criteria. The initial scene priority is adjusted based on a first preset rule to obtain an adjusted scene priority, and the initial function priority is adjusted based on a second preset rule to obtain an adjusted function priority. Thus, by adjusting the initial scene priority and the initialization function priority, the obtained adjusted scene priority and the obtained adjusted function priority are brought into line with each other. The adjusted scene priority and the adjusted function priority are merged to obtain a target priority. The headlights are controlled according to the target priority. Because the adjusted scene priority and the adjusted function priority have the same criteria, the merged target priority has the same criteria. When multiple headlight control requests are received, the headlight control request with the consistent target priority can be directly determined from the multiple headlight control requests for priority response, thereby avoiding headlight control confusion and ensuring user safety and a better user experience. Furthermore, there is no need to compare multiple priorities to determine the headlight control request for priority response, enabling faster and more accurate headlight control and reducing computational complexity.

[0052] The initial scene priority is adjusted based on the first preset rule to obtain the adjusted scene priority, and the initial function priority is adjusted based on the second preset rule to obtain the adjusted function priority. The specific process is as follows:

[0053] In some embodiments, step 102 includes:

[0054] Step 1021 : Convert the initial scene priorities from high to low into odd-numbered scene priorities from low to high, and use the odd-numbered scene priorities as the adjusted scene priorities.

[0055] Step 1022 : Convert the initial function priority from low to high into an even function priority from low to high, and use the even function priority as the adjusted function priority.

[0056] During specific implementation, the order of the initial scene priority is from high to low, and the order of the initial function priority is from low to high. The standards of the initial scene priority and the initial function priority are inconsistent. In order to make the standards of the adjustment scene priority and the adjustment function priority consistent, the initial scene priority and the initial function priority are uniformly adjusted to be arranged from low to high. In order to facilitate the merging of the adjustment scene priority and the adjustment function priority, the order of the adjustment scene priority is set to odd numbers, and the order of the adjustment function priority is set to even numbers.

[0057] Specifically, the initial scene priorities, which are ranked from high to low, are converted to odd-numbered scene priorities, which are ranked from low to high. The odd-numbered scene priorities are then used as the adjusted scene priorities. The initial scene priorities are converted to adjusted scene priorities using the formula: Adjusted scene priority = (Total number of scene triggering methods - Initial scene priority) × 2 + 1. Table 1 shows a conversion table for scene priorities.

[0058] Table 1 Conversion table of scene priorities

[0059] Scene triggering method in A core Initial scene priority Adjust scene priority Scenario A 10 1 Scenario B 9 3 Scenario C 8 5 Scenario D 7 7 Scenario E 6 9 Scenario F 5 11 Scenario G 4 13 Scene H 3 15 Scenario I 2 17 Scene J 1 19

[0060] Specifically, the initial function priority (from low to high) is converted to an even-numbered function priority (from low to high), and the even-numbered function priority is used as the adjusted function priority. The initial function priority is converted to the adjusted function priority using the formula: Adjusted function priority = Initial function priority × 2. Table 2 shows a function priority conversion table.

[0061] Table 2 Conversion table of function priority

[0062]

[0063]

[0064] Step 103 includes: inserting the adjustment scenario priority into the adjustment function priority to obtain the target priority. As shown in Table 3, Table 3 is a priority table corresponding to the target priority.

[0065] Triggering method in M ​​core Target Priority Scenario A 1 Function 1 2 Scenario B 3 Function 2 4 Scenario C 5 Function 3 6 Scenario D 7 Function 4 8 Scenario E 9 Function 5 10 Scenario F 11 Function 6 12 Scenario G 13 Feature 7 14 Scene H 15 Function 8 16 Scenario I 17 Function 9 18 Scene J 19 Feature 10 20

[0066] Through the above scheme, the initial scene priority from high to low is converted into the odd scene priority from low to high, and the odd scene priority is used as the adjustment scene priority. The initial function priority from low to high is converted into the even function priority from low to high, and the even function priority is used as the adjustment function priority. In this way, the adjustment scene priority and the adjustment function priority are both arranged from low to high, so that the standards of the adjustment scene priority and the adjustment function priority are consistent. In addition, since the adjustment scene priority is the odd scene priority and the adjustment function priority is the even function priority, it is convenient to merge the adjustment scene priority and the adjustment function priority.

[0067] According to the target priority, the target light control request with priority response is determined from the received light control requests, and the lights are controlled according to the target light control request corresponding to the target triggering mode. The specific process is as follows:

[0068] In some embodiments, step 104 includes:

[0069] Step 1041: Utilize the scene core to receive a scene-triggered vehicle light control request, and record the scene-triggered vehicle light control request as a scene request.

[0070] Step 1042: Utilize the function core to receive the vehicle light control request in the function triggering manner, and record the vehicle light control request in the function triggering manner as a function request.

[0071] Step 1043: Determine a target scene request from the scene requests, and control the scene core to send the target scene request to the function core.

[0072] Step 1044, based on the target priority stored in the functional core, determine the target trigger mode from the scene trigger mode corresponding to the target scene request and the function trigger mode corresponding to the function request, and control the headlights according to the target headlight control request corresponding to the target trigger mode.

[0073] In specific implementations, the scenario core (i.e., the A core) is used to receive scene-triggered headlight control requests, and the function core (i.e., the M core) is used to receive function-triggered headlight control requests. Scenario triggering includes at least one of the following: V2L flashing light scenario, sentry mode scenario, and child mode scenario. Function triggering includes at least one of the following: switch function, AVP function, L3 function, vehicle lock function, anti-theft alarm function, and thermal runaway alarm function.

[0074] The scene core receives a scene-triggered headlight control request and records it as a scene request. The function core receives a function-triggered headlight control request and records it as a function request. A target scene request is determined from the scene request, and the scene core is controlled to send the target scene request to the function core. Based on the target priority stored in the function core, a target triggering mode is determined from the scene triggering mode corresponding to the target scene request and the function triggering mode corresponding to the function request, and the headlights are controlled according to the target headlight control request corresponding to the target triggering mode.

[0075] For example, core A receives a request to turn on the lights for scene A, and core M receives a request to turn on the lights for function 1. Core A sends the request to core M. Based on the target priorities stored in core M, core M determines that scene A has a higher priority than function 1, selects scene A as the target trigger mode, and controls the lights according to scene A's request to turn on the lights.

[0076] Through the above solution, based on the target priority stored in the function core, the target trigger mode is determined from the scene trigger mode corresponding to the target scene request and the function trigger mode corresponding to the function request, and the lights are controlled according to the target light control request corresponding to the target trigger mode. In this way, the target light control request with the higher trigger mode priority can be determined from the target scene request and function request based on the standard and consistent target priority, so that the target light control request with the higher priority can be responded to first.

[0077] Determine the target scene request from the scene request and control the scene core to send the target scene request to the function core. The specific process is as follows:

[0078] In some embodiments, step 1043 includes:

[0079] Step 1043A: Determine whether there are multiple scene requests.

[0080] Step 1043B: In response to determining that there are multiple scene requests, determine whether the adjustment function priority in the target priority is higher than the adjustment scene priority.

[0081] Step 1043C, in response to determining that the adjustment function priority in the target priority is higher than the adjustment scene priority, determine the last triggered scene request according to the trigger time of multiple scene requests, use the last triggered scene request as the target scene request, and control the scene core to send the target scene request to the function core.

[0082] In specific implementation, when the scene core receives multiple requests for headlight control in a scene-triggered manner, and the adjustment function priority in the target priority is higher than the adjustment scene priority, the last triggered scene request is determined according to the triggering time of multiple scene requests, the last triggered scene request is used as the target scene request, and the scene core is controlled to send the target scene request to the function core.

[0083] For example, core A receives headlight on requests for scenes A, B, and C, and core M receives a headlight on request for function 1. Core A determines the last triggered headlight on request from scene C among the multiple scene requests and sends it to core M. Based on the target priority stored in core M, core M determines that function 1 has a higher priority than scene C, selects function 1 as the target trigger mode, and controls the headlights according to function 1's headlight on request.

[0084] With this solution, when the scene core receives multiple scene-triggered headlight control requests, and the function adjustment priority in the target priority list is higher than the scene adjustment priority list, the last triggered scene request among the multiple scene requests is used as the target scene request. This allows the function core to only determine the target headlight control request from the target scene request and function request, eliminating the need to compare multiple scene requests and function requests. This reduces the core's computational workload and improves processing efficiency.

[0085] Based on the target priority stored in the function core, the target trigger mode is determined from the scene trigger mode corresponding to the target scene request and the function trigger mode corresponding to the function request, and the headlights are controlled according to the target headlight control request corresponding to the target trigger mode. The specific process is as follows:

[0086] In some embodiments, step 1044 includes:

[0087] Step 1044A: Obtain the scene priority instruction and the scene control instruction in the target scene request, and perform judgment and processing on the scene priority instruction and the scene control instruction.

[0088] In specific implementations, the target scene request includes a scene priority instruction and a scene control instruction. The scene priority instruction is used to determine the priority of the target scene request. The scene priority instruction has two states: valid and invalid. The valid states include occupied (Occupy) and equal. The scene control instruction is used to determine whether the target scene request is executed. The scene control instruction has two states: valid and invalid.

[0089] Each time the M core receives a scene priority command = 0x12: Occupy in a target scene request from the A core, it starts counting. If it doesn't receive another Occupy priority command within 2 seconds, it determines that the scene priority command Occupy is invalid. The M core defaults to the scene priority command Equa and assumes that the A core has no target scene request. Headlight control is based on the M core's function request. If it receives another Occupy priority command within 2 seconds, the countdown is reset and the scene priority command Occupy remains valid. If it receives another valid scene priority command within 2 seconds, it determines that the priority has switched normally and the scene priority command Occupy is no longer considered to have timed out.

[0090] Step 1044B, in response to determining that the scene priority instruction is valid and the scene control instruction is valid, based on the target priority stored in the functional core, determine the target trigger mode from the scene trigger mode corresponding to the scene request and the function trigger mode corresponding to the function request, and control the headlights according to the target headlight control request corresponding to the target trigger mode.

[0091] In specific implementation, when the scene priority instruction is valid and the scene control instruction is valid, it means that the priority of the target scene request can be determined and the target scene request can be executed. Then, based on the target priority stored in the function core, the target trigger mode is determined from the scene trigger mode corresponding to the scene request and the function trigger mode corresponding to the function request, and the headlights are controlled according to the target headlight control request corresponding to the target trigger mode.

[0092] For example, core A receives a headlight turn-on request for scene A, and core M receives a headlight turn-on request for function 1. When the scene priority instruction and the scene control instruction in the headlight turn-on request for scene A are valid, based on the target priority stored in the function core, it is determined that scene A has a higher priority than function 1, and scene A is used as the target trigger mode. The headlights are controlled according to the headlight turn-on request for scene A.

[0093] Alternatively, in step 1044C, in response to determining that the scene priority instruction is valid and the scene control instruction is invalid, the function triggering mode corresponding to the function request is used as the target triggering mode, and the vehicle lights are controlled according to the function request.

[0094] In specific implementation, when the scene priority instruction is valid and the scene control instruction is invalid, it means that the priority of the target scene request can be determined but the target scene request cannot be executed. Then the function triggering method corresponding to the function request will be used as the target triggering method, and the car lights will be controlled according to the function request.

[0095] For example, core A receives a headlight turn-on request for scene A, and core M receives a headlight turn-on request for function 1. If the scene priority command in the headlight turn-on request for scene A is valid and the scene control command is invalid, function 1 is used as the target trigger mode, and the headlights are controlled according to the headlight turn-on request for function 1.

[0096] Alternatively, in step 1044D, in response to determining that the scene priority instruction is occupied and the scene control instruction is invalid, the function triggering mode corresponding to the function request is used as the target triggering mode, the headlights are controlled according to the function request, and the function requests received during the priority instruction occupied time period are not responded to.

[0097] In specific implementation, when the scene priority instruction is occupied (Occupy) and the scene control instruction is invalid, it means that the priority of the target scene request is occupied but the target scene request cannot be executed, then the function triggering method corresponding to the function request is used as the target triggering method, and the headlights are controlled according to the function request, and the function requests received during the priority instruction occupation time period are not responded to.

[0098] For example, core A receives a light-on request for scene A, and core M receives a light-on request for function 1. If the scene priority command in scene A's light-on request is occupied and the scene control command is invalid, core A uses function 1 as the target trigger mode and controls the lights according to the light-on request for function 1. Core M also blocks light control requests from function trigger modes and does not respond to function requests received during the time period when the priority command is occupied.

[0099] Alternatively, in step 1044E, in response to determining that the scene priority instruction is invalid and the scene control instruction is valid, the function triggering mode corresponding to the function request is used as the target triggering mode, the headlights are controlled according to the function request, and the priority corresponding to the target scene request is set to empty.

[0100] In specific implementation, when the scene priority instruction is invalid and the scene control instruction is valid, it means that the priority of the target scene request cannot be determined but the target scene request can be executed. Then the function triggering method corresponding to the function request is used as the target triggering method, and the headlights are controlled according to the function request, and the priority corresponding to the target scene request is set to empty.

[0101] For example, core A receives a headlight turn-on request for scene A, and core M receives a headlight turn-on request for function 1. If the scene priority command in scene A's headlight turn-on request is invalid and the scene control command is valid, function 1 is used as the target trigger mode and the headlights are controlled according to function 1's headlight turn-on request. At the same time, the priority level of scene A's headlight turn-on request is set to null (Equal).

[0102] Through the above scheme, when the scene priority instruction is invalid or the scene control instruction is invalid, the function triggering method corresponding to the function request can be used as the target triggering method, and the headlights can be controlled according to the function request, avoiding errors caused by controlling the headlights according to the target scene request.

[0103] After controlling the lights according to the target light control request corresponding to the target trigger mode, if another light control request is received, it is necessary to determine whether to interrupt the currently executed target light control request. The specific process is as follows:

[0104] In some embodiments, after step 1044, the method further includes:

[0105] Step 1045: In response to determining that the headlight control request is received again, the headlight control request received again is used as an updated headlight control request, an update trigger mode corresponding to the updated headlight control request is determined, and based on the target priority, it is determined whether the priority of the update trigger mode is higher than that of the target trigger mode.

[0106] Step 1046 , in response to determining that the update trigger mode has a higher priority than the target trigger mode, interrupting the target headlight control request according to a preset interruption mode, and controlling the headlights according to the update headlight control request.

[0107] In specific implementation, in the process of controlling the headlights according to the target headlight control request corresponding to the target trigger mode, when an update headlight control request is received and the update trigger mode has a higher priority than the target trigger mode, the target headlight control request is interrupted according to the preset interrupt mode, and the headlights are controlled according to the update headlight control request.

[0108] For example, in the process of controlling the headlights according to the target headlight control request corresponding to function 1, an update headlight control request corresponding to scene A is received. Based on the target priority, it is determined that the priority of scene A is higher than function 1. The target headlight control request corresponding to function 1 is interrupted according to the preset interruption method, and the headlights are controlled according to the update headlight control request corresponding to scene A.

[0109] Through the above scheme, when an update headlight control request is received and the update trigger mode has a higher priority than the target trigger mode, the target headlight control request can be interrupted, and the headlights can be controlled according to the update headlight control request, so that the vehicle control request can be switched to the update headlight control request with a higher priority, thereby avoiding the inability to switch to the update headlight control request with a higher priority during the execution of the target headlight control request, and improving the user experience.

[0110] When the currently executed target vehicle light control request needs to be interrupted, the interruption time of the target vehicle light control request is determined, and the target vehicle light control request is interrupted at the determined interruption time. The specific process is as follows:

[0111] In some embodiments, step 1046 includes:

[0112] Step 1046A: The moment when the request to update the vehicle light control is received is used as the current moment, and the vehicle light status at the current moment is determined.

[0113] Step 1046B, in response to determining that the current state of the headlights is the on state, controlling the headlights according to the target headlight control request, interrupting the target headlight control request at the moment when the headlights are switched to the off state, and controlling the headlights according to the updated headlight control request.

[0114] In specific implementation, when the current headlight state at the moment of receiving the update headlight control request is the headlight on state, the headlight is first controlled according to the target headlight control request, and the target headlight control request is interrupted at the switching moment when the headlight is switched to the headlight off state, and the headlight is controlled according to the update headlight control request.

[0115] When the current headlight state is on, the update headlight control request interrupts the target headlight control request, including two situations: the frequency of the update headlight control request is higher than the frequency of the target headlight control request, and the frequency of the update headlight control request is lower than the frequency of the target headlight control request.

[0116] Figure 3 Schematic diagram of the first interruption in the light-on state of the embodiment of the present disclosure. Figure 3 As shown, the high-frequency update headlight control request interrupts the low-frequency target headlight control request, the period of the target headlight control request is 350ms, and the period of the update headlight control request is 200ms. If the update headlight control request is received at the 100th ms when the target headlight control request is in the on state, the target headlight control request will be interrupted after 250ms (the switching moment when the headlight is switched to the off state), and the headlights will be controlled according to the update headlight control request.

[0117] Figure 4 Schematic diagram of the second interruption in the light-on state of the embodiment of the present disclosure. Figure 4 As shown, the low-frequency update headlight control request interrupts the high-frequency target headlight control request, the period of the target headlight control request is 150ms, and the period of the update headlight control request is 200ms. If the update headlight control request is received at 50ms when the target headlight control request is in the on-state, the target headlight control request will be interrupted 100ms later (the switching moment when the headlight is switched to the off-state), and the headlights will be controlled according to the update headlight control request.

[0118] Alternatively, in step 1046C, in response to determining that the vehicle light state at the current moment is the lights-off state, determining that the lights-off time during which the vehicle lights are in the lights-off state is greater than a preset time threshold, interrupting the target vehicle light control request at the lights-off time, and controlling the vehicle lights according to the updated vehicle light control request.

[0119] In specific implementation, when the current state of the headlights at the moment of receiving the request to update the headlight control is the off state, it is determined that the off time of the headlights in the off state is greater than the preset time threshold, the target headlight control request is interrupted at the off time, and the headlights are controlled according to the update headlight control request.

[0120] When the current headlight state is off, the update headlight control request interrupts the target headlight control request, including two situations: the frequency of the update headlight control request is higher than the frequency of the target headlight control request, and the frequency of the update headlight control request is lower than the frequency of the target headlight control request.

[0121] Figure 5 Schematic diagram of the first interruption in the light-off state of the embodiment of the present disclosure. Figure 5 As shown, the high-frequency update headlight control request interrupts the low-frequency target headlight control request, the period of the target headlight control request is 350ms, the period of the update headlight control request is 200ms, the preset duration threshold is 200ms, and the update headlight control request is received at the 300th ms when the target headlight control request is in the lights-off state. Since the lights-off duration at the current moment when the update headlight control request is received is greater than the preset duration threshold, the current moment is directly used as the lights-off moment, and the target headlight control request is directly interrupted at the current moment when the update headlight control request is received, and the headlights are controlled according to the update headlight control request.

[0122] Figure 6 Schematic diagram of the second interruption in the light-off state of the embodiment of the present disclosure. Figure 6 As shown, the high-frequency update headlight control request interrupts the low-frequency target headlight control request, the period of the target headlight control request is 350ms, the period of the update headlight control request is 200ms, the preset duration threshold is 200ms, and the update headlight control request is received at the 100th ms when the target headlight control request is in the lights-off state. Since the lights-off duration at the current moment when the update headlight control request is received is less than the preset duration threshold, the target headlight control request is interrupted after 100ms (the lights-off moment when the lights-off duration reaches the preset duration threshold), and the headlights are controlled according to the update headlight control request.

[0123] Figure 7 Schematic diagram of the third interruption in the light-off state of the embodiment of the present disclosure. Figure 7 As shown, the low-frequency update headlight control request interrupts the high-frequency target headlight control request, the period of the target headlight control request is 200ms, the period of the update headlight control request is 350ms, the preset duration threshold is 200ms, and the update headlight control request is received 50ms after the target headlight control request is in the lights-off state. Since the lights-off duration at the current moment when the update headlight control request is received is less than the preset duration threshold, the target headlight control request is interrupted after 50ms (the lights-off moment when the lights-off duration reaches the preset duration threshold), and the headlights are controlled according to the update headlight control request.

[0124] With the above solution, when the vehicle light state is on at the moment the update light control request is received, the vehicle light is first controlled according to the target light control request. At the moment the vehicle light switches to the off state, the target light control request is interrupted, and the vehicle light is controlled according to the update light control request. This prevents the vehicle light from switching to the off state due to the update light control request, thereby preventing driving safety and damage to the vehicle light. When the vehicle light state is off at the moment the update light control request is received, the off-time determined to be longer than a preset time threshold is determined, and at the off-time, the target light control request is interrupted, and the vehicle light is controlled according to the update light control request. This prevents the vehicle light from switching to the update light control request shortly after being in the off state, thereby preventing the vehicle light from turning on again shortly after turning on again and damaging the vehicle light.

[0125] Through the above embodiment, an initial scene priority and an initialization function priority for a headlight control mode are obtained; the initial scene priority and the initialization function priority have different priority criteria. The initial scene priority is adjusted based on a first preset rule to obtain an adjusted scene priority, and the initial function priority is adjusted based on a second preset rule to obtain an adjusted function priority. Thus, by adjusting the initial scene priority and the initialization function priority, the obtained adjusted scene priority and the obtained adjusted function priority are brought into line with each other. The adjusted scene priority and the adjusted function priority are merged to obtain a target priority. The headlights are controlled according to the target priority. Because the adjusted scene priority and the adjusted function priority have the same criteria, the merged target priority has the same criteria. When multiple headlight control requests are received, the headlight control request with the consistent target priority can be directly determined from the multiple headlight control requests for priority response, thereby avoiding headlight control confusion and ensuring user safety and a better user experience. Furthermore, there is no need to compare multiple priorities to determine the headlight control request for priority response, enabling faster and more accurate headlight control and reducing computational complexity.

[0126] After step 104, the method further includes:

[0127] Step 201 : In response to determining that there are multiple vehicle light control requests, determine a triggering mode corresponding to each vehicle light control request.

[0128] During specific implementation, multiple vehicle light control requests may be received simultaneously or in sequence.

[0129] For example, when the first headlight control request, the second headlight control request and the third headlight control request are received in sequence, the first triggering mode corresponding to the first headlight control request, the second triggering mode corresponding to the second headlight control request and the third triggering mode corresponding to the third headlight control request are determined.

[0130] Step 202 : determining a target response request from the plurality of vehicle light control requests based on a response mode corresponding to the trigger mode, and controlling the vehicle light according to the target response request.

[0131] In a specific implementation, multiple response methods (arbitration logic) are pre-stored. Based on the triggering methods of multiple headlight control requests, a response method corresponding to the triggering method is determined from the pre-stored multiple response methods. Based on the response method corresponding to the triggering method, a target response request is determined from the multiple headlight control requests, and the headlights are controlled according to the target response request. The target response request is the request that has a priority response among the multiple headlight control requests.

[0132] In addition, the vehicle light control request includes at least one of the following: a position light control request, a low beam light control request, a high beam light control request, a daytime running light control request, a front fog light control request, a rear fog light control request, a corner light control request, and a turn signal control request.

[0133] For example, if the vehicle light control request is a low-beam control request, a target response request is determined from multiple low-beam control requests, and the vehicle's low-beam lights are controlled according to the target response request. If the vehicle light control request is a turn signal control request, a target response request is determined from multiple turn signal control requests, and the vehicle's turn signal is controlled according to the target response request.

[0134] Step 203: Based on the request content of the target response request, control the flag status corresponding to each trigger mode.

[0135] During specific implementation, the target response request includes: a headlight on request, a headlight off request, and a headlight continuous occupation request.

[0136] When the target response request is a light-on request, the flag bit state of the trigger mode corresponding to the target response request is switched to the running state, and the flag bit states of the trigger modes corresponding to other light control requests are switched to the stopped state; where the other light control requests are requests other than the target response request among the multiple light control requests. When the target response request is a light-off request, the flag bit states of the trigger modes corresponding to the multiple light control requests are switched to the stopped state.

[0137] Through the above solution, when there are multiple headlight control requests, the trigger mode corresponding to each headlight control request is determined. Based on the response mode corresponding to the trigger mode, a target response request is determined from the multiple headlight control requests, and the headlights are controlled according to the target response request. In this way, different trigger modes correspond to different response modes. The trigger mode based on the multiple headlight control requests can accurately determine the response mode, thereby determining the target response request that is prioritized from the multiple headlight control requests based on the response mode. This avoids situations where the target response request cannot be determined due to the lack of a response mode, further preventing confusion in headlight control. At the same time, users will not be unable to turn off the headlights or the lights will flash, ensuring user safety and user experience. Based on the request content of the target response request, the flag bit status corresponding to each trigger mode is controlled. This allows users to conveniently determine the trigger mode corresponding to the target response request that the headlights prioritize based on the flag bit status.

[0138] By judging whether the triggering mode of multiple headlight control requests is two triggering modes, the corresponding response mode is determined. The specific process is as follows:

[0139] In some embodiments, the triggering mode includes a scene triggering mode and / or a function triggering mode; step 202 includes:

[0140] Step 2021: Determine whether there are two triggering modes in the triggering mode.

[0141] Step 2022: In response to determining that there are two triggering modes, determine a target response request from the plurality of vehicle light control requests based on a first response mode.

[0142] Alternatively, in step 2023, in response to determining that one of the triggering modes exists, a target response request is determined from the plurality of vehicle light control requests based on a second response mode.

[0143] In a specific implementation, it is determined whether the triggering modes of the multiple headlight control requests include two or one triggering mode by judging whether the multiple headlight control requests include two triggering modes.

[0144] The first response mode is to determine the arbitration logic of the target response request from the multiple light control requests when the multiple light control requests are triggered in two modes. The second response mode is to determine the arbitration logic of the target response request from the multiple light control requests when the multiple light control requests are triggered in one mode.

[0145] When there are two triggering modes among the multiple vehicle light control requests, a first response mode is called from a plurality of pre-stored response modes, and a target response request is determined from the multiple vehicle light control requests based on the first response mode (a first arbitration strategy). When there is one triggering mode among the multiple vehicle light control requests, a second response mode is called from a plurality of pre-stored response modes, and a target response request is determined from the multiple vehicle light control requests based on the second response mode (a second arbitration strategy).

[0146] With the above solution, by judging whether there are two triggering modes in the triggering mode, different response modes can be called for different triggering modes to determine a target response request from multiple vehicle light control requests.

[0147] When there are two triggering modes among the multiple vehicle light control requests, a target response request is determined from the multiple vehicle light control requests based on the first response mode. The specific process is as follows:

[0148] In some embodiments, the triggering mode includes: a function triggering mode and a scene triggering mode; step 2022 includes:

[0149] Step 20221, in response to determining that there are two triggering modes in the triggering mode, based on the first response mode, determine the headlight control request of the functional triggering mode from the multiple headlight control requests, and determine the target response request from the headlight control request of the functional triggering mode.

[0150] In a specific implementation, when there are two triggering modes among the triggering modes of the multiple headlight control requests, indicating that the triggering modes of the multiple headlight control requests are function triggering mode and scene triggering mode, a target response request is determined from the multiple headlight control requests based on the first response mode (first arbitration strategy). The specific process is as follows:

[0151] In step 202211, multiple vehicle light control requests are divided into function vehicle light control requests in a function triggering manner and scene vehicle light control requests in a scene triggering manner.

[0152] Step 202212: Determine whether there is a headlight on request in the headlight control function request.

[0153] Step 202213: In response to determining that there is a light-on request in the functional light control request, the functional light control request corresponding to the light-on request is used as a target response request.

[0154] Step 202214: In response to determining that there is no vehicle light on request in the functional vehicle light control request, the functional vehicle light control request is used as a target response request.

[0155] When the triggering modes of multiple headlight control requests are function triggering mode and scene triggering mode, there are four situations: one function triggering mode and one scene triggering mode, one function triggering mode and multiple scene triggering modes, multiple function triggering modes and one scene triggering mode, and multiple function triggering modes and multiple scene triggering modes.

[0156] When multiple light control requests are triggered by one function trigger and one scene trigger. For example, when a light-on request for scene A and a light-on request for function a are received, the light-on request for function a is used as the target response request. For another example, when a light-on request for scene A and a light-off request for function a are received, the light-off request for function a is used as the target response request. For another example, when a light-off request for scene A and a light-on request for function a are received, the light-on request for function a is used as the target response request.

[0157] When multiple light control requests are triggered by one function trigger and multiple scenes trigger. For example, when a light on request for scene A, a light on request for scene B, a light on request for scene C, and a light on request for function A are received, the light on request for function A is used as the target response request.

[0158] When multiple light control requests are triggered by multiple function triggers and one scene trigger. For example, when receiving a light continuous occupation request for scene A, a light on request for function a, a light off request for function b, and a light off request for function c, the light on request for function a is treated as the target response request.

[0159] When multiple lighting control requests are triggered by multiple function triggering methods and multiple scene triggering methods, for example, when a lighting on request for scene A, a lighting on request for scene B, a lighting on request for function A, and a lighting off request for function C are received, the lighting on request for function A is used as the target response request.

[0160] With the above solution, when multiple headlight control requests are triggered by both function and scene modes, the first response mode is used to determine the headlight control request with the function trigger mode from the multiple headlight control requests, and then determine the target response request from the headlight control requests with the function trigger mode. This allows headlight control requests with the function trigger mode to be prioritized, and even when there is a conflict between the headlight function trigger mode and the headlight scene trigger mode, the headlight control request with the function trigger mode to be prioritized. This not only improves the user experience, but also prevents traffic accidents and ensures user safety.

[0161] In some embodiments, step 202213 includes:

[0162] Step 202213A, in response to determining that there is a headlight on request in the functional headlight control request, determine the last triggered scene headlight control request according to the triggering time of the scene headlight control request, and judge whether the last triggered scene headlight control request is a headlight on request.

[0163] Step 202213B: In response to determining that the last triggered scene light control request is a light-on request, determine whether there is a light-off request in the function light control request.

[0164] Step 202213C: In response to determining that there is no light-off request in the functional light control request, the functional light control request corresponding to the light-on request and the last triggered scene light control request are used as target response requests.

[0165] In specific implementation, when the triggering methods of multiple headlight control requests are function triggering methods and scene triggering methods, there are four situations: one function triggering method and one scene triggering method, one function triggering method and multiple scene triggering methods, multiple function triggering methods and one scene triggering method, and multiple function triggering methods and multiple scene triggering methods.

[0166] When a light-on request is present in the function light control request, the function light control function request corresponding to the light-on request is used as the target response request. Whether the last triggered scene light control request is a light-on request is determined to determine whether the last triggered scene light control request is used as the target response request.

[0167] When a function light control request includes a light-on request but does not include a light-off request, and the last triggered scene light control request is a light-on request, the function light control request corresponding to the light-on request and the last triggered scene light control request are used as target response requests. When a function light control request includes a light-on request but the last triggered scene light control request is not a light-on request, the function light control request corresponding to the light-on request is used as target response request. When a function light control request includes both a light-on request and a light-off request, and the last triggered scene light control request is a light-on request, the function light control request corresponding to the light-on request is used as target response request.

[0168] When the multiple triggering modes include a function triggering mode and a scene triggering mode, for example, if a scene A headlights-on request and a function A headlights-on request are received in sequence, the scene A headlights-on request and the function A headlights-on request are used as target response requests.

[0169] When multiple triggering methods include a function triggering method and multiple scene triggering methods, for example, if a light-on request for scene A, a light-on request for scene B, a light-on request for scene C, and a light-on request for function A are received in sequence, the light-on request for scene C and the light-on request for function A will be used as target response requests.

[0170] With the above solution, if a functional light control request includes a light-on request but no light-off request, and the last triggered scene light control request is a light-on request, the functional light control request corresponding to the light-on request and the last triggered scene light control request are used as target response requests. In this way, when the functional light control request corresponding to the light-on request is terminated, the last triggered scene light control request can be used as the target response request, thereby controlling the lights according to the last triggered scene light control request.

[0171] When one of the triggering modes of the multiple vehicle light control requests exists, a target response request is determined from the multiple vehicle light control requests based on the second response mode. The specific process is as follows:

[0172] In some embodiments, the triggering mode includes: a function triggering mode or a scene triggering mode; step 2023 includes:

[0173] Step 20231: In response to determining that one of the triggering modes exists, the triggering mode is judged.

[0174] Step 20232: In response to determining that the triggering modes are all functional triggering modes, a target response request is determined from the plurality of vehicle light control requests based on the functional response mode.

[0175] Alternatively, in step 20233, in response to determining that the triggering modes are all scene triggering modes, a target response request is determined from the multiple vehicle light control requests based on the scene response mode.

[0176] In specific implementation, there are two situations for triggering multiple headlight control requests: all triggering methods are function triggering methods, and all triggering methods are scene triggering methods.

[0177] When the function response mode is that the triggering mode of multiple headlight control requests are all function triggering modes, the arbitration logic for the target response request is determined from the multiple headlight control requests. When the scene response mode is that the triggering mode of multiple headlight control requests are all scene triggering modes, the arbitration logic for the target response request is determined from the multiple headlight control requests.

[0178] If one of the triggering modes of multiple light control requests is the same, the triggering mode of the multiple light control requests is determined. If the triggering mode of the multiple light control requests is a function triggering mode, the target response request is determined from the multiple light control requests based on the function response mode (function arbitration strategy). If the triggering mode of the multiple light control requests is a scene triggering mode, the target response request is determined from the multiple light control requests based on the scene response mode (scene arbitration strategy).

[0179] With the above solution, when one of the triggering modes of multiple headlight control requests exists, the corresponding response mode can be accurately determined by judging the triggering mode. When all triggering modes are function triggering modes, the target response request can be accurately determined from the multiple headlight control requests based on the function response mode. When all triggering modes are scene triggering modes, the target response request can be accurately determined from the multiple headlight control requests based on the scene response mode.

[0180] When the triggering mode of multiple headlight control requests is the function triggering mode, the target response request is determined from the multiple headlight control requests based on the function response mode. The specific process is as follows:

[0181] In some embodiments, step 20232 includes:

[0182] Step 20232A: In response to determining that the trigger modes are all functional trigger modes, determine whether there is a headlight on request among the multiple headlight control requests.

[0183] Step 20232B: In response to determining that a light-on request exists among the plurality of light control requests, the light control request corresponding to the light-on request is used as a target response request.

[0184] Alternatively, in step 2023C, in response to determining that there is no vehicle light turn-on request among the multiple vehicle light control requests, the multiple vehicle light control requests are used as target response requests.

[0185] In a specific implementation, the function triggering method is to trigger the headlight control request through the function set on the vehicle. The function triggering method of the headlight control request includes at least one of the following: HUT function, AVP function, L3 function and MDC function.

[0186] The HUT (Head-Up Display), also known as a head-up display, is an intelligent assistance device designed to enhance driver safety and comfort. Utilizing optical reflection principles, it projects driver assistance information, navigation information, check control information, and Advanced Driving Assistance System (ADAS) information onto the windshield or approximately two meters ahead. It also displays warnings from various driver assistance systems, preventing the driver from frequently looking down at the instrument panel or onboard screen while driving, thus significantly enhancing driving safety.

[0187] The AVP function (Automated Valet Parking) is an autonomous parking assistance system on the vehicle that can automatically complete all driving tasks such as overtaking, reversing, and avoiding pedestrians without the need for driver operation, truly realizing fully automatic driving.

[0188] The L3 function is an autonomous driving function, which mainly includes automatic vehicle identification and confirmation of the lane it is in, starting the autonomous driving cruise mode, real-time monitoring of the external environment, locking the vehicle in front for following, autonomous driving according to preset programs, automatic driving and obstacle avoidance.

[0189] The MDC function (Mobile Data Center) is a facility dedicated to storing and processing data. It can run on vehicles or other mobile platforms to ensure that data transmission, processing and storage can be carried out smoothly in a mobile environment.

[0190] When multiple headlight control requests are triggered by function triggering, a target response request is determined from the multiple headlight control requests based on the function response mode (function arbitration strategy). The specific process is as follows:

[0191] Determine whether a light-on request exists among the multiple light control requests. If a light-on request exists among the multiple light control requests, use the light control request corresponding to the light-on request as the target response request. If a light-on request does not exist among the multiple light control requests, use the multiple light control requests as the target response requests.

[0192] In other words, when any original vehicle function triggers a light-on request, the lights are turned on, an actual light-on command is issued, and the corresponding original vehicle function variable is set to 1. When all original vehicle functions trigger a light-off request, the lights are turned off, an actual light-off command is issued, and the corresponding original vehicle function variable is set to 0.

[0193] For example, if a light-on request from the HUT function, a light-off request from the AVP function, and a light-off request from the L3 function are received, the light-on request from the HUT function is used as the target response request. For another example, if a light-off request from the HUT function and a light-off request from the L3 function are received, the light-off request from the HUT function and the light-off request from the L3 function are used as the target response requests.

[0194] With the above solution, when multiple light control requests are triggered by function triggers, the target response request can be accurately determined from the multiple light control requests based on the function response method. If a light-on request is included among the multiple light control requests, the light control request corresponding to the light-on request is selected as the target response request, thereby prioritizing the light-on request and implementing the light-on function. This prioritizes the light-on request when conflicting light function triggers occur, improving the user experience while also preventing accidents and ensuring driver safety.

[0195] When multiple headlight control requests are triggered by scene triggering, a target response request is determined from the multiple headlight control requests based on the scene response method. The specific process is as follows:

[0196] In some embodiments, step 20233 includes:

[0197] Step 20233A: In response to determining that the triggering modes are all scene triggering modes, determine whether there is a headlight continuous occupation request among the multiple headlight control requests.

[0198] Step 20233B: In response to determining that a headlight continuous occupation request exists among the plurality of headlight control requests, the headlight control request corresponding to the headlight continuous occupation request is used as a target response request.

[0199] Alternatively, in step 20233C, in response to determining that there is no continuous light occupation request among the multiple light control requests, the last triggered light control request is determined according to the triggering time of the multiple light control requests, and the last triggered light control request is used as the target response request.

[0200] In a specific implementation, the scene triggering method is to trigger the headlight control request through a pre-set scene on the vehicle. When the pre-set triggering condition is met, the headlights are controlled based on the headlight control request of the scene triggering method.

[0201] When multiple headlight control requests are triggered by scene triggering, a target response request is determined from the multiple headlight control requests based on the scene response mode (scene arbitration strategy). The specific process is as follows:

[0202] Determine whether there is a continuous light occupation request among the multiple light control requests. If there is a continuous light occupation request among the multiple light control requests, use the light control request corresponding to the continuous light occupation request as the target response request. If there is no continuous light occupation request among the multiple light control requests, determine the light control request that was triggered last based on the triggering time of the multiple light control requests, and use the light control request that was triggered last as the target response request.

[0203] For example, if a light-on request for scene A, a light-off request for scene B, and a light-on request for scene C are received in sequence, the light-on request for scene A will be used as the target response request. For another example, if a light-on request for scene A, a light-off request for scene B, and a light-on request for scene C are received in sequence, the light-on request for scene C will be used as the target response request.

[0204] After step 2023C, the method further includes: caching the flag status of other headlight control requests among the multiple headlight control requests that are not headlight continuous occupancy requests; obtaining the flag status of other headlight control requests in response to determining that the target response request is executed; determining the existence of other headlight control requests based on the flag status of other headlight control requests, and determining the next target response request according to the triggering time of the other headlight control requests.

[0205] For example, if a request for continuous occupation of the headlights is received from scene A, a request for turning off the headlights is received from scene B, and a request for turning on the headlights is received from scene C, the request for continuous occupation of the headlights of scene A will be used as the target response request. At this time, the exterior light basic service ignores the headlight control requests from scene B and scene C, but caches the flag status of scene B and scene C and executes the request for continuous occupation of the headlights of scene A. When the request for continuous occupation of the headlights of scene A is canceled and the headlight control requests from scene B and scene C still exist, that is, the cached flag status of scene B and scene C exists, the headlight control requests from scene B and scene C will be executed in sequence according to the trigger time.

[0206] Figure 8 This is a schematic diagram of the actual lighting control instructions generated by the embodiment of the present disclosure. Figure 8As shown, a headlight control request is generated based on the triggering mode of the headlight and the target headlight. Among them, the triggering mode of the headlight includes the exterior light application service and the exterior light original vehicle function, the exterior light application service includes scene A, scene B and scene C, and the exterior light original vehicle function includes the HUT function, the AVP function and the L3 function. The target headlights to be controlled are determined from the exterior light basic service, and the target headlights include position lights, low beam lights, high beam lights, daytime running lights, front fog lights, rear fog lights, corner lights and turn signals. The actual light control instruction (i.e., headlight control request) is generated based on the exterior light application service, the exterior light original vehicle function and the exterior light basic service. For example, when the control instruction for the low beam lights from scene A and the HUT function is received, the headlight control request generated is the low beam control request for scene A and the low beam control request for the HUT function.

[0207] Through the above solution, when multiple light control requests are triggered using a scene triggering method, the target response request can be accurately determined from the multiple light control requests based on the scene response method. If a light control request is present among the multiple light control requests, the light control request corresponding to the light control request is selected as the target response request, thereby giving priority to the light control request and implementing the light control request functionality. If the light control request is not present among the multiple light control requests, the last light control request triggered can be accurately determined based on the triggering time of the multiple light control requests. The last light control request triggered among the multiple light control requests is selected as the target response request, thus avoiding the flashing of lights caused by responding to multiple light control requests in sequence, thereby preventing driving safety issues.

[0208] Based on the request content of the target response request, the flag status corresponding to each trigger mode is controlled.

[0209] The specific process is as follows:

[0210] In some embodiments, step 203 includes:

[0211] Step 203A, in response to determining that the target response request is a headlight turn-on request, controlling the flag state of the trigger mode corresponding to the target response request to switch to the running state, and controlling the flag state of the trigger mode corresponding to other headlight control requests to switch to the stop state; wherein, the other headlight control requests are requests other than the target response request among the multiple headlight control requests.

[0212] Step 203B: in response to determining that the target response request is a headlight off request, control the flag states of the trigger modes corresponding to the plurality of headlight control requests to switch to a stop state.

[0213] In specific implementations, the running state is a flag state set to 1, and the stopped state is a flag state set to 0. When the target response request is a light-on request, the flag state of the trigger mode corresponding to the target response request is set to 1, and the flag states of the trigger modes corresponding to other response requests are set to 0. When the target response request is a light-off request, the flag states of the trigger modes corresponding to multiple light control requests are all set to 0.

[0214] Through the above scheme, based on the request content of the target response request, the flag bit state corresponding to each trigger mode is controlled. In this way, the trigger mode of the target response request can be determined according to the flag bit state corresponding to each trigger mode, avoiding the problem of unclear trigger mode.

[0215] It should be noted that the embodiments of the present disclosure may be further described in the following manner:

[0216] Case 1: The interaction mechanism where the A-core scene mode turn signal function has a higher priority than the M-core original vehicle function turn signal function:

[0217] Because the M core's priority rule is from small to large, with decreasing priorities, while the A core's priority rule is from small to large, in order for the M core to recognize the priority information sent by the A core, the initial function priority of the M core's turn signal is first converted to an even-numbered adjustment function priority (as shown in Table 2). The specific formula is: Adjustment function priority = initial function priority × 2. Simultaneously, the initial scene priority of the A core's turn signal is converted to an odd-numbered adjustment scene priority (as shown in Table 1). The specific formula is: Adjustment scene priority = (total number of scene triggering methods - initial scene priority) × 2 + 1. At this point, if the A core's turn signal basic service has a higher-priority scene that requires turn signal control, the M core will insert it based on the priority comparison of the turn signal priority scene input to the A core, as shown in Tables 1 and 2. For example, if the A core's turn signal scene function is collision warning, which is defined as the highest priority, the A core will send a priority of 60. After receiving the A core's priority, the M core will convert it to priority 1 to issue the subsequent flashing command.

[0218] Note: Core A currently only uses priorities 1-83, and priorities 85-111 are not used for the time being. This does not affect the turn signal priority function in special circumstances (such as thermal runaway alarm, liveness detection, etc.).

[0219] Case 2: The interaction mechanism where the A-core scene mode turn signal function priority is lower than the M-core original vehicle function turn signal priority:

[0220] If core A's turn signal scene modes include Scene B, Scene C, and Scene D, and all three scenarios request the turn signal to be turned on, core A's basic service only needs to execute the last scene mode and pass it to core M, using the last-in-first-out principle and setting the priority flag to low. Upon receiving core A's low-priority turn signal request, core M first checks to see if its own turn signal function has been triggered. If not, it executes core A's turn signal control instruction. If the M core's turn signal function has been triggered, it waits until its own function completes. If core A still has a turn signal function request, it executes core A's turn signal instruction.

[0221] Implementation: Core A needs to define the turn signal operation instruction and turn signal priority instruction. Each time Core M receives the turn signal priority instruction from Core A = 0x12: Occupy, it starts timing.

[0222] (1) If no Occupy priority message is received within 2 seconds, the Occupy priority is considered invalid. The M core defaults to the current priority of Equa and the A core defaults to no turn signal function control requirements. Lighting control is based on the M core function control. If the Occupy priority message is received again within 2 seconds, the timer is reset and the Occupy priority is considered valid. If other valid priority messages are received within 2 seconds, the priority is considered to have switched normally and the Occupy timeout is no longer considered.

[0223] (2) If the received priority is a valid value (Occupy / Equal) and the control instruction is an invalid value, the function remains in the current state; if the priority is Occupy and the control instruction is an invalid value, the function remains in the current state and the M core turn signal function is shielded; if the priority is an invalid value and the control instruction is a valid value, the M core defaults to the current priority as Equal, does not execute the A core request, and the M core turn signal function is not affected.

[0224] Case 3: Flashing mechanism of the original car function of the M-core turn signal:

[0225] (1) Functions with the same priority level will be executed according to the later trigger. After the later trigger is completed, if there are still other functions in the current priority level that meet the activation conditions, the execution will continue until all functions in the same priority level do not meet the activation conditions.

[0226] (2) The high-priority function directly interrupts the output of the low-priority function; after the high-priority function is executed, if the low-priority function is still satisfied or triggered again, the low-priority function will continue to execute.

[0227] (3) If the turn signal is in the locked state within 1 second when the flashing lights request is triggered, the car search will be executed after the locked state is completed; the priority of flashing lights + honking the horn is based on the priority of exterior lights.

[0228] The above-mentioned embodiments can be adapted to different vehicle models and provide flexible, professional, and efficient solutions based on specific application scenarios and needs. The interactive mechanism comprehensively considers various factors and selects appropriate rules and mechanisms to ensure that the turn signal results are consistent with the complex mutual interruption mechanism of the turn signal itself and meet actual needs.

[0229] 1. External lighting basic service arbitration strategy between scenes:

[0230] (1) Scene A calls the exterior light basic service to turn on the low beam, scene B calls the exterior light basic service to turn off the low beam, and scene C calls the exterior light basic service to turn on the low beam. At this time, the exterior light basic service needs to turn on the low beam, and the last-in-first-out principle is executed. The variables of scene A and scene B are set to 0, indicating that the functions of scene A and scene B have exited, and the variable of scene C is set to 1, indicating that the low beam function of scene C is being executed at this time.

[0231] (2) Scene A calls the exterior light basic service and requires the low beam to be continuously occupied and turned on. Scene B calls to turn off the low beam, and scene C calls to turn on the low beam. At this time, the exterior light basic service ignores the low beam requirements of scenes B and C, but needs to set variable caches for scenes B and C and execute the low beam requirement of scene A. After scene A exits the continuous occupation of the low beam requirement, if the low beam requests of scenes B and C still exist, that is, the variable requests cached by scenes B and C are still there, then they are executed in the order of calling.

[0232] 2. Exterior light basic service arbitration strategy between the scene and the original vehicle:

[0233] (1) If both the scene and the original vehicle function turn on the low beam, the exterior light basic service will be executed according to the principle of turning on the low beam. For example, if scene A turns on the low beam and the HUT turns on the low beam, the exterior light basic service caches the variables of scene A and the HUT turning on the low beam and sets them to 1, and the low beam remains on.

[0234] (2) If the scene turns on the low beam and the original vehicle function turns off the low beam, the exterior light basic service will execute according to the original vehicle function > scene function and turn off the low beam. For example, if scene A turns on the low beam and the HUT turns off the low beam, the exterior light basic service will turn off the low beam and set the scene A and HUT on variables to 0.

[0235] (3) If the scene turns off the low beam and the original vehicle function turns on the low beam, the exterior basic service will also execute according to the original vehicle function > scene function, turning on the low beam. For example, if scene A turns off the low beam and the HUT turns on the low beam, the exterior basic service will turn on the low beam and only set the scene cache variable to 0, indicating that the scene turning off the low beam function has exited. At this time, the HUT turns on the low beam function.

[0236] 3. Arbitration strategy for basic exterior light control services in multiple scenarios and with multiple original vehicle functions:

[0237] (1) If multiple scenarios and multiple original vehicle functions enable low beam, the exterior light basic service will execute both the scenario and original vehicle function low beam activation requests. For example, if scenario A, scenario B, and scenario C enable low beam, and the original vehicle function HUT enables low beam, the low beam activation request for scenario C and the HUT will be executed, and the cache variables for scenario A and scenario B will be cleared to 0, while the low beam activation variables for scenario C and HUT will be set to 1.

[0238] (2) If the low beam is continuously turned on in multiple scenarios and the original vehicle has multiple functions including turning on the low beam and turning off the low beam, the exterior light basic service will execute the original vehicle turning on the low beam. For example, if scenario A is continuously occupied and the low beam is turned on, the original vehicle HUT turns on the low beam, the original vehicle AVP turns off the low beam, and the original vehicle L3 turns off the low beam, the HUT turns on the low beam function, keeps the HUT turning on the low beam variable at 1, clears the variables of the scene A continuous occupation, the original vehicle AVP and the original vehicle L3 turning off the low beam, and does not actually send the low beam off command, indicating that the above function has exited.

[0239] 4. Exterior light basic service arbitration strategy between original vehicle and original vehicle function:

[0240] (1) Turn on the low beam. If any original vehicle function triggers the low beam, the light will be turned on, the actual light-on command will be issued, and the corresponding original vehicle function variable will be set to 1.

[0241] (2) Turn off the low beam. Only when all the original vehicle functions request the lights to be turned off, the lights will be turned off. The actual light-off instruction will be issued, and the corresponding original vehicle function variables will be set to 0.

[0242] The above arbitration strategy can still be used for the newly added scene triggering mode. The above arbitration strategy can also be used for the headlight control request of other vehicle exterior lights.

[0243] Through the above embodiment, when the scene triggering method conflicts with the function triggering method, the function triggering method will prevail in controlling the vehicle lights; when the function triggering method conflicts with the function triggering method, the vehicle light activation request will prevail. This not only improves the user experience but also prevents traffic accidents. Furthermore, it can adapt to different vehicle models and provide flexible, professional, and efficient solutions based on specific application scenarios and needs. The arbitration logic comprehensively considers various factors and selects appropriate arbitration procedure rules and mechanisms, ensuring that the arbitration results comply with relevant regulations on exterior lights while meeting actual needs.

[0244] It should be noted that the method of the embodiments of the present disclosure can be performed by a single device, such as a computer or server. The method of the embodiments of the present disclosure can also be applied in a distributed scenario, where multiple devices cooperate to perform the method. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the multiple devices will interact with each other to complete the method.

[0245] It should be noted that the above description is limited to some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0246] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a vehicle light control device.

[0247] refer to Figure 9 , the vehicle light control device comprises:

[0248] An acquisition module 301 is configured to acquire an initial scene priority and an initialization function priority of a vehicle light control mode; wherein the priority standards of the initial scene priority and the initialization function priority are inconsistent;

[0249] An adjustment module 302 is configured to adjust the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and to adjust the initial function priority based on a second preset rule to obtain an adjusted function priority;

[0250] A merging module 303 is configured to merge the adjustment scenario priority and the adjustment function priority to obtain a target priority;

[0251] The control module 304 is configured to control the vehicle lights according to the target priority.

[0252] In some embodiments, the adjustment module 302 includes:

[0253] a first adjusting unit configured to convert the initial scene priorities from high to low into odd-numbered scene priorities from low to high, and use the odd-numbered scene priorities as adjusted scene priorities;

[0254] The second adjustment unit is configured to convert the initial function priority from low to high into an even function priority from low to high, and use the even function priority as the adjusted function priority.

[0255] In some embodiments, the control module 304 includes:

[0256] a first recording unit configured to receive a scene-triggered vehicle light control request using a scene core, and record the scene-triggered vehicle light control request as a scene request;

[0257] a second recording unit configured to receive, using the function core, a vehicle light control request in a function triggering manner, and record the vehicle light control request in the function triggering manner as a function request;

[0258] a sending unit, configured to determine a target scene request from the scene requests, and control the scene core to send the target scene request to the function core;

[0259] A control unit is configured to determine a target trigger mode from a scene trigger mode corresponding to the target scene request and a function trigger mode corresponding to the function request based on the target priority stored in the functional core, and control the headlights according to the target headlight control request corresponding to the target trigger mode.

[0260] In some embodiments, the sending unit includes:

[0261] A first judging subunit is configured to judge whether there are multiple scene requests;

[0262] a second judging subunit configured to, in response to determining that there are multiple scene requests, judge whether the adjustment function priority in the target priority is higher than the adjustment scene priority;

[0263] The sending subunit is configured to, in response to determining that the adjustment function priority in the target priority is higher than the adjustment scene priority, determine the last triggered scene request according to the trigger time of multiple scene requests, use the last triggered scene request as the target scene request, and control the scene core to send the target scene request to the function core.

[0264] In some embodiments, the control unit comprises:

[0265] an instruction judgment subunit, configured to obtain a scene priority instruction and a scene control instruction in the target scene request, and perform judgment processing on the scene priority instruction and the scene control instruction;

[0266] The first control subunit is configured to, in response to determining that the scene priority instruction is valid and the scene control instruction is valid, determine a target triggering mode from the scene triggering mode corresponding to the scene request and the function triggering mode corresponding to the function request based on the target priority stored in the function core, and control the headlights according to the target headlight control request corresponding to the target triggering mode; or

[0267] The second control subunit is configured to, in response to determining that the scene priority instruction is valid and the scene control instruction is invalid, use the function triggering mode corresponding to the function request as the target triggering mode, and control the vehicle lights according to the function request; or

[0268] a third control subunit configured to, in response to determining that the scene priority instruction is occupied and the scene control instruction is invalid, use the function trigger mode corresponding to the function request as the target trigger mode, control the vehicle lights according to the function request, and not respond to function requests received during the priority instruction occupied time period; or

[0269] The fourth control subunit is configured to, in response to determining that the scene priority instruction is invalid and the scene control instruction is valid, use the function trigger mode corresponding to the function request as the target trigger mode, control the vehicle lights according to the function request, and set the priority corresponding to the target scene request to empty.

[0270] In some embodiments, after controlling the vehicle lights according to the target vehicle light control request, the control module 304 further includes:

[0271] a priority determination unit configured to, in response to determining that a vehicle light control request is received again, treat the received vehicle light control request as an update vehicle light control request, determine an update triggering mode corresponding to the update vehicle light control request, and determine whether a priority of the update triggering mode is higher than a priority of the target triggering mode based on the target priority;

[0272] The interrupt control unit is configured to, in response to determining that the update trigger mode has a higher priority than the target trigger mode, interrupt the target headlight control request according to a preset interrupt mode, and control the headlights according to the update headlight control request.

[0273] In some embodiments, the interrupt control unit includes:

[0274] a vehicle light state determination subunit configured to take the moment of receiving the vehicle light control update request as the current moment and determine the vehicle light state at the current moment;

[0275] a first interrupt control subunit configured to, in response to determining that the current state of the vehicle light is the on state, control the vehicle light according to the target vehicle light control request, interrupt the target vehicle light control request at a switching moment when the vehicle light is switched to the off state, and control the vehicle light according to the updated vehicle light control request; or

[0276] The second interrupt control subunit is configured to, in response to determining that the vehicle light state at the current moment is the lights-off state, determine that the lights-off time length of the vehicle light in the lights-off state is greater than a preset time length threshold, interrupt the target vehicle light control request at the lights-off time, and control the vehicle light according to the updated vehicle light control request.

[0277] For the convenience of description, the above devices are described as being functionally divided into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0278] The device of the above embodiment is used to implement the corresponding vehicle light control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0279] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle light control method described in any of the above-mentioned embodiments is implemented.

[0280] Figure 10 10 is a schematic diagram showing a more specific hardware structure of an electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other within the device via the bus 1050.

[0281] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0282] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0283] The input / output interface 1030 is used to connect input / output modules to implement information input and output. The input / output modules can be configured as components within the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.

[0284] The communication interface 1040 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (e.g., USB (Universal Serial Bus), network cable, etc.) or a wireless method (e.g., mobile network, WIFI (Wireless Fidelity), Bluetooth, etc.).

[0285] The bus 1050 comprises a path for transmitting information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0286] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may only include the components necessary to implement the embodiments of this specification, and does not necessarily include all the components shown in the figure.

[0287] The electronic device of the above embodiment is used to implement the corresponding vehicle light control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0288] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle light control method described in any of the above embodiments.

[0289] The computer-readable media of this embodiment include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0290] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the vehicle light control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0291] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the headlight control device, or electronic device, or storage medium in the above-mentioned embodiments, and the vehicle equipment implements the headlight control method described in any of the above embodiments.

[0292] The vehicle of the above embodiment is used to implement the vehicle light control method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0293] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0294] In addition, to simplify the description and discussion, and so as not to obscure the embodiments of the present disclosure, known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, devices may be shown in the form of block diagrams to avoid obscuring the embodiments of the present disclosure, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure are to be implemented (i.e., these details should be fully within the purview of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure may be implemented without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0295] Although the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those skilled in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0296] The embodiments of the present disclosure are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the present disclosure. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. A vehicle light control method, characterized in that: The method comprises: Obtaining an initial scene priority and an initial function priority of a vehicle light control mode; wherein priority standards of the initial scene priority and the initial function priority are inconsistent; Adjusting the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and adjusting the initial function priority based on a second preset rule to obtain an adjusted function priority; Merging the adjustment scenario priority and the adjustment function priority to obtain a target priority; Controlling the vehicle lights according to the target priority; The adjusting the initial scene priority based on the first preset rule to obtain the adjusted scene priority, and adjusting the initial function priority based on the second preset rule to obtain the adjusted function priority, includes: Converting the initial scene priorities from high to low into odd-numbered scene priorities from low to high, and using the odd-numbered scene priorities as the adjusted scene priorities; Converting the initial function priorities from low to high into even function priorities from low to high, and using the even function priorities as the adjusted function priorities; The controlling of the vehicle lights according to the target priority includes: receiving, using the scene core, a scene-triggered vehicle light control request, and recording the scene-triggered vehicle light control request as a scene request; receiving a vehicle light control request in a function triggering manner using a function core, and recording the vehicle light control request in the function triggering manner as a function request; determining a target scene request from the scene requests, and controlling the scene core to send the target scene request to the function core; Based on the target priority stored in the functional core, the target trigger mode is determined from the scene trigger mode corresponding to the target scene request and the function trigger mode corresponding to the function request, and the headlights are controlled according to the target headlight control request corresponding to the target trigger mode.

2. The method according to claim 1, characterized in that The determining a target scene request from the scene requests and controlling the scene core to send the target scene request to the function core includes: Determine whether there are multiple scene requests; In response to determining that there are multiple scene requests, determining whether the adjustment function priority in the target priority is higher than the adjustment scene priority; In response to determining that the adjustment function priority in the target priority is higher than the adjustment scene priority, the last triggered scene request is determined according to the trigger time of multiple scene requests, the last triggered scene request is used as the target scene request, and the scene core is controlled to send the target scene request to the function core.

3. The method according to claim 1, characterized in that The method further comprises: determining a target triggering mode from a scene triggering mode corresponding to the scene request and a function triggering mode corresponding to the function request based on the target priority stored in the function core, and controlling the headlights according to the target headlight control request corresponding to the target triggering mode, including: Obtaining a scene priority instruction and a scene control instruction in the target scene request, and performing judgment and processing on the scene priority instruction and the scene control instruction; In response to determining that the scene priority instruction is valid and the scene control instruction is valid, based on the target priority stored in the functional core, the target trigger mode is determined from the scene trigger mode corresponding to the scene request and the function trigger mode corresponding to the function request, and the headlights are controlled according to the target headlight control request corresponding to the target trigger mode.

4. The method according to claim 1, wherein After controlling the vehicle lights according to the target vehicle light control request corresponding to the target triggering mode, the method further includes: In response to determining that the vehicle light control request is received again, treating the received vehicle light control request as an updated vehicle light control request, determining an update trigger mode corresponding to the updated vehicle light control request, and determining whether a priority of the update trigger mode is higher than a priority of the target trigger mode based on the target priority; In response to determining that the update trigger mode has a higher priority than the target trigger mode, the target vehicle light control request is interrupted according to a preset interruption mode, and the vehicle light is controlled according to the update vehicle light control request.

5. The method according to claim 4, characterized in that The interrupting the target vehicle light control request according to a preset interruption mode and controlling the vehicle light according to the updated vehicle light control request includes: Taking the time when the request to update the vehicle light control is received as the current time, and determining the vehicle light state at the current time; In response to determining that the current vehicle light state is the on state, controlling the vehicle light according to the target vehicle light control request, interrupting the target vehicle light control request at the moment when the vehicle light is switched to the off state, and controlling the vehicle light according to the updated vehicle light control request; or In response to determining that the vehicle light state at the current moment is the lights-off state, determining that the lights-off time duration of the vehicle lights in the lights-off state is greater than a preset time duration threshold, interrupting the target vehicle light control request at the lights-off time, and controlling the vehicle lights according to the updated vehicle light control request.

6. A vehicle light control device, characterized in that: include: an acquisition module configured to acquire an initial scene priority and an initial function priority of a vehicle light control mode; wherein priority standards of the initial scene priority and the initial function priority are inconsistent; an adjustment module configured to adjust the initial scene priority based on a first preset rule to obtain an adjusted scene priority, and to adjust the initial function priority based on a second preset rule to obtain an adjusted function priority; a merging module configured to merge the adjustment scenario priority and the adjustment function priority to obtain a target priority; a control module configured to control the vehicle lights according to the target priority; The adjustment module includes: a first adjusting unit configured to convert the initial scene priorities from high to low into odd-numbered scene priorities from low to high, and use the odd-numbered scene priorities as adjusted scene priorities; a second adjusting unit configured to convert the initial function priorities from low to high into even function priorities from low to high, and use the even function priorities as the adjusted function priorities; The control module includes: a first recording unit configured to receive a scene-triggered vehicle light control request using a scene core, and record the scene-triggered vehicle light control request as a scene request; a second recording unit configured to receive, using the function core, a vehicle light control request in a function triggering manner, and record the vehicle light control request in the function triggering manner as a function request; a sending unit, configured to determine a target scene request from the scene requests, and control the scene core to send the target scene request to the function core; A control unit is configured to determine a target trigger mode from a scene trigger mode corresponding to the target scene request and a function trigger mode corresponding to the function request based on the target priority stored in the functional core, and control the headlights according to the target headlight control request corresponding to the target trigger mode.

7. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 5 is implemented.

8. A vehicle, characterized in that: The device comprises the vehicle light control device according to claim 6 or the electronic device according to claim 7.

Citation Information

Patent Citations

  • Video-frequency band scheduling and transmission method used for peer to peer (P2P) three-dimensional streaming medium system

    CN103260090A

  • Vehicle and light control method and light control system thereof

    CN113133169A