Vehicle high beam and low beam switching control method and device, terminal equipment and storage medium

By obtaining the current vehicle's headlight status and high and low beam voting queue, determining the total number of votes in the voting queue and switching, the problem of low switching accuracy in existing headlight technology is solved, and more accurate headlight switching is achieved.

CN119459508AActive Publication Date: 2025-02-18SAIC GM WULING AUTOMOBILE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411810585.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-02-18
Estimated Expiration
2044-12-10

AI Technical Summary

Technical Problem

The existing car light technology has the problem of low switching accuracy, especially because the light illuminance is susceptible to environmental impact and the switching is too late or not in line with expectations.

Method used

By obtaining the current vehicle light status and high and low beam voting queue, we judge the total number of votes in the voting queue. If it is less than the preset threshold, it will directly switch to the state with the largest number of votes; if it is equal to the threshold, it will be based on the current light The state performs the light switching decision operation.

Benefits of technology

Through a switching strategy based on the number of votes, it can avoid the problem of wrong switching of the headlights caused by sudden changes in the external environment and improve the accuracy of headlight switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119459508A_ABST
    Figure CN119459508A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle high beam and low beam switching control method and device, terminal equipment and a storage medium. The method comprises the steps that the current vehicle lamp state of a vehicle and a voting queue of high beams and low beams are obtained; wherein the vehicle lamp state comprises a high beam and a low beam; the voting queue comprises the voting number of the high beam and the voting number of the low beam; judging the total vote number of the voting queue; if the total vote number of the vote queue is smaller than a preset vote number total threshold value, the vehicle lamp state with the maximum current vote number serves as a target vehicle lamp state, and the current vehicle lamp state of the vehicle is directly switched into the target vehicle lamp state; and if the total vote number of the voting queue is equal to a preset vote number total threshold value, executing a light switching decision operation based on the current vehicle lamp state. Based on the voting queues, the problem of wrong switching of the vehicle lamp caused by sudden change of the external environment can be avoided, and then the switching accuracy of the vehicle lamp is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle body control, and in particular to a vehicle high and low beam switching control method, device, terminal equipment and storage medium. Background Art

[0002] The existing headlight technology can detect the road ahead information (illuminance lux, target vehicles, street lights and other light source information) in real time through the driving assistance camera. When the illuminance lux condition is met, the system low beam will automatically switch to automatic high beam; when there is a target vehicle in front of the vehicle or the illuminance lux threshold is large, the system will suppress the automatic high beam switch or switch the automatic high beam to low beam, and the solid line intelligent high and low beam (IHBC) switch. However, the illuminance is easily affected by the environment and changes, resulting in late switching of the lights or the switching of the lights not meeting expectations. Therefore, the existing headlight technology has the problem of low switching accuracy.

[0003] Therefore, there is an urgent need for a vehicle high and low beam switching control strategy to solve the problem of low switching accuracy in existing vehicle lighting technology. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, terminal equipment and storage medium for controlling the switching between high and low beam lights of a vehicle, so as to solve the problem of low switching accuracy in the existing vehicle light technology.

[0005] In order to solve the above problem, an embodiment of the present invention provides a vehicle high and low beam switch control method, comprising:

[0006] Obtain the current vehicle light status and the voting queue for high and low beam lights; wherein the vehicle light status includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights;

[0007] Determining the total number of votes in the voting queue;

[0008] If the total number of votes in the voting queue is less than the preset total vote threshold, the headlight state with the largest number of votes is used as the target headlight state, and the current headlight state of the vehicle is directly switched to the target headlight state;

[0009] If the total number of votes in the voting queue is equal to the preset total vote threshold, the light switching decision operation is performed based on the current light status.

[0010] As an improvement of the above solution, the light switching decision operation is performed based on the current vehicle light state, including:

[0011] Determine the current status of the vehicle lights, the number of votes for the high beam, and the number of votes for the low beam;

[0012] If the number of votes for high beam is greater than or equal to the vote ratio threshold, the light state will be switched; if the current light state is low beam, the light state will be switched to high beam; if the current light state is high beam, the light state will be switched to low beam;

[0013] If the number of votes for the high beam is less than the vote ratio threshold, the current light state will be maintained.

[0014] As an improvement of the above solution, before switching the light state, the following is further included:

[0015] Determine the delay time based on the current light switching result;

[0016] Determining a voting time based on the number of votes in the voting queue;

[0017] Based on the delay time and the voting time, the light switching time is calculated so that the vehicle light state is switched after the light switching time.

[0018] As an improvement of the above solution, the delay time is determined based on the current light switching result, including:

[0019] Determine the light switching result;

[0020] If the switching result is high beam, the delay time is the high beam switching delay time;

[0021] If the switching result is low beam, the delay time is the low beam switching delay time.

[0022] As an improvement of the above solution, the acquisition of the voting queue includes:

[0023] Get the current front brightness data of the vehicle;

[0024] Analyze the front brightness data of the vehicle to obtain the vehicle lighting voting result; wherein the lighting voting result includes: one of: one vote for the high beam or one vote for the low beam;

[0025] Fill the light voting result into the last position of the voting queue; wherein, each light voting result is sorted based on the time sequence in which the light voting result is filled into the voting queue;

[0026] Determine the total number of votes in the current voting queue;

[0027] If the total number of votes in the voting queue is equal to the preset total vote threshold, the voting result of the light at the first position in the voting queue will be deleted from the voting queue;

[0028] If the total number of votes in the voting queue is less than the preset total vote threshold, no action is taken.

[0029] As an improvement of the above solution, the vehicle front brightness data includes: full-image illuminance and local illuminance; the vehicle front brightness data is analyzed to obtain the vehicle lighting voting result, including:

[0030] Determining the front brightness data of the vehicle;

[0031] If the full-image illuminance is greater than or equal to the first full-image illuminance threshold, and the local illuminance is greater than or equal to the first local illuminance threshold, then the current light voting result of the vehicle is low beam plus one vote;

[0032] If the full-image illuminance is less than the second full-image illuminance threshold, or the local illuminance is less than the second local illuminance threshold, the vehicle's current light voting result is high beam plus one vote; wherein the full-image illuminance first threshold is greater than the full-image illuminance second threshold, and the local illuminance first threshold is greater than the local illuminance second threshold.

[0033] As an improvement of the above solution, the analyzing the front brightness data of the vehicle to obtain the vehicle lighting voting result also includes:

[0034] Obtain the vehicle's front image, vehicle status, headlight attributes, steering wheel angle, and driving speed;

[0035] If the result of the front image recognition includes the vehicle lights, the current vehicle light voting result is the low beam plus one vote;

[0036] If the vehicle is in motion and the headlight attribute is on, the current vehicle light voting result is low beam plus one vote;

[0037] If the driving speed is less than the first speed threshold, the current light voting result of the vehicle is low beam plus one vote;

[0038] If the driving speed is greater than the first speed threshold, the vehicle's current light voting result is high beam plus one vote;

[0039] If the steering wheel angle is greater than the angle threshold, or the driving speed is greater than or equal to the first speed threshold and less than or equal to the second speed threshold, no voting is performed.

[0040] Correspondingly, an embodiment of the present invention further provides a vehicle high and low beam light switching control device, comprising: a data acquisition module, a data judgment module, a first vehicle light switching module and a second vehicle light switching module;

[0041] The data acquisition module is used to acquire the current vehicle light status and the voting queue of the high and low beam lights; wherein the vehicle light status includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights;

[0042] The data judgment module is used to judge the total number of votes in the voting queue;

[0043] The first headlight switching module is configured to use the headlight state with the largest number of votes as the target headlight state and directly switch the current headlight state of the vehicle to the target headlight state if the total number of votes in the voting queue is less than a preset total vote threshold;

[0044] The second headlight switching module is configured to execute a light switching operation based on a current headlight state if the total number of votes in the voting queue is equal to a preset total vote threshold.

[0045] Correspondingly, an embodiment of the present invention further provides a computer terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a vehicle high and low beam switching control method as described in the present invention is implemented.

[0046] Correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a vehicle high and low beam switching control method as described in the present invention.

[0047] As can be seen from the above, the present invention has the following beneficial effects:

[0048] The present invention provides a vehicle high and low beam switch control method, which obtains the current vehicle light state and the high and low beam voting queue; wherein the vehicle light state includes: high beam and low beam; the voting queue includes: the number of votes for the high beam and the number of votes for the low beam; the total number of votes for the voting queue is judged; if the total number of votes in the voting queue is less than the preset total number of votes threshold, the vehicle light state with the largest current number of votes is used as the target light state, and the current vehicle light state is directly switched to the target light state; if the total number of votes in the voting queue is equal to the preset total number of votes threshold, the light switching decision operation is performed based on the current light state. The present invention controls the high and low beam lights by the light state and the preset high and low beam voting queue, and performs the selection of direct light switching or light switching decision based on different total votes. Considering the influence of the outside world on the light switching, the light switching is performed based on the number of votes, which can avoid the problem of wrong light switching caused by sudden changes in the external environment, thereby improving the accuracy of light switching. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flow chart of a vehicle high and low beam light switching control method provided by an embodiment of the present invention;

[0050] Figure 2It is a structural schematic diagram of a vehicle high and low beam switch control device provided by an embodiment of the present invention;

[0051] Figure 3 This is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention;

[0052] Figure 4 is a schematic diagram of the location for obtaining local illumination data provided by an embodiment of the present invention;

[0053] Figure 5 It is a flow chart of a vehicle high and low beam switching control method provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Embodiment 1

[0056] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for controlling switching between high and low beam lights of a vehicle provided by an embodiment of the present invention. Figure 1 As shown, this embodiment includes steps 101 to 104, and each step is specifically as follows:

[0057] Step 101: Obtain the current vehicle light status and the voting queue for the high and low beam lights; wherein the light status includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights.

[0058] In a specific embodiment, the length of the voting queue may be 60 votes (ie, the total vote threshold described in the present invention).

[0059] In this embodiment, the acquisition of the voting queue includes:

[0060] Get the current front brightness data of the vehicle;

[0061] Analyze the front brightness data of the vehicle to obtain the vehicle lighting voting result; wherein the lighting voting result includes: one of: one vote for the high beam or one vote for the low beam;

[0062] Fill the light voting result into the last position of the voting queue; wherein, each light voting result is sorted based on the time sequence in which the light voting result is filled into the voting queue;

[0063] Determine the total number of votes in the current voting queue;

[0064] If the total number of votes in the voting queue is equal to the preset total vote threshold, the voting result of the light at the first position in the voting queue will be deleted from the voting queue;

[0065] If the total number of votes in the voting queue is less than the preset total vote threshold, no action is taken.

[0066] In this embodiment, the vehicle front brightness data includes: full-image illuminance and local illuminance; the vehicle front brightness data is analyzed to obtain the vehicle lighting voting result, including:

[0067] Determining the front brightness data of the vehicle;

[0068] If the full-image illuminance is greater than or equal to the first full-image illuminance threshold, and the local illuminance is greater than or equal to the first local illuminance threshold, then the current light voting result of the vehicle is low beam plus one vote;

[0069] If the full-image illuminance is less than the second full-image illuminance threshold, or the local illuminance is less than the second local illuminance threshold, the vehicle's current light voting result is high beam plus one vote; wherein the full-image illuminance first threshold is greater than the full-image illuminance second threshold, and the local illuminance first threshold is greater than the local illuminance second threshold.

[0070] In a specific embodiment, for better explanation, see Figure 4 The full-image illumination is the illumination calculated based on the full image, and the local illumination is the illumination calculated based on the ROI area (width 21 / 33, height 1 / 2) in the middle of the upper half of the image. The local illumination is mainly used in some special scenes, such as street lamp scenes at night, where the illumination in the center of the image is high, but the edge of the image is very dark, resulting in low overall illumination.

[0071] In a specific embodiment, the first threshold of the full-image illumination may be 10 lux, the second threshold of the full-image illumination may be 4 lux, the first threshold of the local illumination may be 3.5 lux, and the second threshold of the local illumination may be 0.8 lux. The four thresholds may be adaptively modified based on the user.

[0072] It should be noted that if the full-image illuminance of the current scene is greater than or equal to 10 lux and the local illuminance is greater than or equal to 3.5 lux, then starting from this frame, before the full-image illuminance is less than 4 lux or the local illuminance is less than 0.8 lux, the vote is switched from high beam to low beam;

[0073] If the full - scene illuminance of the current scene is less than 4 lux or the local illuminance is less than 0.8 lux, then starting from this frame, before the full - scene illuminance is greater than or equal to 10 lux and the local illuminance is greater than or equal to 3.5 lux in the following, vote to switch from high beam to low beam.

[0074] In this embodiment, analyzing the brightness data in front of the vehicle to obtain the lighting vote result of the vehicle further includes:

[0075] Obtain the front - vehicle image, vehicle state, headlight attributes, steering - wheel angle, and driving speed of the vehicle;

[0076] If the result of front - vehicle image recognition includes vehicle lights, then the current lighting vote result of the vehicle is to add one vote for low beam;

[0077] If the vehicle state is moving and the headlight attributes are in the on state, then the current lighting vote result of the vehicle is to add one vote for low beam;

[0078] If the driving speed is less than the first speed threshold, then the current lighting vote result of the vehicle is to add one vote for low beam;

[0079] If the driving speed is greater than the first speed threshold, then the current lighting vote result of the vehicle is to add one vote for high beam;

[0080] If the steering - wheel angle is greater than the angle threshold, or the driving speed is greater than or equal to the first speed threshold and less than or equal to the second speed threshold, then no vote is made.

[0081] It should be noted that:

[0082] 1) Scene light source: If there are vehicle lights in the front - vehicle image, then vote to switch to low beam in this frame;

[0083] 2) Vehicle post - processing motion attributes and headlight attributes: For a vehicle in a moving state and the post - processing vehicle information with headlight attributes not all off (off state), then vote to switch to low beam in this frame;

[0084] 3) Self - vehicle steering - wheel angle: If the self - vehicle steering - wheel angle in this frame is greater than 50 degrees (i.e., the angle threshold described in the present invention), then keep the light - state output of the previous frame and do not perform switching;

[0085] 4) Self - vehicle speed: If the self - vehicle speed V < V1 (i.e., the first speed threshold described in the present invention), then vote to switch to high beam in this frame; if the self - vehicle speed V > V2 (i.e., the second speed threshold described in the present invention), vote to switch to low beam in this frame; if V1 ≤ V ≤ V2, then keep the light - state output of the previous frame and do not perform switching;

[0086] Step 102: Judge the total number of votes in the voting queue.

[0087] Step 103: If the total number of votes in the voting queue is less than the preset total vote threshold, the headlight state with the largest number of votes is used as the target headlight state, and the current headlight state of the vehicle is directly switched to the target headlight state.

[0088] Step 104: If the total number of votes in the voting queue is equal to the preset total vote threshold, a light switching decision operation is performed based on the current state of the vehicle lights.

[0089] In this embodiment, the light switching decision operation is performed based on the current state of the vehicle light, including:

[0090] Determine the current status of the vehicle lights, the number of votes for the high beam, and the number of votes for the low beam;

[0091] If the number of votes for high beam is greater than or equal to the vote ratio threshold, the light state will be switched; if the current light state is low beam, the light state will be switched to high beam; if the current light state is high beam, the light state will be switched to low beam;

[0092] If the number of votes for the high beam is less than the vote ratio threshold, the current light state will be maintained.

[0093] In this embodiment, before switching the vehicle light state, the following steps are further included:

[0094] Determine the delay time based on the current light switching result;

[0095] Determining a voting time based on the number of votes in the voting queue;

[0096] Based on the delay time and the voting time, the light switching time is calculated so that the vehicle light state is switched after the light switching time.

[0097] In a specific embodiment, the light switching time = voting time + delay time;

[0098] The longest time is:

[0099] The longest light switching time = the longest voting time (60*0.8=48 frames) + delay time;

[0100] The shortest time is:

[0101] The shortest light switching time = shortest voting time (quick voting 10 frames) + delay time.

[0102] In a specific embodiment, after processing each frame of data, the vote of this frame will be filled into the end of the voting queue. If the queue is full, the front result will be deleted to ensure that the queue always stores the most recent voting result. In the actual processing of each frame, a predetermined logical judgment is made, such as the lux value, the current scene light source status, the vehicle speed, etc., to determine whether the current frame votes for high beam or low beam, and the number of votes. When the high and low beam flags are finally output, the content of the currently maintained voting queue will be judged to determine whether the vehicle is high beam or low beam, as follows:

[0103] 1) When the voting queue is not full, the high beam / low beam status with more votes is output;

[0104] 2) When the voting queue is full (i.e. the total number of votes in the voting queue is equal to the preset total vote threshold):

[0105] a) If the previous output state is low beam, the condition for switching to high beam is that the number of votes for high beam in the queue accounts for more than 80% of the queue length (i.e., the vote proportion threshold of the present invention), then switch to high beam, otherwise maintain low beam;

[0106] b) If the previous output state is high beam, the condition for switching to low beam is that the number of votes for low beam in the queue accounts for more than 80% of the queue length, then switch to low beam, otherwise maintain high beam.

[0107] In this embodiment, the delay time is determined based on the current light switching result, including:

[0108] Determine the light switching result;

[0109] If the switching result is high beam, the delay time is the high beam switching delay time;

[0110] If the switching result is low beam, the delay time is the low beam switching delay time.

[0111] In a specific embodiment, the delay time for switching to high beam may be 2000 ms, and the delay time for switching to low beam may be 300 ms.

[0112] It should be noted that if the request for the corresponding switching state needs to be maintained during the delay period, the light will be switched after the delay; otherwise, the delay will be recalculated according to the new request state.

[0113] It is understandable that the present invention has the following switching logic:

[0114] 1) Fast light switching (typical scenario: overtaking scenario): When there are no moving vehicles or headlights or taillights in the field of view, and the lux value meets the light switching conditions, if this situation lasts for more than 6 frames, then starting from the 7th frame, each voting queue will have a maximum of 1 / 4 of the total length of the voting number, and the voting logic for switching from low beam to high beam can be completed in 10 frames at the fastest;

[0115] 2) Fast light off (typical scenario: being overtaken): When there is a vehicle target very close to the vehicle in the field of view (within 12m), and the vehicle target has both motion attributes and light source (or headlight) attributes, if this situation lasts for more than 6 frames, then starting from the 7th frame, each voting queue will have a maximum of 1 / 4 of the total length, and the voting logic for switching from high beam to low beam can be completed in 10 frames at the fastest;

[0116] 3) Continuous cumulative voting to turn off the lights (typical scenario: oncoming vehicle scenario): For scenarios where there is a distant light source target in the field of view that causes the vehicle to vote to switch from high beam to low beam, as the number of frames of continuous light source detection in post-processing continues, the number of votes per frame will continue to increase, with 1 vote per frame for 0-9 frames, 3 votes per frame for 10-19 frames, and 5 votes per frame for 20-29 frames. In this scenario, only 20+ consecutive frames are needed to complete the voting operation.

[0117] For a better explanation, see Figure 5 , is a flow chart of a vehicle high and low beam switching control method provided by another embodiment.

[0118] It should be noted that the current default parameters can ensure passing the standard regulatory test. If the queue length is reduced, the robustness of the entire automatic high and low beam system will decrease. If modification is required, it is recommended to modify the delay time.

[0119] At the same time, the current low-cost camera can achieve the level of light switching at about 400 to 500 meters in the test field. That is, the model can identify the target light at about 600 meters in the real scene. There may be missed detection at a farther distance.

[0120] See also Figure 2 , Figure 2 It is a structural schematic diagram of a vehicle high and low beam switch control device provided by an embodiment of the present invention, comprising: a data acquisition module 201, a data judgment module 202, a first headlight switch module 203 and a second headlight switch module 204;

[0121] The data acquisition module is used to acquire the current vehicle light status and the voting queue of the high and low beam lights; wherein the vehicle light status includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights;

[0122] The data judgment module is used to judge the total number of votes in the voting queue;

[0123] The first headlight switching module is configured to use the headlight state with the largest number of votes as the target headlight state and directly switch the current headlight state of the vehicle to the target headlight state if the total number of votes in the voting queue is less than a preset total vote threshold;

[0124] The second headlight switching module is configured to execute a light switching operation based on a current headlight state if the total number of votes in the voting queue is equal to a preset total vote threshold.

[0125] It can be understood that the above-mentioned system item embodiment corresponds to the method item embodiment of the present invention, which can implement the vehicle high and low beam switching control method provided by any one of the above-mentioned method item embodiments of the present invention.

[0126] This embodiment obtains the current vehicle light state and the voting queue of the high and low beam lights; wherein the light state includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights; the total number of votes of the voting queue is judged; if the total number of votes in the voting queue is less than the preset total number of votes threshold, the light state with the largest current number of votes is used as the target light state, and the current light state of the vehicle is directly switched to the target light state; if the total number of votes in the voting queue is equal to the preset total number of votes threshold, the light switching decision operation is performed based on the current light state. The present invention controls the high and low beam lights by the light state and the preset high and low beam lights voting queue, and performs the selection of direct light switching or light switching decision based on different total votes. Considering the influence of the outside world on the light switching, the light switching is performed based on the number of votes, which can avoid the problem of wrong light switching caused by sudden changes in the external environment, thereby improving the accuracy of light switching.

[0127] Embodiment 2

[0128] See also Figure 3 , Figure 3 It is a schematic diagram of the structure of a terminal device provided in one embodiment of the present invention.

[0129] A terminal device of this embodiment includes: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, the steps of the above-mentioned vehicle high and low beam switch control method in the embodiment are implemented, for example Figure 1 Alternatively, when the processor executes the computer program, the functions of each module in the above-mentioned device embodiments are realized, for example: Figure 2 All modules of the vehicle's high and low beam switching control device are shown.

[0130] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the vehicle high and low beam switching control method as described in any of the above embodiments.

[0131] Those skilled in the art will understand that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0132] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 301 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0133] The memory 302 can be used to store the computer program and / or module. The processor 301 implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0134] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0135] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0136] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A vehicle high and low beam switch control method, characterized in that: include: Obtain the current vehicle light status and the voting queue for high and low beam lights; wherein the vehicle light status includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights; Determining the total number of votes in the voting queue; If the total number of votes in the voting queue is less than the preset total vote threshold, the headlight state with the largest number of votes is used as the target headlight state, and the current headlight state of the vehicle is directly switched to the target headlight state; If the total number of votes in the voting queue is equal to the preset total vote threshold, the light switching decision operation is performed based on the current light status.

2. The vehicle high and low beam switch control method according to claim 1, characterized in that: The performing of the light switching decision operation based on the current state of the vehicle light includes: Determine the current status of the vehicle lights, the number of votes for the high beam, and the number of votes for the low beam; If the number of votes for high beam is greater than or equal to the vote ratio threshold, the light state will be switched; if the current light state is low beam, the light state will be switched to high beam; if the current light state is high beam, the light state will be switched to low beam; If the number of votes for the high beam is less than the vote ratio threshold, the current light state will be maintained.

3. The vehicle high and low beam switch control method according to claim 2, characterized in that: Before switching the light status, it also includes: Determine the delay time based on the current light switching result; Determining a voting time based on the number of votes in the voting queue; Based on the delay time and the voting time, the light switching time is calculated so that the vehicle light state is switched after the light switching time.

4. The vehicle high and low beam light switching control method according to claim 3, characterized in that: The step of determining the delay time based on the current light switching result includes: Determine the light switching result; If the switching result is high beam, the delay time is the high beam switching delay time; If the switching result is low beam, the delay time is the low beam switching delay time.

5. The vehicle high and low beam switch control method according to claim 1, characterized in that: The acquisition of the voting queue includes: Get the current front brightness data of the vehicle; Analyze the front brightness data of the vehicle to obtain the vehicle lighting voting result; wherein the lighting voting result includes: one of: one vote for the high beam or one vote for the low beam; Fill the light voting result into the last position of the voting queue; wherein, each light voting result is sorted based on the time sequence in which the light voting result is filled into the voting queue; Determine the total number of votes in the current voting queue; If the total number of votes in the voting queue is equal to the preset total vote threshold, the voting result of the light at the first position in the voting queue will be deleted from the voting queue; If the total number of votes in the voting queue is less than the preset total vote threshold, no action is taken.

6. The vehicle high and low beam switch control method according to claim 5, characterized in that: The vehicle front brightness data includes: full-image illuminance and local illuminance; the vehicle front brightness data is analyzed to obtain the vehicle lighting voting result, including: Determining the front brightness data of the vehicle; If the full-image illuminance is greater than or equal to the first full-image illuminance threshold, and the local illuminance is greater than or equal to the first local illuminance threshold, then the current light voting result of the vehicle is low beam plus one vote; If the full-image illuminance is less than the second full-image illuminance threshold, or the local illuminance is less than the second local illuminance threshold, the vehicle's current light voting result is high beam plus one vote; wherein the full-image illuminance first threshold is greater than the full-image illuminance second threshold, and the local illuminance first threshold is greater than the local illuminance second threshold.

7. The vehicle high and low beam switch control method according to claim 5, characterized in that: The analyzing the front brightness data of the vehicle to obtain the vehicle lighting voting result also includes: Obtain the vehicle's front image, vehicle status, headlight attributes, steering wheel angle, and driving speed; If the result of the front image recognition includes the vehicle lights, the current vehicle light voting result is the low beam plus one vote; If the vehicle is in motion and the headlight attribute is on, the current vehicle light voting result is low beam plus one vote; If the driving speed is less than the first speed threshold, the current light voting result of the vehicle is low beam plus one vote; If the driving speed is greater than the first speed threshold, the vehicle's current light voting result is high beam plus one vote; If the steering wheel angle is greater than the angle threshold, or the driving speed is greater than or equal to the first speed threshold and less than or equal to the second speed threshold, no voting is performed.

8. A vehicle high and low beam switch control device, characterized in that: include: A data acquisition module, a data judgment module, a first headlight switching module, and a second headlight switching module; The data acquisition module is used to acquire the current vehicle light status and the voting queue of the high and low beam lights; wherein the vehicle light status includes: high beam lights and low beam lights; the voting queue includes: the number of votes for the high beam lights and the number of votes for the low beam lights; The data judgment module is used to judge the total number of votes in the voting queue; The first headlight switching module is configured to use the headlight state with the largest number of votes as the target headlight state and directly switch the current headlight state of the vehicle to the target headlight state if the total number of votes in the voting queue is less than a preset total vote threshold; The second headlight switching module is configured to perform a light switching operation based on a current headlight state if the total number of votes in the voting queue is equal to a preset total vote threshold.

9. A computer terminal device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a vehicle high-beam and low-beam switching control method as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute a vehicle high-beam and low-beam switching control method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Automotive far-reaching headlamp control device

    CN101428584A

  • Intelligent control method and device for vehicle high beam, equipment and storage medium

    CN115027349A

  • Headlamp having selectable beam

    US20080225535A1

  • Method for controlling a motor vehicle headlight

    US20190011107A1