Vehicle interaction tail lamp control method and system, electronic equipment and storage medium
The camera device and recognition model are used to determine the following vehicle and the driving environment, predict the braking distance and control the taillight display warning content, which solves the problem of inaccurate taillight prompts in the existing taillights, improves the accuracy and reliability of the following warning, and improves driving efficiency. Safety and experience.
Patent Information
- Application Number
- CN202410726242.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-13
AI Technical Summary
When existing vehicle taillights prompt the driving behavior of the vehicle behind or ahead, they are easily affected by lighting conditions and weather factors, resulting in inaccurate judgment and delayed response by the driver behind the vehicle, which reduces the accuracy and reliability of the following vehicle warning and affects driving. Safety and driving experience.
Obtain the image information behind the target vehicle through the camera device, use the pre-trained target detection model and driving environment recognition model to determine whether there is a following vehicle, predict the braking distance based on the driving environment and vehicle speed, and control the taillights to display warning content to remind the following vehicles Drivers.
It improves the accuracy and reliability of car-following warnings, reduces the risk of vehicle collisions, improves users' driving safety and driving experience, and avoids the problems of drivers' inaccurate judgment and untimely response in different driving environments.
Smart Images

Figure CN118636779A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle interactive taillight control method, system, electronic equipment and storage medium. Background Art
[0002] Headlights are an important component of vehicles. With the development of headlights, their appearance and functions are becoming more and more complex. In recent years, the exterior digital light source headlights have the characteristics of high technology and digital display, which are popular with users. Most of the existing vehicle taillights use constant lighting, flashing and other states to remind the rear vehicle that there is a car in front and show the positional relationship between the two vehicles, or remind the rear vehicle that the front vehicle has turned, braked and other driving behaviors. Although it can play a certain warning role for the rear vehicle to prevent vehicle collision accidents, it still requires the rear vehicle driver to subjectively judge the safe distance, and it is easily affected by lighting conditions and weather factors, causing the rear vehicle driver to make inaccurate judgments and untimely reactions, which poses certain safety risks, affects the accuracy and reliability of the vehicle following warning, and also affects the user's driving safety and driving experience. Summary of the invention
[0003] The purpose of the present invention is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0004] To this end, an object of an embodiment of the present invention is to provide a vehicle interactive taillight control method, which improves the accuracy and reliability of vehicle following warning and also improves the user's driving safety and driving experience.
[0005] Another object of an embodiment of the present invention is to provide a vehicle interactive taillight control system.
[0006] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present invention include:
[0007] In one aspect, an embodiment of the present invention provides a vehicle interactive taillight control method, comprising the following steps:
[0008] Acquire 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;
[0009] 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 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;
[0010] predicting a braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and determining whether the braking distance is greater than or equal to the first distance;
[0011] When the braking distance is greater than or equal to the first distance, a preset warning content is obtained and the vehicle interactive taillights of the target vehicle are controlled to display the warning content.
[0012] Further, in one embodiment of the present invention, the step of acquiring first image information behind the target vehicle and determining whether there is a following vehicle behind the target vehicle according to the first image information specifically includes:
[0013] Acquiring the first image information by using a camera device disposed at the rear of the target vehicle;
[0014] The first image information is input into a preset target detection model to perform vehicle detection, and it is determined whether there is a following vehicle behind the target vehicle according to the vehicle detection result.
[0015] Further, in one embodiment of the present invention, the step of determining the driving environment information around the target vehicle according to the first image information is specifically:
[0016] The first image information is input into a pre-trained driving environment recognition model to obtain the driving environment information.
[0017] Furthermore, in one embodiment of the present invention, the vehicle interactive taillight control method further includes the step of pre-training a driving environment recognition model, which specifically includes:
[0018] Acquire a plurality of preset driving environment sample data, and determine the driving environment label of each of the driving environment sample data through manual labeling;
[0019] Constructing a first training data set according to the driving environment sample data and the corresponding driving environment labels;
[0020] Inputting the first training data set into a pre-built first convolutional neural network to obtain a driving environment recognition result;
[0021] Determine a first loss value of the first convolutional neural network according to the driving environment recognition result and the driving environment label;
[0022] Updating the model parameters of the first convolutional neural network through a back-propagation algorithm according to the first loss value, and returning the first training data set to the pre-built first convolutional neural network;
[0023] When the first loss value reaches a preset first threshold, the training is stopped to obtain the trained driving environment recognition model;
[0024] Wherein, the driving environment label includes a light intensity label and a weather label.
[0025] Further, in one embodiment of the present invention, the step of 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 specifically includes:
[0026] Determine a first vehicle position of the following vehicle according to the first image information of the current frame, and determine a second vehicle position of the following vehicle according to the first image information of the previous frame;
[0027] determining the first vehicle speed according to the first vehicle position, the second vehicle position, and a shooting interval of the first image information;
[0028] The second vehicle position of the target vehicle is acquired through a GPS positioning system, and the first distance is determined according to the first vehicle position and the second vehicle position.
[0029] Furthermore, in one embodiment of the present invention, the step of predicting the braking distance of the following vehicle according to the driving environment information and the first vehicle speed specifically includes:
[0030] determining an initial reaction time of the driver according to the first vehicle speed;
[0031] Determining the light intensity information and weather information around the target vehicle according to the driving environment information, and determining the driver's compensation reaction time according to the light intensity information and the weather information;
[0032] determining a driver's braking reaction time according to the initial reaction time and the compensation reaction time;
[0033] A preset average braking acceleration of the vehicle is obtained, and the braking distance is predicted according to the braking reaction time, the first vehicle speed, and the average braking acceleration of the vehicle.
[0034] Further, in one embodiment of the present invention, the vehicle interactive taillight includes a light controller and a plurality of interactive display modules, and the step of obtaining preset warning content and controlling the vehicle interactive taillight of the target vehicle to display the warning content specifically includes:
[0035] Acquire the warning content through a central controller, generate a lighting control instruction according to the warning content, and then send the lighting control instruction to the lighting controller;
[0036] The light controller generates a driving signal according to the light control instruction, and drives the interactive display module to display the warning content according to the driving signal.
[0037] Furthermore, in one embodiment of the present invention, the vehicle interactive taillight control method further includes the following steps:
[0038] When it is detected 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 it is detected 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 vehicle interactive taillights are controlled to stop displaying the warning content.
[0039] Furthermore, in one embodiment of the present invention, the vehicle interactive taillight control method further includes the following steps:
[0040] When the target vehicle starts, the real-time speed of the target vehicle is obtained through a speed sensor, and the vehicle locking state of the target vehicle is obtained through a central controller;
[0041] When the real-time vehicle speed is 0, and / or when the vehicle locking state is unlocked, the preset welcome content is obtained and the vehicle interactive taillights are controlled to display the welcome content.
[0042] On the other hand, an embodiment of the present invention provides a vehicle interactive taillight control system, including:
[0043] A following vehicle detection module, used 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;
[0044] an image information processing module, for determining, when there is a following vehicle behind the target vehicle, driving environment information around the target vehicle according to the first image information, and determining, according to the first image information, a first speed of the following vehicle and a first distance between the following vehicle and the target vehicle;
[0045] a braking distance prediction module, configured to predict the braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and determine whether the braking distance is greater than or equal to the first distance;
[0046] The warning content display module is used to obtain preset warning content and control the vehicle interactive taillights of the target vehicle to display the warning content when the braking distance is greater than or equal to the first distance.
[0047] On the other hand, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the vehicle interactive taillight control method as described above is realized.
[0048] On the other hand, an embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the vehicle interactive taillight control method as described above.
[0049] On the other hand, an embodiment of the present invention further provides a vehicle, which includes the vehicle interactive taillight control system or electronic device as described above.
[0050] The advantages and beneficial effects of the present invention will be partly given in the following description, partly become apparent from the following description, or be understood through the practice of the present invention:
[0051] An embodiment of the present invention obtains first image information behind a target vehicle, determines whether there is a following vehicle behind the target vehicle based on the first image information, and when there is a following vehicle behind the target vehicle, determines driving environment information around the target vehicle based on the first image information, and determines a first speed of the following vehicle and a first distance between the following vehicle and the target vehicle based on the first image information, predicts a braking distance of the following vehicle based on the driving environment information and the first speed, and determines whether the braking distance is greater than or equal to the first distance, and when the braking distance is greater than or equal to the first distance, obtains preset warning content and controls the vehicle interactive taillights of the target vehicle to display the warning content. The embodiment of the present invention detects and identifies the following vehicle and the driving environment information based on the first image information behind the target vehicle, and predicts the braking distance of the following vehicle in combination with the driving environment information and the speed of the following vehicle, thereby judging whether a following vehicle warning is needed based on the braking distance and the distance between the following vehicle and the target vehicle. When a following vehicle warning is needed, the warning content is directly displayed through the vehicle interactive taillights to remind the driver of the following vehicle to drive safely. There is no need for the driver of the following vehicle to subjectively judge the safe distance, thus avoiding the problem of inaccurate judgment and untimely response of the driver in different driving environments, reducing the risk of vehicle collision, improving the accuracy and reliability of following vehicle warnings, and also improving the driving safety and driving experience of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solution in the embodiments of the present invention, the following introduction is made to the drawings required for use in the embodiments of the present invention. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solution of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0053] Figure 1 A flow chart of the steps of the vehicle interactive taillight control method provided by an embodiment of the present invention;
[0054] Figure 2 A schematic diagram of an implementation architecture of a vehicle interactive taillight control method provided by an embodiment of the present invention;
[0055] Figure 3 A step flow chart of step S101 provided in an embodiment of the present invention;
[0056] Figure 4 A flowchart of the steps of pre-training a driving environment recognition model provided by an embodiment of the present invention;
[0057] Figure 5 A step flow chart of step S102 provided in an embodiment of the present invention;
[0058] Figure 6 A step flow chart of step S103 provided in an embodiment of the present invention;
[0059] Figure 7 A step flow chart of step S104 provided in an embodiment of the present invention;
[0060] Figure 8 Another step flow chart of the vehicle interactive taillight control method provided by an embodiment of the present invention;
[0061] Fig. 9 Another step flow chart of the vehicle interactive taillight control method provided by an embodiment of the present invention;
[0062] Fig.10 A schematic diagram of the structure of a vehicle interactive taillight control system provided by an embodiment of the present invention;
[0063] Fig.11 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention;
[0064] Fig.12 A schematic diagram of the structure of a storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0065] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. 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 limitations on the present application. It should be noted that, although the functional module division is performed in the system schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order from the module division in the system schematic diagram or the flow chart. For the step numbers in the following embodiments, they are only set for the convenience of explanation, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0066] In the description of the present invention, the meaning of "a plurality" is two or more. If there is a description of the first or the second, it is only for the purpose of distinguishing the technical features, and it cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those commonly understood by technicians in the technical field of this application. The terms used in this document are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0067] The vehicle interactive taillight control method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, etc.; the server side can be configured as an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the vehicle interactive taillight control method, etc., but is not limited to the above forms.
[0068] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0069] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with the relevant laws, regulations, and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0070] like Figure 1 FIG. 1 is a flow chart showing a method for controlling a vehicle taillight interactively according to an embodiment of the present invention. Figure 1 The embodiment of the present invention provides a vehicle interactive taillight control method, which specifically includes the following steps:
[0071] S101. Acquire first image information behind a target vehicle, and determine whether there is a following vehicle behind the target vehicle based on the first image information.
[0072] Specifically, Figure 2The figure shows a schematic diagram of the implementation architecture of the vehicle interactive taillight control method provided by an embodiment of the present invention, including an entertainment host, a central controller, a camera device, a vehicle speed sensor, and a vehicle interactive taillight arranged on a target vehicle, wherein the vehicle interactive taillight is composed of a light controller and a plurality of interactive display modules. The entertainment host is used to display the interactive taillight status 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 perform 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 speed of the target vehicle; the light controller is used to receive the control command 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, and is used to display specific warning content or welcoming content, etc.
[0073] like Figure 3 FIG. 1 is a flowchart of step S101 provided in an embodiment of the present invention, referring to FIG. Figure 3 As an optional implementation, the step of obtaining first image information behind the target vehicle and determining whether there is a following vehicle behind the target vehicle according to the first image information specifically includes:
[0074] S1011, acquiring first image information by using a camera device disposed at the rear of the target vehicle;
[0075] S1012: Input the first image information into a preset target detection model to perform vehicle detection, and determine whether there is a following vehicle behind the target vehicle based on the vehicle detection result.
[0076] Specifically, when the target vehicle is driving normally, the first image information is obtained through the camera device at the rear of the target vehicle, and then input into a preset target detection model for vehicle detection, such as the yolov8 vehicle recognition model, so as to determine whether there is a following vehicle behind the target vehicle.
[0077] S102: When there is a following vehicle behind the target vehicle, determine the 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.
[0078] As an optional implementation, the step of determining the driving environment information around the target vehicle according to the first image information is specifically as follows:
[0079] The first image information is input into a pre-trained driving environment recognition model to obtain driving environment information.
[0080] Specifically, taking into account the differences in braking reaction time of drivers of following vehicles under different lighting conditions and weather factors, the embodiment of the present invention uses a driving environment recognition model to identify the driving environment information around the target vehicle, so as to facilitate the subsequent calculation of the braking reaction time and braking distance based on the driving environment information.
[0081] like Figure 4 FIG. 1 is a flowchart of a step of pre-training a driving environment recognition model provided by an embodiment of the present invention, referring to FIG. Figure 4 As an optional implementation, the vehicle interactive taillight control method further includes the step of pre-training a driving environment recognition model, which specifically includes:
[0082] S201, obtaining a plurality of preset driving environment sample data, and determining a driving environment label of each driving environment sample data by manual labeling;
[0083] S202, constructing a first training data set according to driving environment sample data and corresponding driving environment labels;
[0084] S203, inputting the first training data set into a pre-built first convolutional neural network to obtain a driving environment recognition result;
[0085] S204, determining a first loss value of the first convolutional neural network according to the driving environment recognition result and the driving environment label;
[0086] S205, 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-built first convolutional neural network;
[0087] S206, when the first loss value reaches a preset first threshold, stop training to obtain a trained driving environment recognition model;
[0088] Among them, the driving environment labels include light intensity labels and weather labels.
[0089] Specifically, when constructing the first training data set, the driving environment sample data behind the test vehicle is obtained, and the driving environment label corresponding to each driving environment sample data is determined based on manual annotation. The driving environment label is 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 based on the driving environment sample data and the corresponding driving environment label.
[0090] After inputting the data in the first training data set into the initialized first convolutional neural network, the recognition result output by the model, i.e., the driving environment recognition result, can be obtained. The accuracy of the model prediction can be evaluated based on the driving environment recognition result and the aforementioned driving environment label, thereby updating the parameters of the model. For the driving environment recognition model, the accuracy of the model prediction result can be measured by the 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 a single training data and the prediction result of the model for the training data. In actual training, a training data set has a lot of training data, so the 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 error of all training data, which can better measure the prediction effect of the model. For general machine learning models, based on the aforementioned cost function, plus the regularization term that measures the complexity of the model, it can be used as the objective function of the training, and the loss value of the entire training data set can be calculated based on the objective function. There are many types of 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 all be used as loss functions of machine learning models, which will not be elaborated here one by one. In an embodiment of the present invention, any loss function can be selected to determine the loss value of training. Based on the loss value of training, the back propagation algorithm is used to update the parameters of the model, and a trained driving environment recognition model can be obtained after several rounds of iteration. The specific number of iterations can be set in advance, or the training is considered to be completed when the test set meets the accuracy requirements.
[0091] like Figure 5 FIG. 1 is a flow chart of step S102 provided in an embodiment of the present invention, referring to FIG. Figure 5 As an optional implementation, the step of determining 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 specifically includes:
[0092] S1021, 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;
[0093] S1022, determining a first vehicle speed according to the first vehicle position, the second vehicle position, and a shooting interval of the first image information;
[0094] S1023. Acquire a second vehicle position of the target vehicle through a GPS positioning system, and determine a first distance according to the first vehicle position and the second vehicle position.
[0095] Specifically, the first vehicle speed of the following vehicle can be calculated based on the change in the vehicle position of the following vehicle in two adjacent frames of the first image information and the shooting interval of the first image information; the vehicle position of the following vehicle can be determined based on the first image information, and the vehicle position of the target vehicle can be obtained through the GPS positioning system, so as to calculate the first distance between the two.
[0096] S103: predicting a braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and determining whether the braking distance is greater than or equal to the first distance.
[0097] like Figure 6 FIG. 1 is a flow chart of step S103 provided in an embodiment of the present invention, referring to FIG. Figure 6 As an optional implementation, the step of predicting the braking distance of the following vehicle according to the driving environment information and the first vehicle speed specifically includes:
[0098] S1031. Determine an initial reaction time of a driver according to the first vehicle speed;
[0099] S1032, determining the light intensity information and weather information around the target vehicle according to the driving environment information, and determining the driver's compensation reaction time according to the light intensity information and the weather information;
[0100] S1033, determining the driver's braking reaction time according to the initial reaction time and the compensation reaction time;
[0101] S1034. Obtain a preset average braking acceleration of the vehicle, and predict a braking distance according to the braking reaction time, the first vehicle speed, and the average braking acceleration of the vehicle.
[0102] Specifically, considering that the braking reaction time of the driver of the following vehicle is different under different lighting conditions and weather factors, the embodiment of the present invention determines the initial reaction time of the driver according to the first vehicle speed of the following vehicle, and determines the compensation reaction time of the driver according to the driving environment information, so as to add them together to obtain the dynamic braking reaction time. The values of the initial reaction time and the compensation reaction time can be pre-set with corresponding judgment strategies, for example, when the first vehicle speed is below 30km / h, the initial reaction time is 0.4 seconds, when the first vehicle speed is between 30km / h and 60km / h, the initial reaction time is 0.6 seconds, when the first vehicle speed is between 60km / h and 80km / h, the initial reaction time is 0.8 seconds, and when the first vehicle speed is between 80km / h and 120km / h, the initial reaction time is 1 second; when the light intensity information is lower than the preset light intensity threshold, it is determined that the light is insufficient, and the corresponding compensation reaction time is 0.4 seconds. When the weather is rain, snow, fog, etc., it is determined that the visibility is insufficient, and the corresponding compensation reaction time is 0.4 seconds (which can be superimposed with the former).
[0103] After determining the braking reaction time, the preset average braking acceleration of the vehicle is obtained, and the braking distance is predicted according to the braking reaction time, the first vehicle speed and the average braking acceleration of the vehicle. The specific formula is as follows:
[0104] S1=VT+V2 / 2a
[0105] Among them, S1 represents the braking distance, V represents the first vehicle speed, T represents the braking reaction time, and a represents the average braking acceleration of the vehicle.
[0106] The embodiment of the present invention dynamically determines the driver's braking reaction time according to different first vehicle speeds and driving environment information, so that the calculation of the braking distance is more accurate, thereby improving the accuracy and reliability of the vehicle following warning, and also improving the user's driving safety and driving experience.
[0107] S104: When the braking distance is greater than or equal to the first distance, obtain preset warning content and control the vehicle interactive taillights of the target vehicle to display the warning content.
[0108] like Figure 7 FIG. 1 is a flowchart of step S104 provided in an embodiment of the present invention, referring to FIG. Figure 7 As an optional implementation, the vehicle interactive taillight includes a light controller and a plurality of interactive display modules, and the step of obtaining preset warning content and controlling the vehicle interactive taillight of the target vehicle to display the warning content specifically includes:
[0109] S1041, obtaining warning content through the central controller, generating a lighting control instruction according to the warning content, and then sending the lighting control instruction to the lighting controller;
[0110] S1042: Generate a driving signal according to the lighting control instruction through the lighting controller, and drive the interactive display module to display the warning content according to the driving signal.
[0111] Specifically, when the calculated braking distance is greater than or equal to the first distance, it means that the distance between the following vehicle and the target vehicle is too small, which may easily cause an accident. This can trigger a following vehicle warning reminder. The warning content may include the distance between the two vehicles, the speed of the vehicle in front, warning signs, thank you signs, etc.
[0112] The interactive display module of the embodiment of the present invention adopts a digital light source. Since the digital light source has the characteristic of a large number of light source pixels, if a certain pixel is damaged, it will not have a significant impact on the effect of the entire lamp. In order to make the entire lamp function normally, 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, functional fault feedback is performed, which can extend the use time of the interactive display module and achieve the purpose of reducing costs.
[0113] like Figure 8 FIG. 1 is another flow chart of the vehicle interactive taillight control method according to an embodiment of the present invention. Figure 8 As an optional implementation, the vehicle interactive taillight control method further includes the following steps:
[0114] S105. 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, control the vehicle interactive taillights to stop displaying warning content.
[0115] Specifically, after the driver of the following vehicle sees the warning content displayed on the vehicle interactive taillights of the target vehicle, he can slow down to increase the distance from the target vehicle. When it is detected 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 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 target vehicle can be controlled to stop displaying the warning content, and the following reminder ends.
[0116] like Fig. 9 FIG. 1 is another flow chart of the vehicle interactive taillight control method according to an embodiment of the present invention. Fig. 9 As an optional implementation, the vehicle interactive taillight control method further includes the following steps:
[0117] S301, when the target vehicle starts, the real-time speed of the target vehicle is obtained through the speed sensor, and the vehicle locking state of the target vehicle is obtained through the central controller;
[0118] S302: When the real-time vehicle speed is 0, and / or when the vehicle lock state is unlocked, obtain preset welcome content and control the vehicle interactive taillights to display the welcome content.
[0119] Specifically, after the target vehicle is powered on and started, the vehicle speed and vehicle locking status are judged. If the vehicle is not locked and / or the vehicle 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 user's driving experience.
[0120] The above is a description of the method steps of the embodiment of the present invention. It can be understood that the embodiment of the present invention detects and identifies the following vehicle and the driving environment information based on the first image information behind the target vehicle, and predicts the braking distance of the following vehicle in combination with the driving environment information and the speed of the following vehicle, thereby judging whether a following vehicle warning is needed based on the braking distance and the distance between the following vehicle and the target vehicle. When a following vehicle warning is needed, the warning content is directly displayed through the vehicle interactive taillights to remind the driver of the following vehicle to drive safely, without the need for the driver of the following vehicle to subjectively judge the safe distance, avoiding the problem of inaccurate judgment and untimely response of the driver in different driving environments, reducing the risk of vehicle collision, improving the accuracy and reliability of the following vehicle warning, and also improving the user's driving safety and driving experience.
[0121] like Fig.10 FIG. 1 is a schematic diagram of the structure of a vehicle interactive taillight control system provided by an embodiment of the present invention, referring to FIG. Fig.10 , an embodiment of the present invention provides a vehicle interactive taillight control system, comprising:
[0122] A following vehicle detection module is used to obtain first image information behind the target vehicle and determine whether there is a following vehicle behind the target vehicle based on the first image information;
[0123] An image information processing module, for determining, when there is a following vehicle behind the target vehicle, driving environment information around the target vehicle according to the first image information, and determining 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;
[0124] a braking distance prediction module, for predicting the braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and determining whether the braking distance is greater than or equal to the first distance;
[0125] The warning content display module is used to obtain preset warning content and control the vehicle interactive taillights of the target vehicle to display the warning content when the braking distance is greater than or equal to the first distance.
[0126] The contents of the above method embodiments are all applicable to the present system embodiments. The functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0127] The embodiment of the present invention also provides an electronic device, which includes: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, and the program is executed by the processor to realize the above-mentioned vehicle interactive taillight control method. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0128] like Fig.11 FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Fig.11 , an embodiment of the present invention provides an electronic device, including:
[0129] The processor 1101 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention;
[0130] The memory 1102 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 may store an operating system and other application programs. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1102, and the processor 1101 calls and executes the vehicle interactive taillight control method of the embodiment of the present invention;
[0131] Input / output interface 1103, used to implement information input and output;
[0132] The communication interface 1104 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0133] A bus 1105 that transmits information between various components of the device (e.g., the processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104);
[0134] The processor 1101 , the memory 1102 , the input / output interface 1103 and the communication interface 1104 are connected to each other in communication within the device via the bus 1105 .
[0135] like Fig.12 FIG. 1 is a schematic diagram of a storage medium according to an embodiment of the present invention. Fig.12The embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs 1201, and the one or more programs 1201 can be executed by one or more processors to implement the above-mentioned vehicle interactive taillight control method.
[0136] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via 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] An embodiment of the present invention further provides a vehicle, which includes the above-mentioned vehicle interactive taillight control system or an electric drive assembly of the electronic device.
[0138] Specifically, the vehicle may be a private car, such as a sedan, SUV, MPV or pickup truck.
[0139] The embodiment of the present invention further provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.
[0140] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the above-mentioned boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. The optional embodiment is expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0141] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified to the contrary, one or more of the above-mentioned functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0142] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0143] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be 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 instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0144] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the above-mentioned program is printed, since the above-mentioned program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or processing in other suitable ways as necessary, and then stored in a computer memory.
[0145] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0146] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0147] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0148] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A vehicle interactive taillight control method, characterized in that: The following steps are involved: Acquire first image information behind the target vehicle, and determine 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 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; predicting a braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and determining whether the braking distance is greater than or equal to the first distance; When the braking distance is greater than or equal to the first distance, a preset warning content is obtained and the vehicle interactive taillights of the target vehicle are controlled to display the warning content.
2. The vehicle interactive taillight control method according to claim 1, characterized in that: The step of acquiring first image information behind the target vehicle and determining whether there is a following vehicle behind the target vehicle according to the first image information specifically includes: Acquiring the first image information by using a camera device disposed at the rear of the target vehicle; The first image information is input into a preset target detection model to perform vehicle detection, and it is determined whether there is a following vehicle behind the target vehicle according to the vehicle detection result.
3. The vehicle interactive taillight control method according to claim 1, characterized in that: The step of determining the driving environment information around the target vehicle according to the first image information is specifically as follows: The first image information is input into a pre-trained driving environment recognition model to obtain the driving environment information.
4. The vehicle interactive taillight control method according to claim 3, characterized in that: The vehicle interactive taillight control method further includes the step of pre-training a driving environment recognition model, which specifically includes: Acquire a plurality of preset driving environment sample data, and determine the driving environment label of each of the driving environment sample data through manual labeling; Constructing a first training data set according to the driving environment sample data and the corresponding driving environment labels; Inputting the first training data set into a pre-built first convolutional neural network to obtain a driving environment recognition result; Determine 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 the first training data set to the pre-built first convolutional neural network; When the first loss value reaches a preset first threshold, the training is stopped to obtain the trained driving environment recognition model; Wherein, the driving environment label includes a light intensity label and a weather label.
5. The vehicle interactive taillight control method according to claim 1, characterized in that: The step of determining 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 specifically includes: Determine a first vehicle position of the following vehicle according to the first image information of the current frame, and determine a second vehicle position of the following vehicle according to the first image information of the previous frame; determining the first vehicle speed according to the first vehicle position, the second vehicle position, and a shooting interval of the first image information; The second vehicle position of the target vehicle is acquired through a GPS positioning system, and the first distance is determined according to the first vehicle position and the second vehicle position.
6. The vehicle interactive taillight control method according to claim 1, characterized in that: The step of predicting the braking distance of the following vehicle according to the driving environment information and the first vehicle speed specifically includes: determining an initial reaction time of the driver according to the first vehicle speed; Determining the light intensity information and weather information around the target vehicle according to the driving environment information, and determining the driver's compensation reaction time according to the light intensity information and the weather information; determining a driver's braking reaction time according to the initial reaction time and the compensation reaction time; A preset average braking acceleration of the vehicle is obtained, and the braking distance is predicted according to the braking reaction time, the first vehicle speed, and the average braking acceleration of the vehicle.
7. The vehicle interactive taillight control method according to claim 1, characterized in that: The vehicle interactive taillight includes a light controller and a plurality of interactive display modules. The step of obtaining preset warning content and controlling the vehicle interactive taillight of the target vehicle to display the warning content specifically includes: Acquire the warning content through a central controller, generate a lighting control instruction according to the warning content, and then send the lighting control instruction to the lighting controller; The light controller generates a driving signal according to the light control instruction, and drives the interactive display module to display the warning content according to the driving signal.
8. The vehicle interactive taillight control method according to claim 1, characterized in that: The vehicle interactive taillight control method further comprises the following steps: When it is detected 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 it is detected 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 vehicle interactive taillights are controlled to stop displaying the warning content.
9. A vehicle interactive taillight control method according to any one of claims 1 to 8, characterized in that: The vehicle interactive taillight control method further comprises the following steps: When the target vehicle starts, the real-time speed of the target vehicle is obtained through a speed sensor, and the vehicle locking state of the target vehicle is obtained through a central controller; When the real-time vehicle speed is 0, and / or when the vehicle locking state is unlocked, the preset welcome content is obtained and the vehicle interactive taillights are controlled to display the welcome content.
10. A vehicle interactive taillight control system, characterized in that: include: A following vehicle detection module, used 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; an image information processing module, for determining, when there is a following vehicle behind the target vehicle, driving environment information around the target vehicle according to the first image information, and determining, according to the first image information, a first speed of the following vehicle and a first distance between the following vehicle and the target vehicle; a braking distance prediction module, configured to predict the braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and determine whether the braking distance is greater than or equal to the first distance; The warning content display module is used to obtain preset warning content and control the vehicle interactive taillights of the target vehicle to display the warning content when the braking distance is greater than or equal to the first distance.
11. An electronic device, characterized in that: The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the vehicle interactive taillight control method as described in any one of claims 1 to 9 are realized.
12. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the vehicle interactive taillight control method as described in any one of claims 1 to 9.
13. A vehicle, characterized in that: The vehicle includes the vehicle interactive taillight control system according to claim 10 or the electronic device according to claim 11.
Citation Information
Cited By
Vehicle control method and device and vehicle
CN119550912A
Vehicle interactive tail light control method and system, electronic device, and storage medium
WO2025251478A1
