Vehicle interactive tail light control method and system, electronic device, and storage medium
By installing a camera and recognition model at the rear of the vehicle, image information is acquired and braking distance is predicted. The taillights are then controlled to display warning messages, solving the problem of insufficient accuracy of existing taillight systems under lighting and weather conditions. This achieves higher accuracy in following warnings and improves driving safety.
Patent Information
- Application Number
- PCT/CN2024/123534
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-06
- Filing Date
- 2024-10-09
- Publication Date
- 2025-12-11
AI Technical Summary
The existing vehicle taillight following warning system lacks accuracy and reliability under lighting and weather conditions, leading to inaccurate judgment and delayed reaction by the driver, which affects driving safety and driving experience.
The system acquires images of the area behind the target vehicle using a camera device, uses a target detection model and a driving environment recognition model to determine if there is a following vehicle, and combines vehicle speed and environmental information to predict braking distance, thereby controlling the vehicle's interactive taillights to display warning messages.
It improves the accuracy and reliability of following warning, reduces the risk of vehicle collision, and enhances driving safety and experience.
Smart Images

Figure CN2024123534_11122025_PF_FP_ABST
Abstract
Description
Vehicle interactive tail light control method and system, electronic device and storage medium TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and in particular to a vehicle interactive tail light control method, system, electronic device and storage medium. BACKGROUND
[0002] The vehicle light is an important component of the vehicle. With the development of the vehicle light, the appearance and function thereof are becoming more and more complex. In recent years, the appearance of the digital light source vehicle light has the characteristics of high technology and digital display, and is favored by users. Most of the existing vehicle tail lights prompt the existence of a vehicle in front of a following vehicle and display the positional relationship between the two vehicles through constant light, flashing and other states, or prompt the turning and braking behaviors of the front vehicle of the following vehicle. Although the above-mentioned methods can play a certain role in warning the following vehicle to prevent vehicle collision accidents, the driver of the following vehicle still needs to subjectively judge the safe distance, and the judgment of the driver of the following vehicle is not accurate and the reaction is not timely due to the influence of light conditions and weather factors, thereby causing certain safety risks and affecting the accuracy and reliability of the following vehicle warning and the driving safety and experience of the user.
[0003] SUMMARY
[0004] The present application aims to at least partially solve one of the problems of the prior art.
[0005] To this end, one object of the present application is to provide a vehicle interactive tail light control method which improves the accuracy and reliability of the following vehicle warning and improves the driving safety and experience of the user.
[0006] Another object of the present application is to provide a vehicle interactive tail light control system.
[0007] In order to achieve the above technical purpose, the technical solution adopted by the present application comprises:
[0008] On the one hand, the present application provides a vehicle interactive tail light control method, comprising the following steps:
[0009] obtaining first image information of the rear of a target vehicle, and determining whether there is a following vehicle behind the target vehicle according to the first image information;
[0010] when there is a following vehicle behind the target vehicle, determining the driving environment information around the target vehicle according to the first image information, and determining the first speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information;
[0011] According to the driving environment information and the first vehicle speed, a brake distance of the following vehicle is predicted, and it is determined whether the brake distance is greater than or equal to the first distance;
[0012] When the brake distance is greater than or equal to the first distance, preset warning content is obtained, and a vehicle interaction tail lamp of the target vehicle is controlled to display the warning content.
[0013] Further, in an embodiment of the present application, the step of obtaining the first image information of the rear of the target vehicle and determining whether there is a following vehicle behind the target vehicle according to the first image information specifically comprises:
[0014] The first image information is obtained by a camera device arranged at the tail of the target vehicle;
[0015] The first image information is input to a preset target detection model for vehicle detection, and whether there is a following vehicle behind the target vehicle is determined according to the vehicle detection result.
[0016] Further, in an embodiment of the present application, the step of determining the driving environment information around the target vehicle according to the first image information specifically comprises:
[0017] The first image information is input to a pre-trained driving environment recognition model to obtain the driving environment information.
[0018] Further, in an embodiment of the present application, the vehicle interaction tail lamp control method further comprises the step of pre-training a driving environment recognition model, which specifically comprises:
[0019] A plurality of preset driving environment sample data are obtained, and driving environment labels of each of the driving environment sample data are determined by manual labeling;
[0020] A first training data set is constructed according to the driving environment sample data and the corresponding driving environment labels;
[0021] The first training data set is input to a pre-constructed first convolutional neural network to obtain a driving environment recognition result;
[0022] A first loss value of the first convolutional neural network is determined according to the driving environment recognition result and the driving environment label;
[0023] The model parameters of the first convolutional neural network are updated according to the first loss value by a back propagation algorithm, and the first training data set is input to the pre-constructed first convolutional neural network again;
[0024] stop training when the first loss value reaches a preset first threshold value, to obtain the trained driving environment recognition model;
[0025] The driving environment label includes an illumination intensity label and a weather label.
[0026] Further, in an embodiment of the present application, the step of determining the first vehicle speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information specifically comprises:
[0027] determining a first vehicle position of the following vehicle according to the first image information of the current frame, and determining a second vehicle position of the following vehicle according to the first image information of the previous frame;
[0028] determining the first vehicle speed according to the first vehicle position, the second vehicle position, and the shooting interval of the first image information;
[0029] obtaining a second vehicle position of the target vehicle through a GPS positioning system, and determining the first distance according to the first vehicle position and the second vehicle position.
[0030] Further, in an embodiment of the present application, the step of predicting the brake distance of the following vehicle according to the driving environment information and the first vehicle speed specifically comprises:
[0031] determining an initial reaction time of a driver according to the first vehicle speed;
[0032] determining illumination intensity information and weather information around the target vehicle according to the driving environment information, and determining a compensation reaction time of the driver according to the illumination intensity information and the weather information;
[0033] determining a brake reaction time of the driver according to the initial reaction time and the compensation reaction time;
[0034] obtaining a preset vehicle average brake acceleration, and predicting the brake distance according to the brake reaction time, the first vehicle speed, and the vehicle average brake acceleration.
[0035] Further, in an embodiment of the present application, the vehicle interactive tail light comprises a light controller and a plurality of interactive display modules, and the step of obtaining a preset warning content and controlling the vehicle interactive tail light of the target vehicle to display the warning content specifically comprises:
[0036] obtaining the warning content through a central controller, generating a light control instruction according to the warning content, and then sending the light control instruction to the light controller;
[0037] The light controller generates a driving signal according to the light control instruction, and drives the interactive display module to display the early warning content according to the driving signal.
[0038] Further, in an embodiment of the present application, the vehicle interactive tail light control method further comprises the following steps:
[0039] When it is detected that the speed of the following vehicle decreases to a second speed and the second speed is less than a preset speed threshold, and / or when it is detected that the distance between the following vehicle and the target vehicle increases to a second distance and the second distance is greater than a preset distance threshold, the vehicle interactive tail light is controlled to stop displaying the early warning content.
[0040] Further, in an embodiment of the present application, the vehicle interactive tail light control method further comprises the following steps:
[0041] When the target vehicle starts, the real-time speed of the target vehicle is obtained by a speed sensor, and the vehicle locking state of the target vehicle is obtained by a central controller;
[0042] When the real-time speed is 0, and / or when the vehicle locking state is not locked, a preset welcome content is obtained and the vehicle interactive tail light is controlled to display the welcome content.
[0043] On the other hand, an embodiment of the present application provides a vehicle interactive tail light control system, comprising:
[0044] A following vehicle detection module is configured to obtain first image information behind a target vehicle, and determine whether there is a following vehicle behind the target vehicle according to the first image information;
[0045] An image information processing module is configured to, when there is a following vehicle behind the target vehicle, determine driving environment information around the target vehicle according to the first image information, and determine a first speed of the following vehicle and a first distance between the following vehicle and the target vehicle according to the first image information;
[0046] A brake distance prediction module is configured to predict a brake distance of the following vehicle according to the driving environment information and the first speed, and determine whether the brake distance is greater than or equal to the first distance;
[0047] An early warning content display module is configured to, when the brake distance is greater than or equal to the first distance, obtain a preset early warning content and control a vehicle interactive tail light of the target vehicle to display the early warning content.
[0048] In another aspect, an electronic device is provided, which includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection communication between the processor and the memory, and the program, when executed by the processor, implements the vehicle interactive tail light control method as described above.
[0049] In another aspect, a storage medium is provided, which is a computer readable storage medium for computer readable storage, and stores one or more programs executable by one or more processors to implement the vehicle interactive tail light control method as described above.
[0050] In another aspect, a vehicle is provided, which includes the vehicle interactive tail light control system or the electronic device as described above.
[0051] The advantages and beneficial effects of the present application will be partially given in the following description, partially become obvious from the following description, or be learned through the practice of the present application:
[0052] The embodiment of the present application acquires first image information of the rear of the target vehicle, judges whether there is a following vehicle behind the target vehicle according to the first image information, when there is a following vehicle behind the target vehicle, determines the driving environment information around the target vehicle according to the first image information, and determines the first speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information, predicts the brake distance of the following vehicle according to the driving environment information and the first speed, and judges whether the brake distance is greater than or equal to the first distance, when the brake distance is greater than or equal to the first distance, acquires preset warning content and controls the vehicle interactive tail light of the target vehicle to display the warning content. The embodiment of the present application detects and identifies the following vehicle and the driving environment information according to the first image information of the rear of the target vehicle, predicts the brake distance of the following vehicle in combination with the driving environment information and the speed of the following vehicle, and judges whether follow-up warning is needed according to the brake distance and the distance between the following vehicle and the target vehicle, directly displays the warning content through the vehicle interactive tail light when follow-up warning is needed, so as to remind the driver of the following vehicle to drive safely, without the driver of the following vehicle subjectively judging the safety distance, avoiding the problem of inaccurate judgment and untimely reaction of the driver under different driving environments, reducing the risk of vehicle collision, improving the accuracy and reliability of follow-up warning, and improving the driving safety and driving experience of the user. BRIEF DESCRIPTION OF DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following introduces the drawings needed to be used in the embodiments of the present application. It should be understood that the drawings introduced below are merely for the convenience of clearly describing some embodiments in the technical solutions of the present application, and other drawings can also be obtained by those skilled in the art without any creative labor on the basis of these drawings.
[0054] Fig. 1 is a step flow chart of a vehicle interactive tail light control method provided by an embodiment of the present application;
[0055] Fig. 2 is a schematic diagram of an implementation architecture of the vehicle interactive tail light control method provided by an embodiment of the present application;
[0056] Fig. 3 is a step flow chart of step S101 provided by an embodiment of the present application;
[0057] Fig. 4 is a step flow chart of pre-training a driving environment recognition model provided by an embodiment of the present application;
[0058] Fig. 5 is a step flow chart of step S102 provided by an embodiment of the present application;
[0059] Fig. 6 is a step flow chart of step S103 provided by an embodiment of the present application;
[0060] Fig. 7 is a step flow chart of step S104 provided by an embodiment of the present application;
[0061] Fig. 8 is another step flow chart of the vehicle interactive tail light control method provided by an embodiment of the present application;
[0062] Fig. 9 is another step flow chart of the vehicle interactive tail light control method provided by an embodiment of the present application;
[0063] Fig. 10 is a structural schematic diagram of a vehicle interactive tail light control system provided by an embodiment of the present application;
[0064] Fig. 11 is a hardware structural schematic diagram of an electronic device provided by an embodiment of the present application;
[0065] Fig. 12 is a structural schematic diagram of a storage medium provided by an embodiment of the present application. DETAILED DESCRIPTION
[0066] Embodiments of the present application are described in detail below with reference to the accompanying drawings, wherein the same or like elements or elements having the same or similar functions are denoted by the same or like reference signs throughout the drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and cannot be understood as a limitation of the present application. It should be noted that although functional modules are divided in the system schematic diagram and logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in a manner different from the module division in the system schematic diagram or the order in the flowchart. For the step numbers in the following embodiments, they are only set for the convenience of explanation and description, and the order between the steps is not limited in any way, and the execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.
[0067] In the description of the present application, the meaning of multiple is two or more, and if the first and the second are described, it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or the sequence of indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used herein have the same meaning as understood by those skilled in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0068] The vehicle interactive tail light control method provided by the embodiments of the present application can be applied to a terminal, can also be applied to a server end, and can also be software running in the terminal or the server end. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a set top box, etc.; the server end can be configured as an independent physical server, can also be configured as a server cluster or a distributed system composed of multiple physical servers, can also be configured as a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and big data and artificial intelligence platform; and the software can be an application for implementing the vehicle interactive tail light control method, but is not limited to the above forms.
[0069] The application is operable in a variety of generic or specific computer system environments or configurations. Examples of well known computing systems, environments, and / or configurations that can be suitable for use with the application include personal computers, server computers, handheld or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like, that perform particular tasks or implement particular abstract data types. The application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including memory storage devices.
[0070] It should be noted that in each specific embodiment of the present application, when it is necessary to process relevant data related to the identity or characteristics of the user according to user information, user behavior data, user history data, and user location information, etc., the user's permission or consent will be obtained first, and the collection, use and processing of these data will comply with relevant laws, regulations and standards of the country and region. In addition, when the embodiments of the present application need to obtain sensitive personal information of the user, the separate permission or separate consent of the user will be obtained through a pop-up window or a jump to a confirmation page, and after obtaining the separate permission or separate consent of the user, the necessary user-related data for enabling the embodiments of the present application to normally operate will be obtained.
[0071] As shown in FIG. 1 is a step flow chart of a vehicle interactive tail light control method provided by an embodiment of the present application, referring to FIG. 1, the embodiment of the present application provides a vehicle interactive tail light control method, which specifically includes the following steps:
[0072] S101, acquiring first image information of the rear of the target vehicle, and determining whether there is a following vehicle behind the target vehicle according to the first image information.
[0073] Specifically, as shown in FIG. 2, an implementation architecture schematic diagram of the vehicle interactive tail light control method provided by the embodiment of the present application is shown, which includes an entertainment host, a central controller, a camera device, a vehicle speed sensor and a vehicle interactive tail light arranged on a target vehicle, the vehicle interactive tail light is composed of a light controller and a plurality of interactive display modules. The entertainment host is used to display the interactive tail light state and display content; the central controller is used to process the image information collected by the camera device and the vehicle speed data collected by the vehicle speed sensor and make logical judgment; the camera device is used to obtain the image behind the target vehicle; the vehicle speed sensor is used to obtain the real-time vehicle speed of the target vehicle; the light controller is used to receive the control instruction of the central controller and drive the interactive display module to display specific content; the display module can be composed of small size LED, OLED or mini LED, which is used to display specific warning content or welcome content, etc.
[0074] As shown in FIG. 3, a step flow chart of step S101 provided by the embodiment of the present application is shown, with reference to FIG. 3, further as an optional implementation manner, the first image information behind the target vehicle is obtained, and whether there is a following vehicle behind the target vehicle is judged according to the first image information, which specifically includes:
[0075] S1011, the first image information is obtained through the camera device arranged at the tail of the target vehicle;
[0076] S1012, the first image information is input to a preset target detection model for vehicle detection, and whether there is a following vehicle behind the target vehicle is judged according to the vehicle detection result.
[0077] Specifically, when the target vehicle is driving normally, the first image information is obtained through the camera device at the tail of the target vehicle, and then input to a preset target detection model for vehicle detection, such as yolov8 vehicle recognition model, so as to determine whether there is a following vehicle behind the target vehicle.
[0078] S102, when there is a following vehicle behind the target vehicle, the driving environment information around the target vehicle is determined according to the first image information, and the first vehicle speed of the following vehicle and the first distance between the following vehicle and the target vehicle are determined according to the first image information.
[0079] Further as an optional implementation manner, the driving environment information around the target vehicle is determined according to the first image information, which specifically includes:
[0080] The first image information is input to a pre-trained driving environment recognition model to obtain the driving environment information.
[0081] Specifically, considering that the brake reaction time of the driver of the following vehicle is different under different light conditions and weather factors, the embodiment of the present application identifies the driving environment information around the target vehicle through the driving environment identification model, so as to facilitate subsequent calculation of the brake reaction time and the brake distance according to the driving environment information.
[0082] As shown in FIG. 4 is a step flow chart of pre-training the driving environment identification model according to an embodiment of the present application, with reference to FIG. 4, further as an optional implementation, the vehicle interaction tail light control method further comprises the step of pre-training the driving environment identification model, which specifically comprises:
[0083] S201, obtaining a plurality of preset driving environment sample data, and determining driving environment labels of the driving environment sample data through artificial labeling;
[0084] S202, constructing a first training data set according to the driving environment sample data and the corresponding driving environment labels;
[0085] S203, inputting the first training data set into a pre-constructed first convolutional neural network to obtain a driving environment identification result;
[0086] S204, determining a first loss value of the first convolutional neural network according to the driving environment identification result and the driving environment labels;
[0087] S205, updating model parameters of the first convolutional neural network through a back propagation algorithm according to the first loss value, and returning to input the first training data set into the pre-constructed first convolutional neural network;
[0088] S206, when the first loss value reaches a preset first threshold value, stopping training to obtain a trained driving environment identification model;
[0089] The driving environment labels include light intensity labels and weather labels.
[0090] Specifically, when constructing the first training data set, the driving environment sample data behind the test vehicle is obtained, and the corresponding driving environment labels of each driving environment sample data are determined based on artificial labeling, which are used to indicate the actual driving environment corresponding to each driving environment sample data, including but not limited to light intensity and weather. The first training data set can be generated according to the driving environment sample data and the corresponding driving environment labels.
[0091] After the data in the first training data set is input into the initialized first convolutional neural network, a recognition result output by the model, i.e., a driving environment recognition result, can be obtained, and the accuracy of the model prediction can be evaluated according to the driving environment recognition result and the aforementioned driving environment label, so that the parameters of the model are updated. For the driving environment recognition model, the accuracy of the model prediction result can be measured by a loss function, which is defined on a single training data and is used to measure the prediction error of a training data. Specifically, the loss value of the training data is determined by the label of the single training data and the prediction result of the model for the training data. However, in actual training, there are many training data in a training data set, so a cost function is generally used to measure the overall error of the training data set. The cost function is defined on the entire training data set and is used to calculate the average value of the prediction errors of all training data, which can better measure the prediction effect of the model. For a general machine learning model, based on the aforementioned cost function, plus a regular term that measures the complexity of the model, the loss value of the entire training data set can be obtained based on the target function. There are many commonly used loss functions, such as 0-1 loss function, square loss function, absolute loss function, logarithmic loss function, cross-entropy loss function, etc., which can be used as the loss function of the machine learning model. Here, they will not be described one by one. In the embodiment of the present application, any one of the loss functions can be selected to determine the loss value of the training. Based on the loss value of the training, the parameters of the model are updated by using the back propagation algorithm, and after several iterations, a trained driving environment recognition model can be obtained. The specific number of iterations can be preset, or the training can be considered to be completed when the test set reaches the accuracy requirement.
[0092] As shown in FIG. 5, FIG. 5 is a step flow chart of step S102 provided by the embodiment of the present application. Referring to FIG. 5, further as an optional implementation, the step of determining the first vehicle speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information specifically includes:
[0093] S1021, determining the first vehicle position of the following vehicle according to the current frame first image information, and determining the second vehicle position of the following vehicle according to the last frame first image information;
[0094] S1022, determining the first vehicle speed according to the first vehicle position, the second vehicle position, and the shooting interval of the first image information;
[0095] S1023, obtaining the second vehicle position of the target vehicle through the GPS positioning system, and determining the first distance according to the first vehicle position and the second vehicle position.
[0096] Specifically, the first speed of the following vehicle can be calculated according to the change of the vehicle position of the following vehicle in the two adjacent first image information and the shooting interval of the first image information; the vehicle position of the following vehicle can be determined according to the first image information, and the vehicle position of the target vehicle can be obtained by the GPS positioning system, so as to calculate the first distance between the two.
[0097] In S103, the brake distance of the following vehicle is predicted according to the driving environment information and the first speed, and it is determined whether the brake distance is greater than or equal to the first distance.
[0098] As shown in FIG. 6, it is a step flow chart of S103 provided by the embodiment of the present application. Referring to FIG. 6, further as an optional implementation, the step of predicting the brake distance of the following vehicle according to the driving environment information and the first speed specifically includes:
[0099] In S1031, the initial reaction time of the driver is determined according to the first speed.
[0100] In S1032, the illumination intensity information and the weather information around the target vehicle are determined according to the driving environment information, and the compensation reaction time of the driver is determined according to the illumination intensity information and the weather information.
[0101] In S1033, the brake reaction time of the driver is determined according to the initial reaction time and the compensation reaction time.
[0102] In S1034, the preset average vehicle brake acceleration is obtained, and the brake distance is predicted according to the brake reaction time, the first speed and the average vehicle brake acceleration.
[0103] Specifically, considering that the brake reaction time of the driver of the following vehicle is different under different illumination conditions and weather factors, the initial reaction time of the driver is determined according to the first speed of the following vehicle, and the compensation reaction time of the driver is determined according to the driving environment information, so as to add the dynamic brake reaction time. The values of the initial reaction time and the compensation reaction time can be pre-set corresponding judgment strategies, for example, when the first speed is below 30km / h, the initial reaction time is 0.4 seconds, when the first speed is between 30km / h and 60km / h, the initial reaction time is 0.6 seconds, when the first speed is between 60km / h and 80km / h, the initial reaction time is 0.8 seconds, and when the first speed is between 80km / h and 120km / h, the initial reaction time is 1 second; when the illumination intensity information is lower than the preset illumination intensity threshold, it is determined that the illumination is insufficient, and the corresponding compensation reaction time is 0.4 seconds; when the weather is rain, snow, fog and the like, it is determined that the visibility is insufficient, and the corresponding compensation reaction time is 0.4 seconds (which can be added to the former).
[0104] After determining the brake reaction time, a preset vehicle average brake acceleration is acquired, and a brake distance is predicted according to the brake reaction time, the first vehicle speed and the vehicle average brake acceleration, and the specific formula is as follows: S1=VT+V2 / 2a
[0105] Wherein, S1 represents the brake distance, V represents the first vehicle speed, T represents the brake reaction time, and a represents the vehicle average brake acceleration.
[0106] According to the embodiment of the application, the brake reaction time of the driver is dynamically determined according to different first vehicle speeds and driving environment information, so that the calculation of the brake distance is more accurate, thereby improving the accuracy and reliability of the following vehicle warning, and improving the driving safety and driving experience of the user.
[0107] S104, when the brake distance is greater than or equal to the first distance, a preset warning content is acquired, and the vehicle interactive tail light of the target vehicle is controlled to display the warning content.
[0108] As shown in FIG. 7, it is a step flow chart of step S104 provided by the embodiment of the application, referring to FIG. 7, further as an optional implementation manner, the vehicle interactive tail light includes a light controller and a plurality of interactive display modules, the step of acquiring the preset warning content and controlling the vehicle interactive tail light of the target vehicle to display the warning content specifically includes:
[0109] S1041, the warning content is acquired through the central controller, and a light control instruction is generated according to the warning content, and then the light control instruction is sent to the light controller;
[0110] S1042, the driving signal is generated by the light controller according to the light control instruction, and the interactive display module is driven to display the warning content according to the driving signal.
[0111] Specifically, when the calculated brake distance is greater than or equal to the first distance, it indicates that the distance between the following vehicle and the target vehicle is too small, which is easy to cause an accident, that is, the following vehicle warning reminder is triggered, and the warning content can include the distance between the two vehicles, the speed of the front vehicle, the warning mark, the thanksgiving mark and the like.
[0112] The interactive display module of the embodiment of the application adopts a digital light source, and since the digital light source has the characteristic of a large number of light source pixels, if a certain pixel point is damaged, the effect of the whole lamp is not greatly affected, in order to make the function of the whole lamp normal, a fault diagnosis logic is designed, when the number of damaged pixels does not reach a certain number, no fault feedback is performed, only when the number of damaged pixels reaches a certain value, the function fault feedback is performed, the use time of the interactive display module can be prolonged, and the purpose of reducing the cost is achieved.
[0113] As shown in Figure 8 is another step flow chart of the vehicle interactive tail light control method provided by the embodiment of the present application, referring to Figure 8, further as an optional implementation, the vehicle interactive tail light control method further comprises the following steps:
[0114] S105, when detecting that the speed of the following vehicle is reduced to a second speed and the second speed is less than a preset speed threshold, and / or when detecting that the distance between the following vehicle and the target vehicle is increased to a second distance and the second distance is greater than a preset distance threshold, controlling the vehicle interactive tail light to stop displaying the warning content.
[0115] Specifically, after the driver of the following vehicle watches the warning content displayed by the vehicle interactive tail light of the target vehicle, the driver can decelerate to increase the distance from the target vehicle. When detecting that the speed of the following vehicle is reduced to a second speed and the second speed is less than a preset speed threshold, and / or when detecting that the distance between the following vehicle and the target vehicle is increased to a second distance and the second distance is greater than a preset distance threshold, the target vehicle can be controlled to stop displaying the warning content, and the following reminder ends.
[0116] As shown in Figure 9 is another step flow chart of the vehicle interactive tail light control method provided by the embodiment of the present application, referring to Figure 9, further as an optional implementation, the vehicle interactive tail light control method further comprises the following steps:
[0117] S301, when the target vehicle starts, acquiring the real-time speed of the target vehicle through a speed sensor, and acquiring the vehicle locking state of the target vehicle through a central controller;
[0118] S302, when the real-time speed is 0, and / or when the vehicle locking state is not locked, acquiring a preset welcome content and controlling the vehicle interactive tail light to display the welcome content.
[0119] Specifically, after the target vehicle is powered on and started, the speed and the vehicle locking state are judged. If the vehicle is not locked and / or the speed is 0, it is judged that the target vehicle has not entered the driving state, and the preset welcome content can be displayed through the interactive display module, further improving the driving experience of the user
[0120] The method steps of the embodiment of the present application are described above. It can be understood that the embodiment of the present application detects and identifies the following vehicle and the driving environment information according to the first image information behind the target vehicle, combines the driving environment information and the speed of the following vehicle to predict the brake distance of the following vehicle, thereby judging whether the following warning is needed according to the brake distance and the distance between the following vehicle and the target vehicle, and directly displaying the warning content through the vehicle interactive tail lamp when the following warning is needed, so as to remind the driver of the following vehicle to drive safely. The driver of the following vehicle does not need to subjectively judge the safety distance, the problem of inaccurate judgment and untimely reaction of the driver under different driving environments is avoided, the vehicle collision risk is reduced, the accuracy and reliability of the following warning are improved, and the driving safety and driving experience of the user are also improved.
[0121] As shown in FIG. 10, it is a structural schematic diagram of the vehicle interactive tail lamp control system provided by the embodiment of the present application. Referring to FIG. 10, the embodiment of the present application provides a vehicle interactive tail lamp control system, which comprises:
[0122] The following vehicle detection module is used to acquire the first image information behind the target vehicle, and judge whether there is a following vehicle behind the target vehicle according to the first image information.
[0123] The image information processing module is used to determine the driving environment information around the target vehicle according to the first image information when there is a following vehicle behind the target vehicle, and determine the first speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information.
[0124] The brake distance prediction module is used to predict the brake distance of the following vehicle according to the driving environment information and the first speed, and judge whether the brake distance is greater than or equal to the first distance.
[0125] The warning content display module is used to acquire the preset warning content and control the vehicle interactive tail lamp of the target vehicle to display the warning content when the brake distance is greater than or equal to the first distance.
[0126] The contents in the above method embodiment are all applicable to the system embodiment, the system embodiment specifically realizes the same functions as the above method embodiment, and achieves the same beneficial effects as the above method embodiment.
[0127] The embodiment of the present application also provides an electronic device, which comprises a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing the connection and communication between the processor and the memory. The program is executed by the processor to realize the above vehicle interactive tail lamp control method. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0128] As shown in Figure 11 is the hardware structure schematic diagram of the electronic device provided by the embodiment of the present application, referring to Figure 11, the embodiment of the present application provides an electronic device, comprising:
[0129] The processor 1101 can be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, etc., for executing related programs to realize the technical solutions provided by the embodiment of the present application.
[0130] The memory 1102 can be implemented in the form of a ROM (Read Only Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory), etc. The memory 1102 can store an operating system and other application programs, and when the technical solutions provided by the embodiment of the present application are implemented by software or firmware, the related program codes are stored in the memory 1102 and called and executed by the processor 1101 to realize the vehicle interactive tail light control method of the embodiment of the present application.
[0131] The input / output interface 1103 is used to realize information input and output.
[0132] The communication interface 1104 is used to realize the communication interaction between the device and other devices, which can realize communication through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0133] The bus 1105 transmits information between various components (such as the processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104) of the device.
[0134] The processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104 are connected to each other through the bus 1105 for communication connection within the device.
[0135] As shown in Figure 12 is the structure schematic diagram of the storage medium provided by the embodiment of the present application, referring to Figure 12, the embodiment of the present application further provides a storage medium, which is a computer readable storage medium for computer readable storage, and the storage medium stores one or more programs 1201, which can be executed by one or more processors to realize the vehicle interactive tail light control method.
[0136] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory can include a high-speed random access memory and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory that is remotely disposed relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0137] The embodiment of the present application also provides a vehicle, which comprises the vehicle interactive tail light control system or the electronic device of the electric drive assembly.
[0138] Specifically, the vehicle can be a private car, such as a sedan, an SUV, an MPV, or a pickup truck, etc.
[0139] The embodiment of the present application also provides a computer program product or a computer program, which comprises computer instructions stored in a computer readable storage medium. The processor of the computer device can read the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to make the computer device execute the method shown in FIG. 1.
[0140] In some alternative embodiments, the functions / operations mentioned in the block diagram can not occur in the order mentioned in the operation diagram. For example, depending on the functions / operations involved, two blocks shown in succession can actually be executed substantially simultaneously or the above-mentioned blocks can be executed in reverse order at times. In addition, the embodiments presented and described in the flowcharts of the present application are provided by way of example, and the purpose is to provide a more comprehensive understanding of the technology. The disclosed method is not limited to the operations and logical flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are independently executed.
[0141] Furthermore, although the present application is described in the context of functional modules, it is to be understood that one or more of the functions and / or features described above can be integrated in a single physical device and / or software module, or one or more functions and / or features can be implemented in separate physical devices or software modules. It will also be appreciated that detailed discussion of the actual implementation of each module is unnecessary to an understanding of the present application. Rather, the actual implementation of the modules, in conjunction with their attributes, functions, and internal relationships, are to be understood within the context of the devices disclosed herein. Thus, those skilled in the art with access to the teachings presented herein will be able to devise suitable implementations of the present application without undue experimentation. It is also to be understood that the particular concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is defined by the appended claims and equivalents thereof.
[0142] If the above functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0143] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a list of executable instructions for implementing logic functions, which can be specifically embodied in any computer readable medium for use by an instruction execution system, device or apparatus, such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, device or apparatus, or in conjunction with these instructions execution system, device or apparatus. For the purpose of this specification, "computer readable medium" can be any device that can contain, store, communicate, propagate or transport programs for use by an instruction execution system, device or apparatus, or in conjunction with these instruction execution system, device or apparatus.
[0144] More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection (electronic) having one or more wires, a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can also be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
[0145] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware which are stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any of the following technologies, known in the art, or their combinations can be used: discrete logic circuitry having logic gates for implementing logic functions upon an application of data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0146] In the above description of the present specification, the description referring to the terms "one embodiment", "another embodiment", or "certain embodiments" or the like means that a specific feature, structure, material or characteristic described in connection with the embodiments or examples is included in at least one embodiment or example of the present application. The illustrative expressions of the above terms do not necessarily refer to the same embodiment or example in the present specification. Also, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0147] Although the embodiments of the present application have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, alternatives and variations to these embodiments can be made without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
[0148] The above is a specific description of the preferred embodiments of the present application, but the present application is not limited to the above-described embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present application, and these equivalent modifications or substitutions are included in the scope defined by the claims of the present application.
Claims
1. A vehicle interactive taillight control method, characterized by, The method comprises the following steps: obtaining first image information of the rear of a target vehicle, and determining whether there is a following vehicle behind the target vehicle according to the first image information; when there is a following vehicle behind the target vehicle, determining the driving environment information around the target vehicle according to the first image information, and determining the first speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information; predicting the brake distance of the following vehicle according to the driving environment information and the first speed, and determining whether the brake distance is greater than or equal to the first distance; when the brake distance is greater than or equal to the first distance, obtaining preset warning content and controlling the vehicle interaction tail light of the target vehicle to display the warning content.
2. The vehicle interaction taillight control method of claim 1, wherein, The step of obtaining first image information of the rear of a target vehicle and determining whether there is a following vehicle behind the target vehicle according to the first image information specifically comprises: obtaining the first image information through a camera device arranged at the tail of the target vehicle; inputting the first image information into a preset target detection model for vehicle detection, and determining whether there is a following vehicle behind the target vehicle according to the vehicle detection result.
3. The vehicle interaction taillight control method of claim 1, wherein, The step of determining the driving environment information around the target vehicle according to the first image information specifically comprises: inputting the first image information into a pre-trained driving environment recognition model to obtain the driving environment information.
4. The vehicle interaction taillight control method of claim 3, wherein, The vehicle interaction tail light control method further comprises the step of pre-training a driving environment recognition model, which specifically comprises: obtaining a plurality of preset driving environment sample data, and determining the driving environment label of each driving environment sample data through artificial labeling; constructing a first training data set according to the driving environment sample data and the corresponding driving environment label; inputting the first training data set into a pre-constructed first convolutional neural network to obtain a driving environment recognition result; determining a first loss value of the first convolutional neural network according to the driving environment recognition result and the driving environment label; updating the model parameters of the first convolutional neural network through a back propagation algorithm according to the first loss value, and returning to input the first training data set into the pre-constructed first convolutional neural network; when the first loss value reaches a preset first threshold, stopping training to obtain the trained driving environment recognition model; wherein the driving environment label comprises an illumination intensity label and a weather label. The step of determining the first speed of the following vehicle and the first distance between the following vehicle and the target vehicle according to the first image information specifically comprises:
5. The vehicle interaction taillight control method of claim 1, wherein, determining the first vehicle position of the following vehicle according to the first image information of the current frame, and determining the second vehicle position of the following vehicle according to the first image information of the previous frame; determining the first speed according to the first vehicle position, the second vehicle position, and the shooting interval of the first image information; obtaining the second vehicle position of the target vehicle through a GPS positioning system, and determining the first distance according to the first vehicle position and the second vehicle position. 6. The vehicle interaction taillight control method of claim 1, wherein, The step of predicting the brake distance of the following vehicle according to the driving environment information and the first vehicle speed specifically comprises: determining an initial reaction time of the driver according to the first vehicle speed; determining light intensity information and weather information around the target vehicle according to the driving environment information, and determining a compensation reaction time of the driver according to the light intensity information and the weather information; determining a brake reaction time of the driver according to the initial reaction time and the compensation reaction time; obtaining a preset average vehicle brake acceleration, and predicting the brake distance according to the brake reaction time, the first vehicle speed and the average vehicle brake acceleration.
7. The vehicle interaction taillight control method of claim 1, wherein, The vehicle interactive tail light comprises a light controller and a plurality of interactive display modules, and the step of obtaining a preset warning content and controlling the vehicle interactive tail light of the target vehicle to display the warning content specifically comprises: obtaining the warning content through a central controller, generating a light control instruction according to the warning content, and then sending the light control instruction to the light controller; generating a driving signal according to the light control instruction through the light controller, and driving the interactive display modules to display the warning content according to the driving signal.
8. The vehicle interaction taillight control method of claim 1, wherein, The vehicle interactive tail light control method further comprises the following steps: when it is detected that the vehicle speed of the following vehicle decreases to a second vehicle speed and the second vehicle speed is less than a preset vehicle speed threshold, and / or when it is detected that the distance between the following vehicle and the target vehicle increases to a second distance and the second distance is greater than a preset distance threshold, controlling the vehicle interactive tail light to stop displaying the warning content.
9. The vehicle interaction taillight control method of any one of claims 1-8, wherein, The vehicle interactive tail light control method further comprises the following steps: when the target vehicle starts, obtaining a real-time vehicle speed of the target vehicle through a vehicle speed sensor, and obtaining a vehicle locking state of the target vehicle through a central controller; when the real-time vehicle speed is 0, and / or when the vehicle locking state is unlocked, obtaining a preset welcome content and controlling the vehicle interactive tail light to display the welcome content.
10. A vehicle interactive taillight control system characterized by, comprises: a following vehicle detection module for obtaining first image information behind a target vehicle, and determining whether there is a following vehicle behind the target vehicle according to the first image information; an image information processing module for, when there is a following vehicle behind the target vehicle, determining driving environment information around the target vehicle according to the first image information, and determining a first vehicle speed of the following vehicle and a first distance between the following vehicle and the target vehicle according to the first image information; a brake distance prediction module for predicting a brake distance of the following vehicle according to the driving environment information and the first vehicle speed, and determining whether the brake distance is greater than or equal to the first distance; a warning content display module for, when the brake distance is greater than or equal to the first distance, obtaining a preset warning content and controlling the vehicle interactive tail light of the target vehicle to display the warning content.
11. An electronic device, comprising: The electronic device includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for realizing connection communication between the processor and the memory, and the program, when executed by the processor, realizes the steps of the vehicle interactive tail light control method according to any one of claims 1 to 9.
12. A storage medium, the storage medium being a computer-readable storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, and the one or more programs are executable by one or more processors to realize the steps of the vehicle interactive tail light control method according to any one of claims 1 to 9.
13. A vehicle characterized by comprising: The vehicle includes the vehicle interactive tail light control system according to claim 10 or the electronic device according to claim 11.
Citation Information
Patent Citations
Rear collision prevention early-warning system based on image processing
CN109272776A
Rear-end collision prevention early warning method and device, vehicle and storage medium
CN116331219A
Vehicle driving safety early warning method, system and device and storage medium
CN116946172A
Method and device for controlling vehicle driving, electronic equipment and readable storage medium
CN117842004A
Vehicle interaction tail lamp control method and system, electronic equipment and storage medium
CN118636779A
Cited By
Safety risk early warning method and system based on braking performance evaluation
CN121561738A