Vehicle brake lamp control method, device and equipment and storage medium

By integrating the brake light switch in the integrated brake control system, and using the multi-signal verification mechanism of the brake light switch signal, pedal stroke signal and hydraulic signal, the power supply and signal line of the traditional brake light switch are solved. The problem is that more accurate and reliable brake light control is achieved, improving driving safety.

CN118906963APending Publication Date: 2024-11-08FIGURE INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411033638.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

Traditional vehicle brake light switches use separate power supply and signal lines, which are easily damaged, resulting in failure of the brake light switch function and affecting the reliability of the brake light.

Method used

Integrated brake light switches in the integrated brake control system, by obtaining brake light switch signals, brake pedal stroke signals and hydraulic signals, the effectiveness checks and multi-signal verification are performed to ensure that the brake light is effective and ineffective Accurate lighting in the case.

Benefits of technology

It improves the accuracy and reliability of brake light control, reduces the number of parts, enhances the management of vehicle nodes, facilitates timely reflection of drivers' braking operations, and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118906963A_ABST
    Figure CN118906963A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle brake lamp control method, device and equipment and a storage medium, and the method comprises the steps: obtaining a brake lamp switch signal corresponding to a brake lamp switch, and a brake pedal travel signal and a hydraulic signal of a vehicle, carrying out the validity verification of the brake lamp switch signal, and judging whether the brake lamp switch signal is valid or not; if the brake lamp switching signal is valid, first verification is conducted on the brake lamp switching signal and the brake pedal travel signal, if the first verification is passed, a vehicle brake lamp is controlled to be lightened, if the brake lamp switching signal is invalid, second verification is conducted on the brake pedal travel signal and the hydraulic signal, and if the second verification is passed, the vehicle brake lamp is controlled to be lightened. The brake lamp switch function is integrated through the integrated brake control system, a multi-signal verification mechanism of the brake lamp switch signal, the brake pedal travel signal and the hydraulic signal is utilized, the situation that the brake lamp switch is abnormal due to a single signal of the brake lamp switch is avoided, and the brake lamp control accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] The brake light switch in a vehicle is a type of switch that controls the brake light by identifying the braking intention by stepping on the brake pedal. The traditional brake light switch is a physical device that is usually composed of electronic components such as Hall sensors, high-side and low-side MOS, diodes, capacitors, and resistors.

[0003] At present, in conventional power models, the brake light switch signal is collected by the body control module and forwarded to other modules through the CAN network; in hybrid models, the brake light switch signal is collected by the hybrid control unit (HCU) or the vehicle control unit (VCU) and also transmitted through the CAN network. The brake light switch signal is only received and processed by a single electronic control unit (ECU), and the traditional brake light switch is an independent component supply, usually installed on the brake pedal with a separate power supply line and signal transmission line to identify the driver's braking intention. However, the separate power supply and signal lines are easily damaged. Any damage to the power supply or signal line will cause the brake light switch to fail, thereby affecting the vehicle's startup and shutdown, and further affecting the reliability of the brake light control. Summary of the invention

[0004] In view of this, the present invention aims to propose a vehicle brake light control method, device, equipment and storage medium to solve the problem that the current brake light switch uses separate power supply and signal lines, which easily leads to brake light switch function failure and affects the reliability of the brake light switch, and realizes effective and reliable brake light lighting control.

[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0006] In a first aspect of the present invention, a vehicle brake light control method is provided, which is applied to an integrated brake control system, wherein a brake light switch is integrated in the integrated brake control system, and the method comprises:

[0007] Acquire a brake light switch signal corresponding to the brake light switch, as well as a brake pedal travel signal and a hydraulic signal of the vehicle;

[0008] Performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid;

[0009] If the brake light switch signal is valid, performing a first check on the brake light switch signal and the brake pedal travel signal, and if the first check passes, controlling the vehicle brake light to light up;

[0010] If the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal, and if the second check passes, the vehicle brake light is controlled to light up.

[0011] Optionally, performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid includes:

[0012] preprocessing the brake light switch signal;

[0013] determining whether the preprocessed brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal;

[0014] If the brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal, it is determined that the brake light switch signal is valid.

[0015] Optionally, if the brake light switch signal is valid, performing a first check on the brake light switch signal and the brake pedal travel signal, and controlling the vehicle brake light to light up if the first check passes, comprises:

[0016] If the brake light switch signal is valid, determining the switch state of the brake light switch signal;

[0017] Performing a first check on the brake light switch signal and the brake pedal travel signal; wherein the first check is used to check whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal;

[0018] If the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check is passed;

[0019] When the first verification is passed, the vehicle brake lights are controlled to light up.

[0020] Optionally, if the brake light switch signal is invalid, performing a second check on the brake pedal travel signal and the hydraulic signal, and controlling the vehicle brake light to light up if the second check passes, comprises:

[0021] If the brake light switch signal is invalid, performing a second check on the brake pedal travel signal and the hydraulic signal; wherein the second check is used to check the corresponding relationship between the brake pedal travel signal and the hydraulic signal;

[0022] If the corresponding relationship between the brake pedal travel signal and the hydraulic pressure signal satisfies the preset pressure building curve, the second check is passed;

[0023] When the second verification is passed, the vehicle brake lights are controlled to light up.

[0024] Optionally, controlling the vehicle brake lights to light up includes:

[0025] Sending a brake light lighting request signal to a controller area network;

[0026] In response to the brake light lighting request signal, the brake lights are lit by the vehicle electronic control unit.

[0027] Optionally, before acquiring the brake light switch signal corresponding to the brake light switch, and the brake pedal travel signal and the hydraulic signal of the vehicle, the method further includes:

[0028] Detecting that the integrated brake control system is powered on, initializing the integrated brake control system;

[0029] The status of sensors in an initialized integrated brake control system is monitored; wherein the sensors include a brake light switch, a brake pedal, and a hydraulic simulator.

[0030] Optionally, if the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal, and after the second check passes, the vehicle brake light is controlled to light up, the method further includes:

[0031] If the first check or the second check fails, a brake light abnormality reminder is issued.

[0032] In a second aspect of the present invention, a vehicle brake light control device is provided, which is applied to an integrated brake control system, wherein a brake light switch is integrated in the integrated brake control system, and the device comprises:

[0033] A signal acquisition module, used to acquire a brake light switch signal corresponding to the brake light switch, as well as a brake pedal travel signal and a hydraulic signal of the vehicle;

[0034] A signal verification module, used to verify the validity of the brake light switch signal to determine whether the brake light switch signal is valid;

[0035] A first control module, configured to perform a first check on the brake light switch signal and the brake pedal travel signal if the brake light switch signal is valid, and control the vehicle brake light to light up if the first check passes;

[0036] The second control module is used to perform a second check on the brake pedal travel signal and the hydraulic signal if the brake light switch signal is invalid, and control the vehicle brake lights to light up if the second check passes.

[0037] Optionally, the signal verification module includes:

[0038] A preprocessing submodule, used for preprocessing the brake light switch signal;

[0039] A first judgment submodule, used for judging whether the preprocessed brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal;

[0040] The first determination submodule is configured to determine that the brake light switch signal is valid if the brake light switch signal matches the brake pedal travel signal and the hydraulic signal.

[0041] Optionally, the first control module includes:

[0042] a second determination submodule, configured to determine a switch state of the brake light switch signal if the brake light switch signal is valid;

[0043] A first check submodule, used for performing a first check on the brake light switch signal and the brake pedal travel signal; wherein the first check is used for checking whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal;

[0044] a matching submodule, configured to pass the first check if the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal;

[0045] The first control submodule is used to control the vehicle brake lights to light up when the first verification passes.

[0046] Optionally, the second control module includes:

[0047] A second verification submodule, configured to perform a second verification on the brake pedal travel signal and the hydraulic signal if the brake light switch signal is invalid; wherein the second verification is configured to verify a corresponding relationship between the brake pedal travel signal and the hydraulic signal;

[0048] A second judgment submodule, configured to determine that the second check is passed if the corresponding relationship between the brake pedal travel signal and the hydraulic pressure signal satisfies a preset pressure building curve;

[0049] The second control submodule is used to control the vehicle brake lights to light up when the second verification passes.

[0050] Optionally, the first control submodule or the second control submodule is specifically configured to:

[0051] A request unit, used for sending a request signal for lighting the brake lights to a controller area network;

[0052] The control unit is used to light up the brake lights via a vehicle electronic control unit in response to the brake lights lighting request signal.

[0053] Optionally, the device further comprises:

[0054] A processing module, configured to detect that the integrated braking control system is powered on and perform initialization processing on the integrated braking control system;

[0055] The monitoring signal module is used to monitor the status of sensors in the integrated brake control system after initialization; wherein the sensors include a brake light switch, a brake pedal and a hydraulic simulator.

[0056] Optionally, the device further comprises:

[0057] The reminder module is used to issue a brake light abnormality reminder if the first verification or the second verification fails.

[0058] According to another aspect of the present invention, there is also provided an electronic device, comprising:

[0059] processor;

[0060] a memory for storing instructions executable by the processor;

[0061] The processor is configured to execute the instructions to implement the vehicle brake light control method as described above.

[0062] According to another aspect of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle brake light control method as described above are implemented.

[0063] The vehicle brake light control method of the present invention has the following advantages:

[0064] The vehicle brake light control method provided by the embodiment of the present invention obtains the brake light switch signal corresponding to the brake light switch, as well as the brake pedal travel signal and the hydraulic signal of the vehicle, performs validity check on the brake light switch signal, determines whether the brake light switch signal is valid, if the brake light switch signal is valid, performs a first check on the brake light switch signal and the brake pedal travel signal, and controls the vehicle brake light to light up if the first check passes, and if the brake light switch signal is invalid, performs a second check on the brake pedal travel signal and the hydraulic signal, and controls the vehicle brake light to light up if the second check passes. The embodiment of the present invention integrates the brake light switch function through an integrated brake control system, reduces the number of components, and has a higher degree of component integration, which is convenient for vehicle node management, utilizes a multi-signal check mechanism of the brake light switch signal, the brake pedal travel signal and the hydraulic signal, avoids the brake light switch abnormality caused by a single signal of the brake light switch, performs redundant signal checks in different situations where the brake light switch signal is valid and invalid, makes the brake light lighting more accurate, can timely and effectively reflect the driver's braking operation, improves the accuracy of brake light control, and accurate brake light control helps to send correct brake signals to rear vehicles and pedestrians, further improving driving safety.

[0065] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0067] Figure 1 is a flow chart of steps of a vehicle brake light control method provided by an embodiment of the present invention;

[0068] Figure 2 yes Figure 1 The flowchart of step 102 in the vehicle brake light control method provided by the embodiment of the present invention is shown;

[0069] Figure 3 yes Figure 1 The flowchart of step 103 in the vehicle brake light control method provided by the embodiment of the present invention is shown;

[0070] Figure 4 yes Figure 1 The flowchart of step 104 in the vehicle brake light control method provided by the embodiment of the present invention is shown;

[0071] Figure 5is a flowchart of another vehicle brake light control method provided by an embodiment of the present invention;

[0072] Figure 6 is a schematic diagram of a vehicle brake light control method provided by an embodiment of the present invention;

[0073] Figure 7 is a scene schematic diagram of a vehicle brake light control method provided by an embodiment of the present invention;

[0074] Figure 8 is a flow chart of a vehicle brake light control method provided by an embodiment of the present invention;

[0075] Fig. 9 is a structural schematic diagram of a vehicle brake light control device provided by an embodiment of the present invention;

[0076] Fig.10 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0077] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0078] The first embodiment of the present invention relates to a vehicle brake light control method. Figure 1 , shows a flow chart of the steps of a vehicle brake light control method provided by an embodiment of the present invention, which is applied to an integrated brake control system, wherein a brake light switch is integrated in the integrated brake control system, and the vehicle brake light control method comprises the following steps:

[0079] Step 101, obtaining a brake light switch signal corresponding to the brake light switch, and a brake pedal travel signal and a hydraulic pressure signal of the vehicle.

[0080] In the embodiment of the present invention, in order to solve the problem that the current brake light switch uses a separate power supply and signal line, which may cause the brake light switch to fail and affect the reliability of the brake light switch, the brake light switch is integrated into the integrated brake control system in this embodiment. When the vehicle is started, the integrated brake control system automatically performs an initialization self-check to ensure that all sensors and switches are working properly. When the driver steps on the brake pedal, the integrated brake control system simultaneously obtains the brake light switch signal, the brake pedal travel signal and the hydraulic signal, and first performs a validity check on the brake light switch signal. If the brake light switch signal is valid, it is further checked with the brake pedal travel signal to check the consistency of the brake light switch signal and the brake pedal travel signal to ensure that the two are logically matched. If the check passes, the vehicle brake light is controlled to light up. If the brake light switch signal is invalid, only the brake pedal travel signal and the hydraulic signal are checked to analyze whether the change trends of the brake pedal travel signal and the hydraulic signal meet the corresponding relationship. If the check passes, the vehicle brake light is also controlled to light up, thereby achieving effective and reliable brake light lighting control.

[0081] Specifically, refer to Figure 7 , shows a scenario schematic diagram of a vehicle brake light control method provided by an embodiment of the present invention, the integrated brake control system includes a vehicle electronic control unit ECU and a hybrid power control unit HCU, the vehicle brake pedal is integrated with the hybrid power control unit, the brake light switch is integrated in the integrated brake control system, when the pedal is stepped on, the brake light switch signal, the brake pedal travel signal and the hydraulic signal are sent out at the same time, the vehicle electronic control unit obtains the above sensor signals from the hybrid power control unit, analyzes and processes the signal validity and signal value, and outputs the corresponding network signal information.

[0082] In this embodiment, the vehicle electronic control unit in the integrated brake control system obtains the brake light switch signal corresponding to the brake light switch, as well as the vehicle's brake pedal travel signal and hydraulic signal from the hybrid power control unit, so as to interpret the signal validity and signal value and obtain corresponding signal information.

[0083] It should be noted that PTS (brake pedal travel signal), HPS (hydraulic signal) and BLS (brake light switch signal) are key signals in the integrated brake control system. The brake pedal travel signal refers to the displacement of the brake pedal when it is stepped on. It is usually measured by a sensor (such as a displacement sensor or an angle sensor) installed on the brake pedal and converted into an electrical signal, which is used to provide information about the driver's braking intention to the vehicle electronic control unit; the hydraulic signal detected by the pressure sensor is a signal used to measure the hydraulic pressure in the brake system, which can detect the pressure change of the brake fluid. Among them, RES is a device that provides brake fluid to the ECU. The HPS signal is used to monitor the working status of the brake system, especially in the hydraulic brake system, which can help the ECU determine whether the pressure of the brake system is normal; the brake light switch is an electronic or mechanical switch. When the brake pedal is stepped on, the brake light switch will close or change state, thereby triggering the brake lights at the rear of the vehicle to light up. The brake light switch signal is used to directly control the lighting of the vehicle's brake lights, indicating to the rear vehicles and pedestrians that the front vehicle is braking to improve driving safety.

[0084] Step 102, performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid.

[0085] In the embodiment of the present invention, after the vehicle electronic control unit in the integrated brake control system obtains the brake light switch signal, it verifies the validity of the brake light switch signal to determine whether the brake light switch signal is valid, so that when the brake light switch signal is valid, the brake light is controlled to light up through the brake light switch signal; if the brake light switch signal is invalid, it is verified through other signals to ensure that the brake light can be correctly lit under various circumstances.

[0086] Specifically, the brake light switch signal is first preprocessed and converted into a digital signal to determine the amplitude of the signal and check whether the amplitude, frequency and duration of the signal are within a normal range. For example, when the brake pedal is pressed, the BLS signal changes from a low level to a high level and returns to a low level when the pedal is released. Secondly, it is determined whether the preprocessed brake light switch signal matches the brake pedal travel signal and the hydraulic signal. If the brake light switch signal matches the brake pedal travel signal and the hydraulic signal, it is determined that the brake light switch signal is valid.

[0087] Step 103: If the brake light switch signal is valid, a first check is performed on the brake light switch signal and the brake pedal travel signal. If the first check passes, the vehicle brake light is controlled to light up.

[0088] In an embodiment of the present invention, if the brake light switch signal is valid, the switch state of the brake light switch signal is determined, and a first check is performed on the brake light switch signal and the brake pedal travel signal. The first check is used to check whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal. If the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check passes. If the first check passes, the vehicle brake lights are controlled to light up.

[0089] It should be noted that, to determine whether the brake light switch signal is valid, if the brake light switch signal is valid, the brake light switch signal is analyzed and processed to determine the switch state of the brake light switch signal, that is, whether the switch is in a closed state or an open state, and then the brake light switch signal and the brake pedal travel signal are first checked. The purpose of the first check is to ensure that the two signals are logically consistent, that is, when the brake pedal is stepped on, the brake light switch signal should be displayed as a closed state, otherwise it is an open state. If the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check passes, indicating that the two signals are logically consistent and there is no contradiction. If the first check passes, the brake lights of the vehicle are controlled to light up, and the driver needs to send a brake signal to the vehicles and pedestrians behind when stepping on the brake pedal to improve driving safety.

[0090] Step 104: If the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal. If the second check passes, the vehicle brake light is controlled to light up.

[0091] In an embodiment of the present invention, if the brake light switch signal is invalid, a second check is performed on the brake pedal stroke signal and the hydraulic signal. The second check is used to check the correspondence between the brake pedal stroke signal and the hydraulic signal. If the correspondence between the brake pedal stroke signal and the hydraulic signal satisfies a preset pressure building curve, the second check passes. If the second check passes, the vehicle brake lights are controlled to light up.

[0092] Specifically, if the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal. The purpose of the second check is to ensure that the two signals are logically consistent, that is, when the brake pedal is pressed, the hydraulic signal should show that the pressure in the brake system increases, and vice versa. If the corresponding relationship between the brake pedal travel signal and the hydraulic signal satisfies the preset pressure build-up curve, the second check passes. If the second check passes, the brake lights of the vehicle are controlled to light up. Among them, the preset pressure build-up curve describes the law of how the hydraulic pressure in the brake system changes over time when the brake pedal is pressed. If the second check passes, the brake lights of the vehicle are controlled to light up, indicating that the driver is indeed pressing the brake pedal, and a brake signal needs to be sent to the vehicles and pedestrians behind to improve driving safety.

[0093] The vehicle brake light control method provided by the embodiment of the present invention obtains the brake light switch signal corresponding to the brake light switch, as well as the brake pedal travel signal and the hydraulic signal of the vehicle, performs validity check on the brake light switch signal, determines whether the brake light switch signal is valid, if the brake light switch signal is valid, performs a first check on the brake light switch signal and the brake pedal travel signal, and controls the vehicle brake light to light up if the first check passes, and if the brake light switch signal is invalid, performs a second check on the brake pedal travel signal and the hydraulic signal, and controls the vehicle brake light to light up if the second check passes. The embodiment of the present invention integrates the brake light switch function through an integrated brake control system, reduces the number of components, and has a higher degree of component integration, which is convenient for vehicle node management, utilizes a multi-signal check mechanism of the brake light switch signal, the brake pedal travel signal and the hydraulic signal, avoids the brake light switch abnormality caused by a single signal of the brake light switch, performs redundant signal checks in different situations where the brake light switch signal is valid and invalid, makes the brake light lighting more accurate, can timely and effectively reflect the driver's braking operation, improves the accuracy of brake light control, and accurate brake light control helps to send correct brake signals to rear vehicles and pedestrians, further improving driving safety.

[0094] Further, see Figure 2 , showing Figure 1 A flowchart of step 102 of the vehicle brake light control method is provided. The method is substantially the same as the vehicle brake light control method provided in the first embodiment of the present invention. Step 102 includes:

[0095] Step 201, pre-processing the brake light switch signal.

[0096] Step 202 , determining whether the pre-processed brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal.

[0097] Step 203: If the brake light switch signal matches the brake pedal travel signal and the hydraulic signal, it is determined that the brake light switch signal is valid.

[0098] It should be noted that, in the embodiment of the present invention, the brake light switch signal is first preprocessed. The purpose of the preprocessing is to remove noise and interference in the signal and ensure the accuracy and reliability of the signal. The preprocessing may include filtering, amplification, digitization and other operations. Secondly, it is determined whether the preprocessed brake light switch signal matches the brake pedal travel signal and the hydraulic signal. The purpose of the matching is to ensure that the three signals are logically consistent, that is, when the brake pedal is stepped on, the brake light switch signal should be displayed as a closed state, and the hydraulic signal should show an increase in pressure in the braking system. If the brake light switch signal matches the brake pedal travel signal and the hydraulic signal, it is determined that the brake light switch signal is valid, that is, the brake light switch signal can accurately reflect the driver's braking intention, so as to further control the lighting of the brake light.

[0099] The embodiment of the present invention ensures the validity of the brake light switch signal by preprocessing and matching the brake light switch signal, improves the reliability and safety of the brake light switch control, and reduces misoperation caused by signal errors or failures. Accurate brake light switch signals help to send correct brake signals to rear vehicles and pedestrians, thereby improving driving safety.

[0100] Further, see Figure 3 , showing Figure 1 A flowchart of step 103 of the vehicle brake light control method is provided. The method is substantially the same as the vehicle brake light control method provided in the first embodiment of the present invention. Step 103 includes:

[0101] Step 301: If the brake light switch signal is valid, determine the switch state of the brake light switch signal.

[0102] Step 302, performing a first check on the brake light switch signal and the brake pedal travel signal; wherein the first check is used to check whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal.

[0103] Step 303: If the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check is passed.

[0104] Step 304: When the first verification is passed, the vehicle brake lights are controlled to light up.

[0105] It should be noted that, in the embodiment of the present invention, if the brake light switch signal is valid, the switch state of the brake light switch signal is first determined, that is, whether the brake light switch is in a closed state or an open state, and a first check is performed on the brake light switch signal and the brake pedal travel signal. The first check is used to check whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, with the purpose of ensuring that the two signals are logically consistent, that is, when the brake pedal is stepped on, the brake light switch signal should be displayed as a closed state, otherwise it is an open state.

[0106] Specifically, if the switching state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check is passed and the two signals are logically consistent. Specifically, when the brake pedal is stepped on, the brake light switch signal should change from an open state to a closed state; when the brake pedal is released, the brake light switch signal should change from a closed state to an open state. When the brake pedal is stepped on, the brake pedal travel signal should show an increase in displacement, indicating the degree to which the pedal is stepped on; when the brake pedal is released, the brake pedal travel signal should show a decrease in displacement, indicating the degree to which the pedal is released. If the switching state of the brake light switch signal is logically consistent with the displacement of the brake pedal travel signal, that is, when the brake pedal is stepped on, the brake light switch signal displays a closed state, and the brake pedal travel signal displays an increase in displacement; when the brake pedal is released, the brake light switch signal displays a disconnected state, and the brake pedal travel signal displays a decrease in displacement, then the two signals match, and the first check is passed. When the first check is passed, the vehicle brake lights are controlled to light up.

[0107] In this embodiment, when the brake light switch signal is valid, the switch state of the brake light switch signal is checked to see whether it matches the displacement of the brake pedal travel signal, thereby ensuring that the brake light switch signal can accurately reflect the driver's braking intention, thereby making the control of the vehicle's brake lights more reliable and safer. By checking the signal relationship, it is possible to accurately determine when to light the brake lights, send correct brake signals to rear vehicles and pedestrians, and improve driving safety.

[0108] Further, see Figure 4 , showing Figure 1 A flowchart of step 104 of the vehicle brake light control method is provided. The method is substantially the same as the vehicle brake light control method provided in the first embodiment of the present invention. Step 104 includes:

[0109] Step 401, if the brake light switch signal is invalid, perform a second check on the brake pedal travel signal and the hydraulic signal; wherein the second check is used to check the correspondence between the brake pedal travel signal and the hydraulic signal.

[0110] Step 402: If the corresponding relationship between the brake pedal travel signal and the hydraulic signal satisfies the preset pressure building curve, the second check is passed.

[0111] Step 403, when the second verification passes, control the vehicle brake lights to light up.

[0112] It should be noted that in the embodiment of the present invention, if the brake light switch signal is invalid, the brake light judgment cannot be performed through the brake light switch signal. In this embodiment, the brake pedal travel signal and the hydraulic signal are subjected to a second check, and the brake light switch signal is subjected to a redundant check to improve the signal quality and accuracy. Specifically, the second check is used to check the corresponding relationship between the brake pedal travel signal and the hydraulic signal, with the purpose of ensuring that the two signals are logically consistent, that is, when the brake pedal is stepped on, the hydraulic signal should show that the pressure in the brake system increases, otherwise it is a pressure decrease.

[0113] In this embodiment, if the corresponding relationship between the brake pedal travel signal and the hydraulic signal satisfies the preset pressure building curve, the second check is passed, wherein, with reference to Figure 6 The preset pressure build-up curve describes the law of how the hydraulic pressure in the brake system changes over time when the brake pedal is pressed. The preset pressure build-up curve is pre-set based on the design parameters and performance requirements of the brake system. If the second check passes, the driver is indeed pressing the brake pedal and needs to send a brake signal to the rear vehicles and pedestrians, then the brake lights of the vehicle will be controlled to light up to improve driving safety.

[0114] It should be noted that the brake pedal travel signal reflects the degree to which the driver presses the brake pedal, and the hydraulic signal reflects the change in hydraulic pressure in the brake system. The purpose of checking the correspondence between these two signals is to ensure that when the brake pedal is pressed, the hydraulic signal shows that the pressure in the brake system increases, and vice versa. If the correspondence between the brake pedal travel signal and the hydraulic signal meets the preset pressure building curve, the check is passed, which can ensure the consistency of the brake pedal travel signal and the hydraulic signal, thereby ensuring the normal operation of the brake system, reducing misoperation caused by signal errors or failures, and improving the reliability and safety of brake light control.

[0115] In the embodiment of the present invention, when the brake light switch signal is invalid, the brake light switch signals are verified with each other by verifying the consistency of the brake pedal travel signal and the hydraulic signal, thereby improving signal safety and accuracy, reducing the risk of false triggering, and achieving accurate lighting of the brake light, effectively improving driving safety, and further improving the reliability of brake light switch control.

[0116] Specifically, controlling the vehicle brake lights to light up includes:

[0117] Sending a brake light lighting request signal to a controller area network;

[0118] In response to the brake light lighting request signal, the brake lights are lit by the vehicle electronic control unit.

[0119] It should be noted that in the above steps, when the brake pedal is pressed, the integrated brake control system will generate a request signal for lighting the brake lights, which is usually generated by the brake light switch or related sensors. The generated request signal for lighting the brake lights will be sent to the vehicle's controller area network (CAN). The CAN network is a serial communication protocol that allows data to be exchanged between various electronic control units (ECUs) in the vehicle. The vehicle's electronic control unit will receive the request signal for lighting the brake lights from the CAN network and perform corresponding operations based on the content of the signal. The ECU will recognize the request for lighting the brake lights and send instructions to the control circuit of the brake lights to light up the brake lights, activate the power circuit of the brake lights, and make the bulbs or LEDs emit light.

[0120] In the embodiment of the present invention, the vehicle can realize automatic control of the brake lights, ensuring that when the driver steps on the brake pedal, the brake lights can be lit in time, sending brake signals to the vehicles and pedestrians behind, improving driving safety. The integrated brake control system integrates the brake light switch function, reduces the number of parts, reduces the vehicle cost, has a higher degree of parts integration, and is convenient for vehicle node management.

[0121] Reference Figure 5 , shows a flow chart of steps of another vehicle brake light control method provided by an embodiment of the present invention, which method is basically the same as the vehicle brake light control method provided by the first embodiment of the present invention, except that the method may further include:

[0122] Step 105 , detecting that the integrated braking control system is powered on, and initializing the integrated braking control system.

[0123] In this embodiment, it is detected that the integrated braking control system is powered on, the vehicle's power has been connected, the integrated braking control system starts to work, and the integrated braking control system is initialized. The purpose of initialization is to ensure that all components and functions in the integrated braking control system are in normal working condition, including sensors, control units and actuators.

[0124] Step 106 , monitoring the status of sensors in the initialized integrated brake control system; wherein the sensors include a brake light switch, a brake pedal, and a hydraulic simulator.

[0125] In this embodiment, the status of sensors in the integrated brake control system after initialization is monitored, and the sensors include a brake light switch, a brake pedal, and a hydraulic simulator. Specifically, the status of the brake light switch is monitored to ensure that the switch can accurately reflect the operation of the brake pedal; the status of the brake pedal is monitored, including the displacement and speed of the pedal, to ensure that the operation of the pedal can be accurately detected; the status of the hydraulic simulator is monitored, including the change in hydraulic pressure, to ensure that the brake system can respond to the driver's braking operation as expected.

[0126] Step 101, obtaining a brake light switch signal corresponding to the brake light switch, and a brake pedal travel signal and a hydraulic pressure signal of the vehicle.

[0127] Step 102, performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid.

[0128] Step 103: If the brake light switch signal is valid, a first check is performed on the brake light switch signal and the brake pedal travel signal. If the first check passes, the vehicle brake light is controlled to light up.

[0129] Step 104: If the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal. If the second check passes, the vehicle brake light is controlled to light up.

[0130] The above steps 101 to 104 are described in the foregoing description and will not be repeated here.

[0131] Compared with the prior art, the embodiments of the present invention, on the basis of achieving the beneficial effects brought by the first embodiment, perform necessary initialization processing after the integrated braking control system is powered on, and monitor the status of key sensors to ensure the normal operation of the braking system. The initialization and monitoring mechanism improves the reliability and safety of the system and reduces erroneous operations caused by system failures or sensor errors. Through initialization and sensor status monitoring, the reliability of the integrated braking control system can be improved.

[0132] Specifically, if the brake light switch signal is invalid, the brake pedal travel signal and the hydraulic signal are subjected to a second check, and after the second check passes, the vehicle brake light is controlled to light up, the method further includes:

[0133] If the first check or the second check fails, a brake light abnormality reminder is issued.

[0134] In the embodiment of the present invention, if the first check or the second check fails, the system will determine that there is an abnormality in the brake light control, wherein the first check is used to check the consistency between the brake light switch signal and the brake pedal travel signal, and the second check is used to check the consistency between the brake pedal travel signal and the hydraulic signal. In response to the failure of the check, the system will issue a brake light abnormality reminder to inform the driver that there may be a problem with the brake light control system and that it needs to be inspected and repaired. In this embodiment, the brake light abnormality reminder can be implemented in a variety of ways, such as: the warning light on the dashboard lights up, a voice prompt is issued, a text prompt is displayed on the vehicle's central control screen, and a notification is sent to the driver's mobile phone through the vehicle's telematics system, etc., which will not be repeated here.

[0135] In order to facilitate those skilled in the art to fully understand the above vehicle brake light control method, refer to Figure 8 , Figure 8 FIG. 1 is a flow chart of a vehicle brake light control method provided by an embodiment of the present invention, which shows the overall process of vehicle brake light control provided by an embodiment of the present invention, specifically including:

[0136] S501, the integrated brake control system is powered on and initialized;

[0137] In this embodiment, it is detected that the integrated braking control system is powered on, the vehicle's power has been connected, the integrated braking control system starts to work, and the integrated braking control system is initialized. The purpose of initialization is to ensure that all components and functions in the integrated braking control system are in normal working condition, including sensors, control units and actuators.

[0138] S502, determining whether the brake light switch signal is valid;

[0139] In this embodiment, after the vehicle electronic control unit in the integrated brake control system obtains the brake light switch signal, it verifies the validity of the brake light switch signal to determine whether the brake light switch signal is valid, so that when the brake light switch signal is valid, the brake light is controlled to light up through the brake light switch signal. If the brake light switch signal is invalid, it verifies through other signals to ensure that the brake light can light up correctly under various circumstances. Specifically, if the brake light switch signal is valid, it proceeds to step 503 to determine whether the brake light switch signal and the brake pedal travel signal are logically corresponding. If the brake light switch signal is invalid, it proceeds to step 504 to determine whether the brake pedal travel signal and the hydraulic signal are logically corresponding.

[0140] S503, determining whether the brake light switch signal and the brake pedal travel signal are logically corresponding;

[0141] Specifically, if the brake light switch signal is valid, the switch state of the brake light switch signal is determined, and a first check is performed on the brake light switch signal and the brake pedal travel signal. The first check is used to check whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal. If the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check passes. If the first check passes, enter step 505 to control the vehicle brake lights to light up.

[0142] S504, determining whether the brake pedal travel signal and the hydraulic pressure signal logic correspond;

[0143] Specifically, if the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal. The second check is used to check the correspondence between the brake pedal travel signal and the hydraulic signal. If the correspondence between the brake pedal travel signal and the hydraulic signal satisfies the preset pressure building curve, the second check passes. If the second check passes, enter step 505 to control the vehicle's brake lights to light up.

[0144] S505, controlling the vehicle brake lights to light up.

[0145] The embodiment of the present invention integrates the brake light switch function through an integrated brake control system, reduces the number of components, and has a higher degree of component integration, which is convenient for vehicle node management. It utilizes a multi-signal verification mechanism of a brake light switch signal, a brake pedal travel signal, and a hydraulic signal to avoid brake light switch abnormalities caused by a single brake light switch signal. It performs redundant signal verification in different situations where the brake light switch signal is valid and invalid, so that the lighting of the brake light is more accurate, and can timely and effectively reflect the driver's braking operation, thereby improving the accuracy of brake light control. Accurate brake light control helps to send correct brake signals to rear vehicles and pedestrians, further improving driving safety.

[0146] Reference Fig. 9 , shows a schematic structural diagram of a vehicle brake light control device provided by an embodiment of the present invention, which is applied to an integrated brake control system, wherein a brake light switch is integrated in the integrated brake control system, and the device comprises:

[0147] A signal acquisition module 601 is used to acquire a brake light switch signal corresponding to the brake light switch, as well as a brake pedal travel signal and a hydraulic signal of the vehicle;

[0148] A signal verification module 602, used to verify the validity of the brake light switch signal to determine whether the brake light switch signal is valid;

[0149] A first control module 603 is used for, if the brake light switch signal is valid, performing a first check on the brake light switch signal and the brake pedal travel signal, and controlling the vehicle brake light to light up if the first check passes;

[0150] The second control module 604 is used to perform a second check on the brake pedal travel signal and the hydraulic signal if the brake light switch signal is invalid, and control the vehicle brake lights to light up if the second check passes.

[0151] Furthermore, the signal verification module 602 includes:

[0152] A preprocessing submodule, used for preprocessing the brake light switch signal;

[0153] A first judgment submodule, used for judging whether the preprocessed brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal;

[0154] The first determination submodule is configured to determine that the brake light switch signal is valid if the brake light switch signal matches the brake pedal travel signal and the hydraulic signal.

[0155] Furthermore, the first control module 603 includes:

[0156] a second determination submodule, configured to determine a switch state of the brake light switch signal if the brake light switch signal is valid;

[0157] A first check submodule, used for performing a first check on the brake light switch signal and the brake pedal travel signal; wherein the first check is used for checking whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal;

[0158] a matching submodule, configured to pass the first check if the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal;

[0159] The first control submodule is used to control the vehicle brake lights to light up when the first verification passes.

[0160] Furthermore, the second control module 604 includes:

[0161] a second verification submodule, configured to perform a second verification on the brake pedal travel signal and the hydraulic signal if the brake light switch signal is valid; wherein the second verification is configured to verify a corresponding relationship between the brake pedal travel signal and the hydraulic signal;

[0162] A second judgment submodule, configured to determine that the second check is passed if the corresponding relationship between the brake pedal travel signal and the hydraulic pressure signal satisfies a preset pressure building curve;

[0163] The second control submodule is used to control the vehicle brake lights to light up when the second verification passes.

[0164] Furthermore, the first control submodule or the second control submodule is specifically used for:

[0165] A request unit, used for sending a request signal for lighting the brake lights to a controller area network;

[0166] The control unit is used to light up the brake lights via a vehicle electronic control unit in response to the brake lights lighting request signal.

[0167] Furthermore, the device also includes:

[0168] A processing module, configured to detect that the integrated braking control system is powered on and perform initialization processing on the integrated braking control system;

[0169] The monitoring signal module is used to monitor the status of sensors in the integrated brake control system after initialization; wherein the sensors include a brake light switch, a brake pedal and a hydraulic simulator.

[0170] Furthermore, the device also includes:

[0171] The reminder module is used to issue a brake light abnormality reminder if the first verification or the second verification fails.

[0172] The vehicle brake light control device provided by the embodiment of the present invention performs validity check on the brake light switch signal by acquiring the brake light switch signal corresponding to the brake light switch, as well as the brake pedal travel signal and the hydraulic signal of the vehicle, and determines whether the brake light switch signal is valid. If the brake light switch signal is valid, a first check is performed on the brake light switch signal and the brake pedal travel signal. If the first check passes, the vehicle brake light is controlled to light up. If the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal. If the second check passes, the vehicle brake light is controlled to light up. The embodiment of the present invention integrates the brake light switch function through an integrated brake control system, reduces the number of components, and has a higher degree of component integration, which is convenient for vehicle node management. The multi-signal check mechanism of the brake light switch signal, the brake pedal travel signal and the hydraulic signal is used to avoid the abnormality of the brake light switch caused by a single signal of the brake light switch. Redundant signal checks are performed in different situations where the brake light switch signal is valid and invalid, so that the lighting of the brake light is more accurate, and the driver's braking operation can be reflected in a timely and effective manner, thereby improving the accuracy of the brake light control. Accurate brake light control helps to send correct brake signals to rear vehicles and pedestrians, further improving driving safety.

[0173] Reference Fig.10, an embodiment of the present invention further provides an electronic device, such as Fig.10 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0174] Memory 703, used for storing computer programs;

[0175] The processor 701 is used to execute the program stored in the memory 703 to implement the following steps:

[0176] Acquire a brake light switch signal corresponding to the brake light switch, as well as a brake pedal travel signal and a hydraulic signal of the vehicle;

[0177] Performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid;

[0178] If the brake light switch signal is valid, performing a first check on the brake light switch signal and the brake pedal travel signal, and if the first check passes, controlling the vehicle brake light to light up;

[0179] If the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal, and if the second check passes, the vehicle brake light is controlled to light up.

[0180] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0181] The communication interface is used for communication between the above terminal and other devices.

[0182] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0183] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0184] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the computer-readable storage medium is run on a computer, the computer executes the vehicle brake light control method described in any one of the above embodiments.

[0185] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0186] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0187] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0188] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A vehicle brake light control method, characterized in that: Applied to an integrated brake control system, wherein a brake light switch is integrated into the integrated brake control system, the method comprising: Acquire a brake light switch signal corresponding to the brake light switch, as well as a brake pedal travel signal and a hydraulic signal of the vehicle; Performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid; If the brake light switch signal is valid, performing a first check on the brake light switch signal and the brake pedal travel signal, and if the first check passes, controlling the vehicle brake light to light up; If the brake light switch signal is invalid, a second check is performed on the brake pedal travel signal and the hydraulic signal, and if the second check passes, the vehicle brake light is controlled to light up.

2. The method according to claim 1, characterized in that: The performing validity check on the brake light switch signal to determine whether the brake light switch signal is valid includes: preprocessing the brake light switch signal; determining whether the preprocessed brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal; If the brake light switch signal matches the brake pedal travel signal and the hydraulic pressure signal, it is determined that the brake light switch signal is valid.

3. The method according to claim 1, characterized in that If the brake light switch signal is valid, performing a first check on the brake light switch signal and the brake pedal travel signal, and controlling the vehicle brake light to light up if the first check passes, including: If the brake light switch signal is valid, determining the switch state of the brake light switch signal; Performing a first check on the brake light switch signal and the brake pedal travel signal; wherein the first check is used to check whether the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal; If the switch state of the brake light switch signal matches the displacement of the brake pedal travel signal, the first check is passed; When the first verification is passed, the vehicle brake lights are controlled to light up.

4. The method according to claim 1, characterized in that: If the brake light switch signal is invalid, performing a second check on the brake pedal travel signal and the hydraulic signal, and controlling the vehicle brake light to light up if the second check passes, including: If the brake light switch signal is invalid, performing a second check on the brake pedal travel signal and the hydraulic signal; wherein the second check is used to check the corresponding relationship between the brake pedal travel signal and the hydraulic signal; If the corresponding relationship between the brake pedal travel signal and the hydraulic pressure signal satisfies the preset pressure building curve, the second check is passed; When the second verification is passed, the vehicle brake lights are controlled to light up.

5. The method according to claim 3 or 4, characterized in that: The controlling the vehicle brake lights to light up comprises: Sending a brake light lighting request signal to a controller area network; In response to the brake light lighting request signal, the brake lights are lit by the vehicle electronic control unit.

6. The method according to claim 1, characterized in that Before obtaining the brake light switch signal corresponding to the brake light switch, and the brake pedal travel signal and the hydraulic signal of the vehicle, the method further includes: Detecting that the integrated brake control system is powered on, and initializing the integrated brake control system; The status of sensors in an initialized integrated brake control system is monitored; wherein the sensors include a brake light switch, a brake pedal, and a hydraulic simulator.

7. The method according to claim 1, characterized in that If the brake light switch signal is invalid, the brake pedal travel signal and the hydraulic signal are subjected to a second check, and after the second check passes, the vehicle brake light is controlled to light up, the method further includes: If the first check or the second check fails, a brake light abnormality reminder is issued.

8. A vehicle brake light control device, characterized in that: Applied to an integrated brake control system, wherein a brake light switch is integrated in the integrated brake control system, the device comprises: A signal acquisition module, used to acquire a brake light switch signal corresponding to the brake light switch, as well as a brake pedal travel signal and a hydraulic signal of the vehicle; A signal verification module, used to verify the validity of the brake light switch signal to determine whether the brake light switch signal is valid; A first control module, configured to perform a first check on the brake light switch signal and the brake pedal travel signal if the brake light switch signal is valid, and control the vehicle brake light to light up if the first check passes; The second control module is used to perform a second check on the brake pedal travel signal and the hydraulic signal if the brake light switch signal is invalid, and control the vehicle brake lights to light up if the second check passes.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the instructions to implement the vehicle brake light control method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle brake light control method according to any one of claims 1 to 7 is implemented.