CN118636779A - Vehicle interactive taillight control method, system, electronic device and storage medium - Google Patents
Vehicle interactive taillight control method, system, electronic device and storage medium Download PDFInfo
- Publication number
- CN118636779A CN118636779A CN202410726242.2A CN202410726242A CN118636779A CN 118636779 A CN118636779 A CN 118636779A CN 202410726242 A CN202410726242 A CN 202410726242A CN 118636779 A CN118636779 A CN 118636779A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- image information
- driving environment
- distance
- interactive
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
- B60Q1/50—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking
- B60Q1/525—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking automatically indicating risk of collision between vehicles in traffic or with pedestrians, e.g. after risk assessment using the vehicle sensor data
- B60Q1/535—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking automatically indicating risk of collision between vehicles in traffic or with pedestrians, e.g. after risk assessment using the vehicle sensor data to prevent rear-end collisions, e.g. by indicating safety distance at the rear of the vehicle
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
- B60Q1/30—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating rear of vehicle, e.g. by means of reflecting surfaces
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
- B60Q1/50—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking
- B60Q1/54—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking for indicating speed outside of the vehicle
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60Q—ARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
- B60Q1/00—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
- B60Q1/26—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
- B60Q1/50—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking
- B60Q1/549—Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating other intentions or conditions, e.g. request for waiting or overtaking for expressing greetings, gratitude or emotions
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
Abstract
The invention discloses a vehicle interaction tail lamp control method, a system, equipment and a storage medium, comprising the following steps: acquiring first image information behind a target vehicle, and judging whether a following vehicle is behind the target vehicle according to the first image information; when a following vehicle is arranged behind the target vehicle, determining 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 the braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and judging 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, acquiring preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content. The method and the device improve the accuracy and reliability of the early warning of following the vehicle, improve the driving safety and driving experience of the user, and can be applied to the technical field of vehicle control.
Description
Technical Field
The invention relates to the technical field of vehicle control, in particular to a vehicle interaction tail lamp control method, a system, electronic equipment and a storage medium.
Background
The automobile lamp is an important component part of the automobile, the appearance and the function of the automobile lamp are more and more complex along with the development of the automobile lamp, and the exterior digital light source automobile lamp in recent years has the characteristics of high technological sense, digital display realization and the like, and is favored by users. Most of the existing vehicle tail lamps prompt that the front of the rear vehicle has the vehicle and displays the position relation between two workshops through states such as normal brightness and flickering, or prompt that the front vehicle of the rear vehicle has the driving behaviors such as steering and braking, and the like, although the rear vehicle can be provided with a certain early warning effect to prevent the occurrence of vehicle collision accidents, the rear vehicle driver still needs to subjectively judge the safety distance, and is easily influenced by illumination conditions and weather factors to cause inaccurate judgment and untimely response of the rear vehicle driver, so that certain safety risks exist, the accuracy and the reliability of vehicle following early warning are influenced, and the driving safety and the driving experience of users are also influenced.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art to a certain extent.
Therefore, an object of the embodiments of the present invention is to provide a vehicle interaction taillight control method, which improves accuracy and reliability of early warning of following a vehicle and improves driving safety and driving experience of a user.
Another object of an embodiment of the present invention is to provide a vehicle interactive tail light control system.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the invention comprises the following steps:
In one aspect, an embodiment of the present invention provides a vehicle interaction taillight control method, including the following steps:
acquiring first image information behind a target vehicle, and judging whether a following vehicle is behind the target vehicle according to the first image information;
When a following vehicle is arranged behind the target vehicle, determining 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 the braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and judging 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, acquiring preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content.
Further, in one embodiment of the present invention, the step of acquiring first image information of a rear of 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 through an image pickup device arranged at the tail part of the target vehicle;
And inputting the first image information into a preset target detection model for vehicle detection, and judging whether a following vehicle is behind the target vehicle according to a vehicle detection result.
Further, in one embodiment of the present invention, the step of determining driving environment information around the target vehicle according to the first image information specifically includes:
and inputting the first image information into a pre-trained driving environment recognition model to obtain the driving environment information.
Further, in one embodiment of the present invention, the vehicle interaction taillight control method further includes a step of training a driving environment recognition model in advance, which specifically includes:
acquiring a plurality of preset driving environment sample data, and determining driving environment labels 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 label;
inputting the first training data set into a first convolutional neural network constructed in advance 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 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 a pre-constructed first convolutional neural network;
stopping training when the first loss value reaches a preset first threshold value to obtain a trained driving environment recognition model;
the driving environment labels comprise illumination intensity labels and weather labels.
Further, in one embodiment of the present invention, 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 includes:
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;
determining the first vehicle speed according to the first vehicle position, the second vehicle position and the shooting interval of the first image information;
And acquiring 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.
Further, 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:
determining an initial reaction time of a driver according to the first vehicle speed;
Determining illumination intensity information and weather information around the target vehicle according to the driving environment information, and determining compensation reaction time of a driver according to the illumination intensity information and the weather information;
Determining the braking response time of a driver according to the initial response time and the compensation response time;
and obtaining a preset average braking acceleration of the vehicle, and predicting the braking distance according to the braking reaction time, the first vehicle speed and the average braking acceleration of the vehicle.
Further, in an embodiment of the present invention, the vehicle interaction tail lamp includes a light controller and a plurality of interaction display modules, and the step of acquiring preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content specifically includes:
The early warning content is obtained through a central controller, and a light control instruction is generated according to the early warning content, so that the light control instruction is sent to the light controller;
and generating a driving signal according to the light control instruction through the light controller, and driving the interactive display module to display the early warning content according to the driving signal.
Further, in one embodiment of the present invention, the vehicle interactive tail light control method further includes the steps of:
And when the speed of the following vehicle is detected to be reduced to a second vehicle speed and the second vehicle speed is smaller than a preset speed threshold value, and/or when the distance between the following vehicle and the target vehicle is detected to be increased to a second distance and the second distance is larger than a preset distance threshold value, controlling the vehicle interaction tail lamp to stop displaying the early warning content.
Further, in one embodiment of the present invention, the vehicle interactive tail light control method further includes the steps of:
When the target vehicle is started, 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;
and when the real-time vehicle speed is 0 and/or the vehicle locking state is unlocked, acquiring preset welcome content and controlling the vehicle interaction tail lamp to display the welcome content.
In another aspect, an embodiment of the present invention provides a vehicle interactive tail light control system, including:
The vehicle following detection module is used for acquiring first image information behind a target vehicle and judging whether a vehicle following the target vehicle exists behind the target vehicle according to the first image information;
The image information processing module is used for determining driving environment information around the target vehicle according to the first image information when a following vehicle is arranged behind the target vehicle, 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;
the braking distance prediction module is used for predicting the braking distance of the following vehicle according to the driving environment information and the first vehicle speed and judging whether the braking distance is greater than or equal to the first distance;
And the early warning content display module is used for acquiring preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content when the braking distance is greater than or equal to the first distance.
In another aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for implementing connection communication between the processor and the memory, where the program when executed by the processor implements a vehicle interaction tail lamp control method as described above.
In another aspect, an embodiment of the present invention further provides a storage medium, where the storage medium is a computer readable storage medium, and the storage medium stores one or more programs, and the one or more programs are executable by one or more processors, so as to implement a vehicle interaction taillight control method as described above.
In another aspect, the embodiment of the invention further provides a vehicle, wherein the vehicle comprises the vehicle interaction tail lamp control system or the electronic device.
The advantages and benefits of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
The method comprises the steps of obtaining first image information behind a target vehicle, judging whether a following vehicle is behind the target vehicle according to the first image information, determining driving environment information around the target vehicle according to the first image information when the following vehicle is behind the target vehicle, 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, judging whether the braking distance is larger than or equal to the first distance, and obtaining preset early warning content and controlling vehicle interaction tail lamps of the target vehicle to display early warning content when the braking distance is larger than or equal to the first distance. According to the embodiment of the invention, the following vehicle and the driving environment information are detected and identified according to the first image information behind the target vehicle, and the braking distance of the following vehicle is predicted by combining the driving environment information and the speed of the following vehicle, so that whether the following vehicle needs to be early-warned or not is judged according to the braking distance and the distance between the following vehicle and the target vehicle, the early-warning content is directly displayed through the vehicle interaction tail lamp when the following vehicle needs to be early-warned, the safe driving of a rear driver is reminded, the judgment of the safe distance is not needed subjectively by the rear driver, the problems of inaccurate judgment and untimely response of drivers in different driving environments are avoided, the collision risk of the vehicle is reduced, the accuracy and reliability of the following vehicle early-warning are improved, and the driving safety and the driving experience of a user are also improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will refer to the drawings that are needed in the embodiments of the present invention, and it should be understood that the drawings in the following description are only for convenience and clarity to describe some embodiments in the technical solutions of the present invention, and other drawings may be obtained according to these drawings without any inventive effort for those skilled in the art.
FIG. 1 is a flowchart illustrating steps of a method for controlling an interactive tail light of a vehicle according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of an implementation architecture of a vehicle interaction taillight control method according to an embodiment of the present invention;
fig. 3 is a step flowchart of step S101 provided in the embodiment of the present invention;
FIG. 4 is a flowchart illustrating a step of pre-training a driving environment recognition model according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a step S102 according to an embodiment of the present invention;
fig. 6 is a step flowchart of step S103 provided in the embodiment of the present invention;
fig. 7 is a step flowchart of step S104 provided in the embodiment of the present invention;
FIG. 8 is a flowchart illustrating another step of a method for controlling a vehicle interactive tail light according to an embodiment of the present invention;
FIG. 9 is a flowchart illustrating another step of a method for controlling a vehicle interactive tail light according to an embodiment of the present invention;
Fig. 10 is a schematic structural diagram of a vehicle interactive tail lamp control system according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention;
Fig. 12 is a schematic structural diagram of a storage medium according to an embodiment of the present invention.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the application. It should be noted that although functional block division is performed in a system diagram and a logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the system diagram or the sequence in the flowchart. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
In the description of the present application, the plurality means two or more, and if the description is made to the first and second for the purpose of distinguishing technical features, it should not be construed as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the precedence of the indicated technical features. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
The vehicle interaction tail lamp control method provided by the embodiment of the application can be applied to a terminal, a server side and software running in the terminal or the server side. In some embodiments, the terminal may be a smart phone, tablet, notebook, desktop, set-top box, or the like; the server side can be configured as an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent platforms and the like; the software may be an application or the like that implements the vehicle-interactive tail light control method, but is not limited to the above form.
The application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable 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 may 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, etc. that perform particular tasks or implement particular abstract data types. The application may 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 may be located in both local and remote computer storage media including memory storage devices.
In the embodiments of the present application, when related processing is performed according to user information, user behavior data, user history data, user location information, and other data related to user identity or characteristics, permission or consent of the user is obtained first, and the collection, use, processing, and the like of the data comply with related laws and regulations and standards of related countries and regions. In addition, when the embodiment of the application needs to acquire the sensitive personal information of the user, the independent permission or independent consent of the user is acquired through popup or jump to a confirmation page and the like, and after the independent permission or independent consent of the user is definitely acquired, the necessary relevant data of the user for enabling the embodiment of the application to normally operate is acquired.
Referring to fig. 1, which is a flowchart illustrating steps of a vehicle interaction tail lamp control method provided by an embodiment of the present invention, referring to fig. 1, the embodiment of the present invention provides a vehicle interaction tail lamp control method, which specifically includes the following steps:
S101, acquiring first image information behind a target vehicle, and judging whether a following vehicle is behind the target vehicle according to the first image information.
Specifically, as shown in fig. 2, an implementation architecture diagram of a vehicle interaction tail lamp control method provided by an embodiment of the present invention includes an entertainment host, a central controller, a camera device, a vehicle speed sensor and a vehicle interaction tail lamp, where the vehicle interaction tail lamp is composed of a light controller and a plurality of interaction display modules. The entertainment host is used for displaying the state and the content of the interactive tail lamp; the central controller is used for processing the image information acquired by the camera device and the vehicle speed data acquired by the vehicle speed sensor and carrying out logic judgment; the camera device is used for acquiring an image behind the target vehicle; the vehicle speed sensor is used for acquiring the real-time vehicle speed of the target vehicle; the lamplight controller is used for receiving the control instruction of the central controller and driving the interactive display module to display specific contents; the display module can be composed of small-size LEDs, OLED or mini LEDs and used for displaying specific early warning content or welcome content and the like.
Referring to fig. 3, further alternatively, a step of acquiring first image information of a rear side of a target vehicle and determining whether a following vehicle is present behind the target vehicle according to the first image information is shown in a step flowchart of step S101 provided in the embodiment of the present invention, which specifically includes:
s1011, acquiring first image information through an imaging device arranged at the tail of a target vehicle;
S1012, inputting the first image information into a preset target detection model for vehicle detection, and judging whether a following vehicle is behind the target vehicle according to a vehicle detection result.
Specifically, when the target vehicle normally runs, the first image information is acquired through the image pickup device at the tail of the target vehicle, and then the first image information is input into a preset target detection model for vehicle detection, such as yolov vehicle identification models and the like, so that whether a following vehicle is behind the target vehicle or not is determined.
S102, when a following vehicle is arranged behind the target vehicle, determining 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.
Further as an optional embodiment, the step of determining driving environment information around the target vehicle according to the first image information specifically includes:
And inputting the first image information into a pre-trained driving environment recognition model to obtain driving environment information.
Specifically, in consideration of the fact that the difference exists between the braking response time of the driver of the vehicle and the braking response time of the driver of the vehicle under different illumination conditions and weather factors, the driving environment information around the target vehicle is identified through the driving environment identification model, and the braking response time and the braking distance are conveniently calculated according to the driving environment information.
Referring to fig. 4, a flowchart illustrating a step of pre-training a driving environment recognition model according to an embodiment of the present invention is shown, and further as an optional implementation manner, the method for controlling a vehicle interaction tail lamp further includes a step of pre-training the driving environment recognition model, which specifically includes:
S201, acquiring a plurality of preset driving environment sample data, and determining driving environment labels of the driving environment sample data through manual labeling;
S202, constructing a first training data set according to driving environment sample data and corresponding driving environment labels;
S203, inputting a first training data set into a first convolutional neural network constructed in advance to obtain a driving environment recognition result;
s204, determining a first loss value of the first convolutional neural network according to the driving environment recognition result and the driving environment label;
S205, updating model parameters of a first convolutional neural network through a back propagation algorithm according to a first loss value, and returning to input a first training data set into a pre-constructed first convolutional neural network;
S206, stopping training when the first loss value reaches a preset first threshold value, and obtaining a trained driving environment recognition model;
The driving environment labels comprise illumination intensity labels and weather labels.
Specifically, when the first training data set is constructed, driving environment sample data behind the test vehicle is obtained, and meanwhile driving environment labels corresponding to the driving environment sample data are determined based on manual labeling, wherein the driving environment labels are used for indicating actual driving environments corresponding to the driving environment sample data, including but not limited to illumination intensity and weather. And generating a first training data set according to the driving environment sample data and the corresponding driving environment label.
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, namely a driving environment recognition result, can be obtained, and the accuracy of model prediction can be evaluated according to the driving environment recognition result and the driving environment label, so that 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 (Loss Function), wherein the Loss Function is defined on single training data and is used for measuring the prediction error of one training data, and particularly determining the Loss value of the training data through the label of the single training data and the prediction result of the model on the training data. In actual training, one training data set has a lot of training data, so that a Cost Function (Cost Function) is generally adopted to measure the overall error of the training data set, and the Cost Function is defined on the whole training data set and is used for calculating the average value of the prediction errors of all the training data, so that the prediction effect of the model can be better measured. For a general machine learning model, based on the cost function, a regular term for measuring the complexity of the model can be used as a training objective function, and based on the objective function, the loss value of the whole training data set can be obtained. There are many kinds of common 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, and will not be described in detail herein. In the embodiment of the invention, one loss function can be selected to determine the loss value of training. Based on the trained loss value, updating the parameters of the model by adopting a back propagation algorithm, and iterating for several rounds to obtain the trained driving environment recognition model. The specific number of iteration rounds may be preset or training may be deemed complete when the test set meets the accuracy requirements.
Referring to fig. 5, a flowchart illustrating a step of determining a first speed of a following vehicle and a first distance between the following vehicle and a target vehicle according to first image information is shown in fig. 5, which is a step of step S102 provided by an embodiment of the present invention, and further includes:
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;
S1022, determining a first vehicle speed according to the first vehicle position, the second vehicle position and the shooting interval of the first image information;
S1023, acquiring a second vehicle position of the target vehicle through the GPS positioning system, and determining a first distance according to the first vehicle position and the second vehicle position.
Specifically, according to the change of the vehicle position of the following vehicle in the first image information of two adjacent frames, the first speed of the following vehicle can be calculated according to the shooting interval of the first image information; and determining the vehicle position of the following vehicle according to the first image information, and acquiring the vehicle position of the target vehicle through a GPS positioning system, so as to calculate and obtain the first distance between the two.
S103, predicting the braking distance of the following vehicle according to the driving environment information and the first vehicle speed, and judging whether the braking distance is larger than or equal to the first distance.
Referring to fig. 6, a flowchart of a step of step S103 provided by the embodiment of the present invention is shown, and referring to fig. 6, further as an alternative implementation, the step of predicting a braking distance of a following vehicle according to driving environment information and a first vehicle speed specifically includes:
s1031, determining initial reaction time of a driver according to a first vehicle speed;
S1032, determining illumination intensity information and weather information around the target vehicle according to the driving environment information, and determining compensation reaction time of a driver according to the illumination intensity information and the weather information;
s1033, determining the braking response time of the driver according to the initial response time and the compensation response time;
S1034, obtaining a preset average braking acceleration of the vehicle, and predicting to obtain a braking distance according to the braking reaction time, the first vehicle speed and the average braking acceleration of the vehicle.
Specifically, considering that the brake response time of a driver of a following vehicle is different under different illumination conditions and weather factors, the embodiment of the invention determines the initial response time of the driver according to the first vehicle speed of the following vehicle and determines the compensation response time of the driver according to the driving environment information, so that the dynamic brake response time is obtained by adding. Corresponding judgment strategies can be preset for the values of the initial reaction time and the compensation reaction time, 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 illumination intensity information is lower than a preset illumination intensity threshold value, the illumination is judged to be insufficient, the corresponding compensation reaction time is 0.4 seconds, when the weather is rainy, snowy, fog and other weather, the visibility is judged to be insufficient, and the corresponding compensation reaction time is 0.4 seconds (the compensation reaction time can be overlapped with the former).
After the braking reaction time is determined, a preset average braking acceleration of the vehicle is obtained, and a braking distance is predicted according to the braking reaction time, the first vehicle speed and the average braking acceleration of the vehicle, wherein the specific formula is as follows:
S1=VT+V2/2a
Wherein S 1 represents a braking distance, V represents a first vehicle speed, T represents a braking reaction time, and a represents an average braking acceleration of the vehicle.
According to the embodiment of the invention, the braking response time of the driver is dynamically determined according to different first vehicle speeds and driving environment information, so that the calculation of the braking distance is more accurate, the accuracy and reliability of the vehicle following early warning are improved, and the driving safety and driving experience of the user are also improved.
And S104, when the braking distance is greater than or equal to the first distance, acquiring preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content.
Referring to fig. 7, further as an alternative implementation manner, the vehicle interaction tail lamp includes a light controller and a plurality of interaction display modules, and the step of obtaining preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content specifically includes:
S1041, acquiring early warning content through a central controller, generating a lamplight control instruction according to the early warning content, and further sending the lamplight control instruction to a lamplight controller;
S1042, generating a driving signal according to the lamplight control instruction by a lamplight controller, and driving the interactive display module to display early warning content according to the driving signal.
Specifically, when the calculated braking distance is greater than or equal to the first distance, the fact that the distance between the following vehicle and the target vehicle is too small is indicated, accidents are easy to cause, and then the following vehicle early warning reminding can be triggered, and the early warning content can comprise the distance between the two vehicles, the speed of the preceding vehicle, warning marks, thank marks and the like.
The interactive display module of the embodiment of the invention adopts the digital light source, and because the digital light source has the characteristic of a large number of pixels of the light source, if a certain pixel point is damaged, the effect on the whole lamp is not great, in order to ensure that the whole lamp is normal in function, a fault diagnosis logic is designed, fault feedback is not carried out when the number of damaged pixels is not up to a certain number, and the function fault feedback is carried out only when the number of damaged pixels reaches a certain number, so that the service time of the interactive display module can be prolonged, and the aim of reducing the cost is fulfilled.
Referring to fig. 8, which is a flowchart illustrating another step of the vehicle interaction tail light control method provided by the embodiment of the present invention, with reference to fig. 8, further as an alternative implementation manner, the vehicle interaction tail light control method further includes the following steps:
And S105, when the speed of the following vehicle is detected to be reduced to a second vehicle speed and the second vehicle speed is smaller than a preset speed threshold value, and/or when the distance between the following vehicle and the target vehicle is detected to be increased to a second distance and the second distance is larger than a preset distance threshold value, controlling the vehicle interaction tail lamp to stop displaying the early warning content.
Specifically, after the driver of the following vehicle views the early warning content displayed by the vehicle interaction tail lamp of the target vehicle, the driver can slow down to pull away the distance from the target vehicle, and when the speed of the following vehicle is detected to be reduced to a second vehicle speed and the second vehicle speed is smaller than a preset vehicle speed threshold value, and/or when the distance between the following vehicle and the target vehicle is detected to be increased to a second distance and the second distance is larger than a preset distance threshold value, the driver can control the target vehicle to stop displaying the early warning content and end the following vehicle reminding.
Referring to fig. 9, which is a flowchart illustrating another step of the vehicle interaction tail light control method provided by the embodiment of the present invention, with reference to fig. 9, further as an alternative implementation manner, the vehicle interaction tail light control method further includes the following steps:
s301, when a target vehicle is started, acquiring a real-time vehicle speed of the target vehicle through a vehicle speed sensor, and acquiring a vehicle locking state of the target vehicle through a central controller;
s302, when the real-time vehicle speed is 0 and/or when the vehicle locking state is unlocked, acquiring preset welcome content and controlling the vehicle interaction tail lamp to display the welcome content.
Specifically, after the target vehicle is electrified and started, the vehicle speed and the vehicle locking state are judged, if the vehicle is unlocked and/or the vehicle speed is 0, the target vehicle is judged not to enter the driving state, and the preset welcome content can be displayed through the interactive display module, so that the driving experience of a user is further improved.
The method steps of the embodiments of the present invention are described above. It can be understood that the embodiment of the invention detects and identifies the following vehicle and the driving environment information according to the first image information behind the target vehicle, predicts the braking distance of the following vehicle according to the driving environment information and the speed of the following vehicle, judges whether the following vehicle needs to be early-warned according to the braking distance and the distance between the following vehicle and the target vehicle, directly displays the early-warning content through the interaction of the vehicles when the following vehicle needs to be early-warned, reminds the driver of the following vehicle to safely drive, does not need the driver of the following vehicle to subjectively judge the safe distance, avoids the problems of inaccurate judgment and untimely response of the driver under different driving environments, reduces the collision risk of the vehicle, improves the accuracy and reliability of the following vehicle early-warning, and also improves the driving safety and driving experience of the user.
Referring to fig. 10, a schematic structural diagram of a vehicle interactive tail light control system provided by an embodiment of the present invention is provided, and referring to fig. 10, the embodiment of the present invention provides a vehicle interactive tail light control system, including:
The vehicle following detection module is used for acquiring first image information behind the target vehicle and judging whether the vehicle following is behind the target vehicle according to the first image information;
The image information processing module is used for determining driving environment information around the target vehicle according to the first image information when the following vehicle is arranged behind the target vehicle, 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;
the brake distance prediction module is used for predicting the brake distance of the following vehicle according to the driving environment information and the first vehicle speed and judging whether the brake distance is greater than or equal to the first distance;
And the early warning content display module is used for acquiring preset early warning content and controlling the vehicle interaction tail lamp of the target vehicle to display the early warning content when the braking distance is greater than or equal to the first distance.
The content in the method embodiment is applicable to the system embodiment, the functions specifically realized by the system embodiment are the same as those of the method embodiment, and the achieved beneficial effects are the same as those of the method embodiment.
The embodiment of the invention also provides electronic equipment, which comprises: the vehicle interaction tail lamp control system comprises a memory, a processor, a program stored in the memory and capable of running on the processor, and a data bus for realizing connection communication between the processor and the memory, wherein the program is executed by the processor to realize the vehicle interaction tail lamp control method. The electronic equipment can be any intelligent terminal including a tablet personal computer, a vehicle-mounted computer and the like.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and referring to fig. 11, an embodiment of the present invention provides an electronic device, including:
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, etc. for executing related programs, so as to implement the technical solution provided by the embodiments of the present invention;
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 (Random Access Memory, RAM). The memory 1102 may store an operating system and other application programs, and when the technical solutions provided in the embodiments of the present disclosure are implemented by software or firmware, relevant program codes are stored in the memory 1102, and the processor 1101 invokes a vehicle interaction tail lamp control method for executing the embodiments of the present disclosure;
an input/output interface 1103 for implementing information input and output;
The communication interface 1104 is configured to implement communication interaction between the device and other devices, and may implement communication in a wired manner (e.g. USB, network cable, etc.), or may implement communication in a wireless manner (e.g. mobile network, WIFI, bluetooth, etc.);
bus 1105 transmits information between the various components of the device (e.g., processor 1101, memory 1102, input/output interface 1103, and communication interface 1104);
Wherein the processor 1101, memory 1102, input/output interface 1103 and communication interface 1104 enable communication connection therebetween within the device via bus 1105.
Referring to fig. 12, the embodiment of the present invention further provides a storage medium, which is a computer readable storage medium, for computer readable storage, where one or more programs 1201 are stored in the storage medium, and the one or more programs 1201 may be executed by one or more processors to implement the vehicle interaction taillight control method described above.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiment of the invention also provides a vehicle, which comprises the vehicle interaction tail lamp control system or the electric drive assembly of the electronic equipment.
Specifically, the vehicle may be a private car, such as a sedan, SUV, MPV, or pick-up, or the like.
Embodiments of the present invention also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the method shown in fig. 1.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic 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 a larger operation are performed independently.
Furthermore, while the present invention has been described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the functions and/or features described above may be integrated in a single physical device and/or software module or one or more of the functions and/or features may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the invention, which is to be defined in the appended claims and their full scope of equivalents.
The above functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or a part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above-described method of the various embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium upon which the program described above is printed, as the program described above may be electronically captured, via, for instance, 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.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the foregoing description of the present specification, reference has been made to the terms "one embodiment/example", "another embodiment/example", "certain embodiments/examples", and the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present application has been described in detail, the present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present application, and these equivalent modifications and substitutions are intended to be included in the scope of the present application as defined in the appended claims.
Claims (13)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410726242.2A CN118636779A (en) | 2024-06-06 | 2024-06-06 | Vehicle interactive taillight control method, system, electronic device and storage medium |
| PCT/CN2024/123534 WO2025251478A1 (en) | 2024-06-06 | 2024-10-09 | Vehicle interactive tail light control method and system, electronic device, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410726242.2A CN118636779A (en) | 2024-06-06 | 2024-06-06 | Vehicle interactive taillight control method, system, electronic device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118636779A true CN118636779A (en) | 2024-09-13 |
Family
ID=92666821
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410726242.2A Pending CN118636779A (en) | 2024-06-06 | 2024-06-06 | Vehicle interactive taillight control method, system, electronic device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118636779A (en) |
| WO (1) | WO2025251478A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119550912A (en) * | 2024-11-21 | 2025-03-04 | 长城汽车股份有限公司 | Vehicle control method, device and vehicle |
| WO2025251478A1 (en) * | 2024-06-06 | 2025-12-11 | 中国第一汽车股份有限公司 | Vehicle interactive tail light control method and system, electronic device, and storage medium |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10387736B2 (en) * | 2017-09-20 | 2019-08-20 | TuSimple | System and method for detecting taillight signals of a vehicle |
| US10733465B2 (en) * | 2017-09-20 | 2020-08-04 | Tusimple, Inc. | System and method for vehicle taillight state recognition |
| CN109272776B (en) * | 2018-11-08 | 2020-08-04 | 哈尔滨工业大学 | Anti-rear-end collision early warning system based on image processing |
| JP7225400B2 (en) * | 2019-07-03 | 2023-02-20 | 日立Astemo株式会社 | vehicle controller |
| CN116331219A (en) * | 2023-05-08 | 2023-06-27 | 重庆长安汽车股份有限公司 | Rear-end collision prevention early warning method and device, vehicle and storage medium |
| CN116946172A (en) * | 2023-07-26 | 2023-10-27 | 广汽本田汽车有限公司 | Vehicle driving safety early warning method, system, device and storage medium |
| CN117842004B (en) * | 2024-02-01 | 2025-01-21 | 重庆赛力斯凤凰智创科技有限公司 | Method, device, electronic device and readable storage medium for controlling vehicle driving |
| CN118636779A (en) * | 2024-06-06 | 2024-09-13 | 中国第一汽车股份有限公司 | Vehicle interactive taillight control method, system, electronic device and storage medium |
-
2024
- 2024-06-06 CN CN202410726242.2A patent/CN118636779A/en active Pending
- 2024-10-09 WO PCT/CN2024/123534 patent/WO2025251478A1/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025251478A1 (en) * | 2024-06-06 | 2025-12-11 | 中国第一汽车股份有限公司 | Vehicle interactive tail light control method and system, electronic device, and storage medium |
| CN119550912A (en) * | 2024-11-21 | 2025-03-04 | 长城汽车股份有限公司 | Vehicle control method, device and vehicle |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2025251478A1 (en) | 2025-12-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN118636779A (en) | Vehicle interactive taillight control method, system, electronic device and storage medium | |
| CN110660256B (en) | Method and device for estimating state of signal lamp | |
| CN110228407B (en) | Display system and vehicle system | |
| CN112172835B (en) | Vehicle early warning method, device, equipment and storage medium | |
| EP3842996B1 (en) | Method of and system for determining traffic signal state | |
| US11688293B2 (en) | Providing educational media content items based on a determined context of a vehicle or driver of the vehicle | |
| CN111231972B (en) | Warning method based on driving behavior habit, vehicle and storage medium | |
| CN116176625A (en) | Vehicle driving control method, system, device and medium based on machine vision | |
| CN112991684A (en) | Driving early warning method and device | |
| US11250279B2 (en) | Generative adversarial network models for small roadway object detection | |
| CN112937559B (en) | Driving warning method and vehicle-mounted device | |
| CN114435374A (en) | Measuring the driver's safe driving factor | |
| CN113022578B (en) | Passenger reminding method and system based on vehicle motion information, vehicle and storage medium | |
| CN116946172A (en) | Vehicle driving safety early warning method, system, device and storage medium | |
| CN116798022A (en) | Vehicle door opening collision warning method, system and storage medium based on intent recognition | |
| US20250029436A1 (en) | Systems and methods for detecting software interactions for autonomous vehicles within changing environmental conditions | |
| CN119058720A (en) | Vehicle automatic control method, system, electronic device and storage medium | |
| CN113129617A (en) | Driving prompting method and device | |
| CN117858048A (en) | Information processing device, system and method, vehicle, and non-transitory storage medium | |
| CN115798260A (en) | A pedestrian and vehicle dynamic prediction method, device and storage medium | |
| CN117558121A (en) | Security risk detection method and equipment | |
| CN116552373B (en) | A vehicle lane change assist interaction method, system, device and storage medium | |
| CN114708563B (en) | Vehicle information processing method, device, computer equipment, vehicle and storage medium | |
| US12340514B2 (en) | Rut detection for road infrastructure | |
| CN115204262B (en) | Pedestrian warning method and device, storage medium and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |