Automotive light control method, computer device and storage medium
By detecting changes in external light intensity to determine stability and identify the lighting control threshold, this technology solves the problem of inappropriate switching caused by misjudgments in automotive lighting control, improving user experience and extending lamp life.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2026-04-14
AI Technical Summary
Existing automotive lighting control technology is prone to misinterpreting changes in ambient light intensity, leading to inappropriate light switching, affecting user experience, and accelerating lamp damage.
By detecting changes in external light intensity, the stability of these changes is assessed, and stability information is obtained. Based on this stability information, a light control threshold is determined, and the lights are automatically switched on and off only when the light intensity changes are stable and persistent.
This avoids inappropriate light switch switching, improves user experience, extends lamp life, and enhances traffic safety.
Smart Images

Figure CN117104122B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to an automotive lighting control method, computer device, and storage medium. Background Technology
[0002] Currently, some automotive lighting control technologies utilize automatic headlights. The principle behind automatic headlights is that they automatically turn on the lights when the ambient light intensity is below a threshold, thus reducing the burden of manual operation. However, current automotive lighting control technologies are prone to misinterpreting changes in ambient light intensity, causing them to turn on the lights at inappropriate times (i.e., when they wouldn't normally be turned on under manual control). This provides unnecessary lighting for the driver and other passengers, as well as pedestrians, sometimes requiring the driver to manually turn off the lights, resulting in a poor user experience. Furthermore, the frequent switching of lights on and off can accelerate the wear and tear on the headlights. Summary of the Invention
[0003] In view of the technical problems of poor user experience and high wear and tear on lamps in current automotive lighting control technology, the purpose of this invention is to provide an automotive lighting control method, computer device and storage medium.
[0004] On one hand, embodiments of the present invention include a method for controlling automotive lighting, the method comprising the following steps:
[0005] Detect changes in external light intensity;
[0006] The stability of the external light intensity variation information is determined to obtain stability information.
[0007] Based on the stability information, determine the lighting control threshold;
[0008] Based on the external light intensity variation information and the light control threshold, the car lights are controlled to automatically switch on and off.
[0009] Furthermore, the step of determining the stability of the external light intensity variation information to obtain stability information includes:
[0010] Obtain the vehicle's location information;
[0011] Based on the location information, target road segment information is determined; the target road segment information represents the road segment that the vehicle will pass through in the future, and each location on the target road segment has the same environmental parameters;
[0012] Based on the target road segment information, stability information is determined; wherein the stability information represents stability that is positively correlated with the length of the target road segment.
[0013] Furthermore, the step of determining the stability of the external light intensity variation information to obtain stability information includes:
[0014] Obtain the vehicle's location information;
[0015] Based on the location information, traffic flow information is determined; the traffic flow information represents the traffic flow at the location corresponding to the location information.
[0016] Based on the traffic flow information, stability information is determined; wherein the stability represented by the stability information is positively correlated with the traffic flow magnitude represented by the traffic flow information.
[0017] Furthermore, the step of determining the stability of the external light intensity variation information to obtain stability information includes:
[0018] Get the vehicle's speed;
[0019] The phase velocity of the external light intensity variation information in the direction of vehicle travel is obtained;
[0020] Determine the degree of matching between the vehicle speed and the phase velocity;
[0021] The stability information is determined based on the matching degree; wherein the stability information represents a stability that is positively correlated with the matching degree.
[0022] Furthermore, the step of determining the stability of the external light intensity variation information to obtain stability information includes:
[0023] Detect the shape of target objects outside the vehicle and obtain target shape information;
[0024] The target shape information is compared with the standard shape information to obtain shape similarity information;
[0025] Based on the shape similarity information, stability information is determined; wherein the stability represented by the stability information is positively or negatively correlated with the shape similarity represented by the shape similarity information.
[0026] Furthermore, the step of determining the stability of the external light intensity variation information to obtain stability information includes:
[0027] Detect sounds outside the vehicle and obtain sound information from outside the vehicle;
[0028] Analyze the external sound information to determine the proportion of human voices in the external sound information;
[0029] Stability information is determined based on the proportion of human voice content; wherein the stability information represents a stability that is negatively correlated with the proportion of human voice content.
[0030] Furthermore, determining the lighting control threshold based on the stability information includes:
[0031] When the stability information reaches the stability threshold, the lighting control threshold is set to a normal value;
[0032] If the stability information does not reach the stability threshold, obtain the current on / off state of the car lights;
[0033] If the current switch state is the light-on state, the light control threshold is set to the maximum value;
[0034] If the current switch state is the off state, the lighting control threshold is set to a minimum value.
[0035] Furthermore, the step of controlling the vehicle lights to automatically switch on and off based on the external light intensity variation information and the light control threshold includes:
[0036] Based on the information about changes in external light intensity, determine the light intensity after the change;
[0037] When the light intensity changes to the light control threshold, the car lights are switched on or off; otherwise, the car lights remain in the current on / off state.
[0038] On the other hand, embodiments of the present invention also include a computer device, including a memory and a processor, the memory for storing at least one program, and the processor for loading at least one program to execute an automotive lighting control method according to the embodiments.
[0039] On the other hand, embodiments of the present invention also include a storage medium storing a processor-executable program, which, when executed by a processor, is used to perform an automotive lighting control method in the embodiments.
[0040] The beneficial effects of this invention are as follows: The automotive lighting control method in the embodiments, when detecting changes in external light intensity, performs a stability judgment on the changes in external light intensity. The obtained stability information can indicate the degree to which the phenomenon of "changes in external light intensity" occurs stably and persistently. By determining the lighting control threshold based on the stability information, the automotive lights are automatically switched on and off only when the phenomenon of "changes in external light intensity" occurs stably and persistently enough. This avoids switching the automotive lights on and off when the external light intensity changes only temporarily and unstablely, and avoids switching the automotive lights on and off at inappropriate times. Furthermore, it avoids the cumbersome manual switching of the lights by the driver, which is beneficial to improving the user experience. At the same time, it can also avoid frequent switching of lights, which is beneficial to maintaining traffic safety and improving the service life of automotive lights. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of an automotive system to which the automotive lighting control method can be applied in the embodiment;
[0042] Figure 2 This is a schematic diagram of the steps of the vehicle lighting control method in the embodiment;
[0043] Figure 3 This is a schematic diagram illustrating the principle of one implementation method for determining the stability of light intensity changes based on external light intensity changes in the embodiment, thereby obtaining stability information.
[0044] Figures 4(a) and 4(b) are schematic diagrams illustrating the principle of another implementation method for determining the stability of light intensity changes based on external light intensity variation information in the embodiment. Detailed Implementation
[0045] In this embodiment, the automotive lighting control method can be applied to... Figure 1 The vehicle system shown. (Refer to...) Figure 1 The system comprises a control module, a lighting module, a light intensity sensing module, a navigation module, a radar module, and a sound sensing module. The control module, lighting module, and light intensity sensing module enable basic automotive lighting control functions. Further advanced functions can be achieved by adding the navigation module, radar module, and sound sensing module.
[0046] In this embodiment, the lighting module can specifically be a headlight (high beam, low beam), fog light, parking lights (daylights), etc., with the headlight as an example. A single light intensity sensor module can be used, which can be installed near the headlight at the front of the vehicle; alternatively, a light intensity sensor module array can be used, i.e., multiple light intensity sensor modules can be installed at different locations on the vehicle body, for example, as shown in the example. Figure 1 Two light intensity sensing modules are set up. One light intensity sensing module is installed at the front of the vehicle, and the other light intensity sensing module is installed at the rear of the vehicle. Each light intensity sensing module detects the light intensity at its own location. Multiple light intensity sensing modules can detect the light intensity at different locations on the vehicle body.
[0047] In this embodiment, components such as an Electronic Control Unit (ECU) can be used as the control module. The control module can be connected to other modules such as the lighting module via a communication controller (EVCC).
[0048] Reference Figure 1 The navigation module can detect satellite positioning signals, thereby providing navigation messages to the control module, enabling the control module to obtain the vehicle's positioning information. At the same time, the navigation module can also set navigation tasks, identify the vehicle's current location on the electronic map, and determine the road segment where the vehicle is located.
[0049] Reference Figure 1 The radar module can emit acoustic radar signals or lidar signals and receive radar signals reflected back from objects outside the vehicle, thereby detecting information such as the distance and outline of objects outside the vehicle.
[0050] Reference Figure 1 The sound sensing module captures sounds from outside the vehicle and performs processing such as feature frequency extraction to identify sound signals with specific characteristics, such as noise, human voices, and vehicle sounds.
[0051] In this embodiment, the vehicle lighting control method can be executed by a control module. When the control module needs to acquire certain data or send out processed data or control commands when executing certain steps in the vehicle lighting control method, the control module can call... Figure 1 The module includes lighting modules and light intensity sensing modules.
[0052] In this embodiment, refer to Figure 2 The automotive lighting control method includes the following steps:
[0053] S1. Detects changes in external light intensity;
[0054] S2. Determine the stability of light intensity changes based on external light intensity variations to obtain stability information;
[0055] S3. Determine the lighting control threshold based on the stability information;
[0056] S4. Based on information about changes in external light intensity and the light control threshold, control the vehicle lights to switch on and off automatically.
[0057] In step S1, light intensity is detected by a single light intensity sensing module or an array of light intensity sensing modules to obtain light intensity information. The light intensity information can specifically represent one or more data such as light intensity (unit: candela cd), illuminance (unit: lux lx), luminous flux (unit: lumen lm), or luminance (unit: nits nit).
[0058] In step S1, the light intensity sensing module can periodically collect light intensity information and send the collected light intensity information to the control module in real time. The control module subtracts the light intensity information collected by the same light intensity sensing module at a certain moment from the light intensity information collected by the same light intensity sensing module at the previous moment, thereby obtaining the external light intensity change information detected by this light intensity sensing module.
[0059] In step S1, if the control module determines that the absolute value of the change in external light intensity is greater than the threshold (that is, from the subjective perspective of the naked eye, the external environment where the car is located has become significantly darker or brighter), then the control module is triggered to execute steps S2-S4.
[0060] In step S2, the control module performs a stability assessment on the external light intensity variation information obtained in step S1 to obtain stability information. This stability information qualitatively or quantitatively indicates the stability of the phenomenon represented by the external light intensity variation information; that is, whether the phenomenon of "external light intensity variation" occurs stably and persistently, or is it transient (quickly returning to its original intensity), and to what extent the phenomenon of "external light intensity variation" occurs stably and persistently.
[0061] In step S3, the control module determines the lighting control threshold based on the stability information obtained in step S2. By executing step S3, the set lighting control threshold is related to the degree to which the phenomenon of "changes in external light intensity" occurs stably and persistently.
[0062] In this embodiment, when the control module executes step S4, which is to control the car lights to automatically switch on and off based on the external light intensity change information and the light control threshold, the following steps can be performed:
[0063] S401. Determine the changed light intensity based on information about changes in external light intensity;
[0064] S402. When the light intensity changes and reaches the lighting control threshold, control the car lights to switch on and off; otherwise, keep the car lights in the current on / off state.
[0065] In step S401, the control module can directly read the latest detected light intensity information from the light intensity sensing module to obtain the changed light intensity.
[0066] In step S402, the control module determines the relationship between the changed light intensity obtained in step S401 and the light control threshold obtained in step S3. Specifically, if the external light intensity change information indicates a decrease in light intensity (i.e., the changed light intensity is less than the original light intensity), and the changed light intensity is less than or equal to the light control threshold, this indicates that the external environment around the car has darkened considerably, creating a need for the car's lights to illuminate the surroundings. In this case, the control module sends a light-on signal to the light module, triggering the light module to emit light (if the light module itself is already working, the control module may not send a light-on signal to the light module, maintaining the current on state of the light module). If the external light intensity change information indicates an increase in light intensity (i.e., the changed light intensity is greater than the original light intensity), and the changed light intensity is greater than or equal to the light control threshold, this indicates that the external environment around the car has brightened considerably, and there is no longer a need to use the car's lights for illumination. In this case, the control module sends a light-off signal to the light module, triggering the light module to stop working and no longer emit light (if the light module itself is already off, the control module may not send a light-off signal to the light module, maintaining the current off state of the light module).
[0067] In this embodiment, the principle of executing steps S1-S4 is as follows: when external light intensity change information is detected, the stability of the external light intensity change information is judged. The obtained stability information can indicate the degree to which the phenomenon of "external light intensity change" occurs stably and persistently. By determining the light control threshold based on the stability information, the car lights are automatically switched on and off only when the phenomenon of "external light intensity change" occurs stably and persistently enough. This avoids switching the car lights on and off when the external light intensity only changes temporarily and unstablely, and avoids switching the car lights on and off at inappropriate times. Furthermore, it avoids the cumbersome operation of manually turning the lights on or off required by the driver when the car lights are switched on and off inappropriately. This is beneficial to improving the user experience, and also avoids frequent switching of lights, which is beneficial to maintaining traffic safety and improving the service life of car lights.
[0068] In this embodiment, when the control module executes step S2, which is to determine the stability of light intensity changes based on external light intensity variation information and obtain stability information, it can specifically perform the following steps:
[0069] S201A. Obtain vehicle location information;
[0070] S202A. Based on the location information, determine the target road segment information; the target road segment information indicates the road segment that the vehicle will pass through in the future, and each location on the target road segment has the same environmental parameters;
[0071] S203A. Determine stability information based on target road segment information; wherein, the stability represented by the stability information is positively correlated with the length of the target road segment.
[0072] Steps S201A-S203A are the first execution method of step S2.
[0073] The principle of steps S201A-S203A is as follows: Figure 3 As shown.
[0074] In step S201A, the control module calls the navigation module to perform real-time positioning of the vehicle, thereby obtaining the vehicle's positioning information, which indicates the vehicle's current location.
[0075] In step S202A, refer to Figure 3 The control module calls the navigation module, which projects the positioning information onto the electronic map, determines the car's position on the map and the route it has traveled, and identifies a route the car will pass through in the near future. The starting point of this route is the location indicated by the positioning information obtained in step S201A, and the ending point is the last location with the same environmental parameters (e.g., terrain, road type). For example, Figure 3 In step S201A, the environmental parameters of the location indicated by the positioning information suggest that the road type is a tunnel. Therefore, the location indicated by the positioning information is taken as the starting point of the target road segment, and the end of the tunnel is taken as the ending point of the target road segment, thus determining the target road segment information. The navigation module then sends the target road segment information to the control module.
[0076] In step S203A, the control module obtains the length of the target road segment (in meters) based on the target road segment information, and maps the length of the target road segment to the stability magnitude (or level) represented by stability information. The larger the length of the target road segment, the greater the stability (or the higher the level) represented by the stability information obtained in step S203A.
[0077] In this embodiment, the principle of executing steps S201A-S203A is as follows: the change in light intensity outside the car is usually related to the environmental parameters of the car's location (such as tunnels, bridges, etc.). The longer the target road segment, the longer the light intensity outside the car remains at the changed level, all other things being equal. In other words, the higher the degree to which the phenomenon of "change in external light intensity" occurs stably and persistently, the larger (or higher level) the stability information is set. This makes it more likely to generate a light control threshold that is conducive to switching the lights when executing step S3, which is conducive to the occurrence of "the car lights being switched on and off" in step S4. Conversely, the shorter the time it takes for the light intensity outside the car to remain at the changed level, the lower the degree to which the phenomenon of "change in external light intensity" occurs stably and persistently, thus reducing the possibility of "the car lights being switched on and off" occurring in step S4 and avoiding the negative impact of inappropriate light switching.
[0078] In this embodiment, when the control module executes step S2, which is to determine the stability of light intensity changes based on external light intensity variation information and obtain stability information, it can specifically perform the following steps:
[0079] S201B. Obtain vehicle location information;
[0080] S202B. Determine traffic flow information based on location information;
[0081] S203B. Determine stability information based on traffic flow information; wherein the stability represented by the stability information is positively correlated with the traffic flow magnitude represented by the traffic flow information.
[0082] Steps S201B-S203B are the second execution method of step S2.
[0083] In step S201B, the control module calls the navigation module to perform real-time positioning of the vehicle, thereby obtaining the vehicle's positioning information, which indicates the vehicle's current location.
[0084] In step S202B, the control module calls the navigation module, which can connect to a cloud server to read the traffic flow information corresponding to the location information. The traffic flow information indicates the amount of traffic at the location corresponding to the location information.
[0085] In step S203B, the control module maps the traffic flow size to the stability size (or level) represented by stability information based on the traffic flow information. The larger the traffic flow, the greater the stability (or the higher the level) represented by the stability information obtained by executing step S203B.
[0086] In this embodiment, the principle of executing steps S201B-S203B is as follows: the change in light intensity outside the car is usually related to the traffic volume at the location of the car. The greater the traffic volume, the more uniform the spatial distribution of the lights emitted by other vehicles and the blocking effect of other vehicles on lights and natural light, that is, the more uniform the light intensity distribution of the environment in which the car is located. Under the condition that other conditions remain unchanged, it can be judged that the light intensity outside the car remains at the changed level for a longer period of time, that is, the higher the degree to which the phenomenon of "change in external light intensity" occurs stably and persistently. Therefore, a larger (or higher level) stability information is set, so that when executing step S3, it is more likely to generate a light control threshold that is conducive to switching the lights, which is conducive to the occurrence of "the car lights being switched on and off" in step S4. Conversely, the shorter the time that the light intensity outside the car remains at the changed level, that is, the lower the degree to which the phenomenon of "change in external light intensity" occurs stably and persistently, the lower the possibility of "the car lights being switched on and off" occurring in step S4, and the negative impact of inappropriate light switching is avoided.
[0087] In this embodiment, when the control module executes step S2, which is to determine the stability of light intensity changes based on external light intensity variation information and obtain stability information, it can specifically perform the following steps:
[0088] S201C. Obtain the vehicle speed;
[0089] S202C. Acquire the phase velocity of external light intensity changes in the direction of vehicle travel;
[0090] S203C. Determine the degree of matching between the vehicle speed and the phase velocity;
[0091] S204C. Determine stability information based on the degree of matching; wherein the stability information represents a positive correlation between stability and the degree of matching.
[0092] Steps S201C-S204C are the third execution method of step S2.
[0093] The principle of steps S201C-S204C is shown in Figure 4(a) and Figure 4(b).
[0094] In step S201C, the control module calls the navigation module, which calculates the vehicle's current speed, v, based on satellite navigation signals. 车 .
[0095] In step S202C, the control module calls the light intensity sensor module array to detect changes in external light intensity at various locations on the car body, determine the distribution of these changes on the car body, and thus calculate the phase velocity of the changes in external light intensity in the car's driving direction. Specifically, with... Figure 1Taking a light intensity sensing module array consisting of a light intensity sensing module (front of the vehicle) and a light intensity sensing module (rear of the vehicle) as an example, assuming the car is moving forward, referring to Figure 4(a), when the light intensity sensing module (front of the vehicle) detects light intensity information I, the control module records the time when the light intensity sensing module (front of the vehicle) detects light intensity information I as time t1; referring to Figure 4(b), when the light intensity sensing module (rear of the vehicle) detects light intensity information I, the control module records the time when the light intensity sensing module (rear of the vehicle) detects light intensity information I as time t2. The distance between the light intensity sensing module (front of the vehicle) and the light intensity sensing module (rear of the vehicle) in the direction of the car's travel is a fixed value L, which can be stored in the control module.
[0096] Therefore, the control module can be based on the formula. The phase velocity v of the change in external light intensity in the direction of vehicle travel is calculated. 相 .
[0097] In step S203C, the control module can calculate the vehicle speed v. 车 With phase velocity v 相 The absolute value of the difference between the two is used as the degree of matching; that is, the larger the absolute value, the smaller the degree of matching.
[0098] In step S204C, the control module maps the matching degree to the stability magnitude (or level) represented by the stability information. The greater the matching degree (the smaller the absolute value calculated in step S203C), the greater the stability (or the higher the level) represented by the stability information obtained by executing step S204C.
[0099] In this embodiment, the principle of executing steps S201C-S204C is as follows: the vehicle speed obtained in step S201C represents the magnitude of the vehicle's current driving speed, and the phase velocity obtained in step S202C represents the moving speed of the peak (or trough) of the external light intensity change information. Taking the vehicle moving forward into a tunnel as an example, the front of the vehicle enters the tunnel first, as shown in Figure 4(a). At this time, the light intensity sensing module (front of the vehicle) first detects the dimming light intensity information I. As the vehicle continues to move forward, the rear of the vehicle then enters the tunnel, as shown in Figure 4(b). At this time, the light intensity sensing module (rear of the vehicle) also detects the dimming light intensity information I. The phase velocity of the external light intensity change information is equal to the vehicle speed. That is, the principle represented is: if the external light intensity change information is caused by the vehicle entering a specific environment (such as a shading environment formed by a stationary structure like a tunnel), then the matching degree between the vehicle speed and the phase velocity is at a relatively high level. (For example, the vehicle speed equals the phase velocity). Therefore, the higher the degree to which the phenomenon of "external light intensity change" is stable and persistent, the larger (or higher level) the stability information is set. This makes it more likely to generate a light control threshold that is conducive to switching the lights when executing step S3, which is conducive to the occurrence of "the car lights being switched on and off" in step S4. Conversely, if the external light intensity change is caused by an external object (for example, when the car is stationary, the light is blocked by a passing car), then the matching degree between the vehicle speed and the phase velocity is at a low level (for example, the vehicle speed is zero, while the phase velocity is a large value). The shorter the time that the external light intensity of the car is maintained at the changed level, that is, the lower the degree to which the phenomenon of "external light intensity change" is stable and persistent, the lower the possibility of "the car lights being switched on and off" occurring in step S4, and the negative impact of inappropriate light switching is avoided.
[0100] In this embodiment, when the control module executes step S2, which is to determine the stability of light intensity changes based on external light intensity variation information and obtain stability information, it can specifically perform the following steps:
[0101] S201D. Detects the shape of target objects outside the vehicle and obtains target shape information;
[0102] S202D. Compare the target shape information with the standard shape information to obtain shape similarity information;
[0103] S203D. Determine stability information based on shape similarity information; wherein, the stability represented by stability information is positively or negatively correlated with the magnitude of shape similarity represented by shape similarity information.
[0104] Steps S201D-S203D are the fourth execution method of step S2.
[0105] In step S201D, the control module calls... Figure 1 The radar module in the vehicle emits radar signals to detect objects within a certain range (e.g., 10m) of the vehicle. It analyzes the reflected radar signals to determine the detected external targets and their shape information. The target shape information includes the outline and shape of the external target.
[0106] In step S202D, the control module stores standard shape information, which represents the outlines and shapes of objects such as people, cars, and walls. The control module calculates the similarity between the target shape information detected in step S201D and each standard shape information to obtain shape similarity information.
[0107] In step S203D, the control module maps the shape similarity information to the stability magnitude (or level) represented by stability information. Specifically, the greater the shape similarity between the target shape information and the standard shape information representing moving objects such as people and cars, the smaller the stability (or lower the level) represented by the stability information obtained by executing step S203D; conversely, the greater the shape similarity between the target shape information and the standard shape information representing stationary objects such as walls, the greater the stability (or higher the level) represented by the stability information obtained by executing step S203D.
[0108] In this embodiment, the principle of executing steps S201D-S203D is as follows: Shape similarity information can determine whether an object outside the vehicle is a moving object such as a person or car, or a stationary object such as a wall. The greater the shape similarity between the target shape information and the standard shape information representing moving objects such as people or cars, the more likely the object outside the vehicle is to be a moving object such as a person or car. Therefore, setting a smaller (or lower-level) stability information makes it less likely to generate a light control threshold conducive to light switching (or more likely to generate a light control threshold unfavorable to light switching) when executing step S3, thus avoiding the occurrence of "car lights being switched on and off" in step S4. This can prevent the vehicle from misjudging and frequently switching the headlights due to the temporary influence of moving objects such as people or cars on the light intensity. On the other hand, it can reduce the sensitivity of switching the headlights when there are moving objects such as people or cars near the vehicle, reduce the impact of sudden changes in light on people or other vehicles, improve the user experience, and ensure traffic safety. The greater the shape similarity information between the target shape information and the standard shape information representing stationary objects such as walls, the more likely the object outside the vehicle is to be a stationary object such as a wall. Therefore, a larger (or higher level) stability information is set. The principle is the same as the steps in S201A-S203A, S201B-S203B, and S204A-S204C.
[0109] In this embodiment, when the control module executes step S2, which is to determine the stability of light intensity changes based on external light intensity variation information and obtain stability information, it can specifically perform the following steps:
[0110] S201E. Detects external sounds and obtains external sound information;
[0111] S202E. Analyze external sound information to determine the proportion of human voice content in the external sound information;
[0112] S203E. Determine stability information based on the proportion of human voice content; wherein, the stability represented by the stability information is negatively correlated with the proportion of human voice content.
[0113] Steps S201E-S203E are the fifth execution method of step S2.
[0114] In step S201E, the control module calls... Figure 1 The sound sensing module in the vehicle collects sound from a certain range (e.g., 30m) away from the vehicle to obtain external sound information.
[0115] In step S202E, the control module analyzes the external sound information, determines the human voice component in the external sound information through algorithms such as spectrum analysis, and calculates the proportion of the amplitude (or energy, etc.) of the human voice component to the corresponding parameters of the overall external sound information, as the proportion of human voice content.
[0116] In step S203E, the control module maps the proportion of human voice content to the stability level (or grade) represented by stability information. The larger the proportion of human voice content, the smaller the stability (or the lower the grade) represented by the stability information obtained by executing step S203E.
[0117] In this embodiment, the principle behind executing steps S201E-S203E is as follows: the presence of pedestrians or other personnel outside the vehicle can be determined by the proportion of human voice content. The higher the proportion of human voice content, the more certain it is that pedestrians are outside the vehicle, or that the pedestrians are closer to the vehicle. Therefore, setting a smaller (or lower-level) stability information makes it less likely to generate a light control threshold that is conducive to light switching (or more likely to generate a light control threshold that is unfavorable to light switching) when executing step S3, thus avoiding the "car lights being switched on and off" in step S4. This can prevent pedestrians from temporarily affecting the light intensity, causing the vehicle to misjudge and frequently switch the light switch. On the other hand, it can reduce the sensitivity of switching the light switch when there are pedestrians near the vehicle, reduce the impact of sudden changes in light on pedestrians, improve the user experience, and ensure traffic safety. The lower the proportion of human voice content, the lower the possibility of pedestrians outside the vehicle. Therefore, a larger (or higher level) stability information is set. The principle is the same as the steps in S201A-S203A, S201B-S203B, and S204A-S204C.
[0118] In this embodiment, when the control module executes step S3, which is to determine the light control threshold based on the stability information, it can specifically perform the following steps:
[0119] S301. When the stability information reaches the stability threshold, set the lighting control threshold to the normal value;
[0120] S302. When the stability information does not reach the stability threshold, obtain the current on / off state of the car lights;
[0121] S303. If the current switch state is "light on", set the lighting control threshold to the maximum value;
[0122] S304. If the current switch state is off, set the lighting control threshold to a minimum value.
[0123] In step S301, when the magnitude (or level) of the stability information is greater than or equal to the stability threshold, it indicates that the phenomenon of "changes in external light intensity" can occur stably and persistently. The control module then sets the light control threshold to a normal value. Specifically, the normal value can be a boundary value used to judge whether the external light intensity of the car is "bright" or "dark." That is, if the external light intensity is higher than or equal to the normal value, it can be judged that the external light is too bright; if the external light intensity is lower than the normal value, it can be judged that the external light is too dark. For example, the normal value can be a fixed value such as 1000 lx.
[0124] When the magnitude (or level) of the stability information is less than the stability threshold, it indicates that the phenomenon of "external light intensity change" cannot occur stably and persistently. In other words, it is judged that the phenomenon of "external light intensity change" is temporary and the external light intensity will soon return to its original state. Under this condition, the control module executes steps S302-S304.
[0125] In step S302, the control module calls the lighting module to obtain the current on / off state of the car lights, that is, to determine whether the car lights are currently on or off.
[0126] If the current switch state is "on", the control module executes step S303 to set the light control threshold to a maximum value; if the current switch state is "off", the control module executes step S304 to set the light control threshold to a minimum value.
[0127] Specifically, the maximum value in step S303 can be a value much larger than the normal value in step S301 (e.g., 1000 lx). This value can be a value that will not be reached temporarily in the actual external environment, such as 100000 lx. The maximum value in step S304 can be a value much smaller than the normal value in step S301 (e.g., 1000 lx). This value can be a value that will not be reached temporarily in the actual external environment, such as 0.1 lx.
[0128] In this embodiment, the principle of executing steps S301-S304 is as follows: when the stability information reaches the stability threshold, the light control threshold is set to a normal value, thereby realizing the function of automatic headlights; when the stability information does not reach the stability threshold, if the current switch state is the on state, by setting the light control threshold to a maximum value, the situation of "the light intensity after the change is higher than the light control threshold" will not occur, so the light module will not be switched to the off state in step S4, thus satisfying the requirement of keeping the car lights on when the stability information does not reach the stability threshold; when the stability information does not reach the stability threshold, if the current switch state is the off state, by setting the light control threshold to a minimum value, the situation of "the light intensity after the change is lower than the light control threshold" will not occur, so the light module will not be switched to the on state in step S4, thus satisfying the requirement of keeping the car lights off when the stability information does not reach the stability threshold.
[0129] A computer program that executes the vehicle lighting control method in this embodiment can be written into a computer device or storage medium. When the computer program is read out and run, the vehicle lighting control method in this embodiment is executed, thereby achieving the same technical effect as the vehicle lighting control method in the embodiment.
[0130] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. Furthermore, the descriptions of "upper," "lower," "left," and "right" used in this disclosure are only relative to the relative positional relationships of the components of this disclosure in the accompanying drawings. The singular forms "a," "an," and "the" used in this disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. Moreover, unless otherwise defined, all technical and scientific terms used in this embodiment have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this embodiment specification is only for describing particular embodiments and is not intended to limit the invention. The term "and / or" as used in this embodiment includes any combination of one or more of the associated listed items.
[0131] It should be understood that although the terms first, second, third, etc., may be used to describe various elements in this disclosure, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from each other. For example, a first element may also be referred to as a second element without departing from the scope of this disclosure, and similarly, a second element may also be referred to as a first element. The use of any and all instances or exemplary language (“e.g.,” “such as,” etc.) provided in this embodiment is intended only to better illustrate embodiments of the invention and, unless otherwise required, does not impose a limitation on the scope of the invention.
[0132] It should be recognized that embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can be implemented using standard programming techniques—including a non-transitory computer-readable storage medium configured with a computer program, wherein such a storage medium causes the computer to operate in a specific and predefined manner—according to the methods and drawings described in the specific embodiments. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if desired, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).
[0133] Furthermore, the procedures described in this embodiment can be performed in any suitable order unless otherwise indicated by this embodiment or clearly contradicted by the context. The procedures (or variations and / or combinations thereof) described in this embodiment can be executed under the control of one or more computer systems configured with executable instructions, and can be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. A computer program includes multiple instructions executable by one or more processors.
[0134] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RAM, ROM, etc., such that it is readable by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention of this embodiment includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques of the invention, the invention also includes the computer itself.
[0135] A computer program can be applied to input data to perform the functions of this embodiment, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.
[0136] The above are merely preferred embodiments of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.
Claims
1. A method for controlling automotive lighting, characterized in that, The vehicle lighting control method includes: Detect changes in external light intensity; The stability of the external light intensity variation information is determined to obtain stability information. Based on the stability information, determine the lighting control threshold; Based on the external light intensity variation information and the lighting control threshold, the vehicle lights are controlled to automatically switch on and off. The step of determining the stability of the external light intensity variation information to obtain stability information includes: Obtain the vehicle's location information; Based on the location information, target road segment information is determined; the target road segment information represents the road segment that the vehicle will pass through in the future, and each location on the target road segment has the same environmental parameters; Based on the target road segment information, stability information is determined; wherein the stability represented by the stability information is positively correlated with the length of the target road segment.
2. The automotive lighting control method according to claim 1, characterized in that, The step of determining the stability of the external light intensity variation information to obtain stability information includes: Obtain the vehicle's location information; Based on the location information, traffic flow information is determined; the traffic flow information represents the traffic flow at the location corresponding to the location information. Based on the traffic flow information, stability information is determined; wherein the stability represented by the stability information is positively correlated with the traffic flow magnitude represented by the traffic flow information.
3. The automotive lighting control method according to claim 1, characterized in that, The step of determining the stability of the external light intensity variation information to obtain stability information includes: Get the vehicle's speed; The phase velocity of the external light intensity variation information in the direction of vehicle travel is obtained; the phase velocity represents the movement speed of the peak or trough of the external light intensity variation information. Determine the degree of matching between the vehicle speed and the phase velocity; The stability information is determined based on the matching degree; wherein the stability information represents a stability that is positively correlated with the matching degree.
4. The automotive lighting control method according to claim 1, characterized in that, The step of determining the stability of the external light intensity variation information to obtain stability information includes: Detect the shape of target objects outside the vehicle and obtain target shape information; The target shape information is compared with the standard shape information to obtain shape similarity information; Based on the shape similarity information, stability information is determined; wherein, when the standard shape information represents a moving object, the stability represented by the stability information is negatively correlated with the shape similarity represented by the shape similarity information; when the standard shape information represents a stationary object, the stability represented by the stability information is positively correlated with the shape similarity represented by the shape similarity information.
5. The automotive lighting control method according to claim 1, characterized in that, The step of determining the stability of the external light intensity variation information to obtain stability information includes: Detect sounds outside the vehicle and obtain sound information from outside the vehicle; Analyze the external sound information to determine the proportion of human voice content in the external sound information; Stability information is determined based on the proportion of human voice content; wherein the stability information represents a stability that is negatively correlated with the proportion of human voice content.
6. The automotive lighting control method according to claim 1, characterized in that, Determining the lighting control threshold based on the stability information includes: When the stability information reaches the stability threshold, the lighting control threshold is set to a normal value; If the stability information does not reach the stability threshold, obtain the current on / off state of the car lights; If the current switch state is the light-on state, the light control threshold is set to the maximum value; If the current switch state is the off state, the lighting control threshold is set to a minimum value.
7. The automotive lighting control method according to claim 1, characterized in that, The step of controlling the automatic switching of vehicle lights based on the external light intensity variation information and the light control threshold includes: Based on the information about changes in external light intensity, determine the light intensity after the change; When the light intensity changes to the light control threshold, the car lights are switched on or off; otherwise, the car lights remain in the current on / off state.
8. A computer device, characterized in that, It includes a memory and a processor, the memory being used to store at least one program, and the processor being used to load at least one program to execute the automotive lighting control method according to any one of claims 1-7.
9. A computer-readable storage medium storing a processor-executable program, characterized in that, The processor-executable program, when executed by the processor, is used to perform the automotive lighting control method according to any one of claims 1-7.
Citation Information
Patent Citations
Lighting controller of vehicle head light, and vehicle head light system
JP2016203826A