Detailed Description
The embodiment of the invention provides a door opening early warning method and device and electronic equipment.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an execution subject of the method may be a door opening warning system, and the door opening warning system may include sensors and monitoring devices preset inside and outside a vehicle, an electronic control unit ECU for collecting and analyzing information collected by the sensors and the monitoring devices, and a warning device for sending a warning signal. The method may specifically comprise the steps of:
and step S01, when it is determined that a moving object meeting a preset first early warning condition exists in a preset early warning area, judging whether passengers corresponding to the early warning area in the vehicle are in a state of leaving the vehicle.
As shown in fig. 2, when the vehicle is in a stationary state, the door warning system determines whether a moving object exists in a preset warning area through a sensor preset outside the vehicle. If the moving object exists, whether the motion state of the moving object meets a preset first early warning condition is further judged.
If the moving object does not meet the first early warning condition, the fact that the moving object has no risk of collision with the vehicle is determined, and an early warning signal does not need to be sent.
And if the moving object meets the first early warning condition, determining that the moving object has the risk of colliding with the vehicle. At this time, whether passengers exist on the corresponding side is determined according to the corresponding side, corresponding to the vehicle, of the early warning area where the moving object is located. For example, if the early warning area is the left rear of the vehicle, the corresponding side of the vehicle is the left side or the left rear of the vehicle, and the passenger on the corresponding side is the passenger sitting on the left side or the left rear of the vehicle; if the early warning area is the right rear side of the vehicle, the corresponding side of the vehicle is the right side or the right rear side of the vehicle, and the passengers on the corresponding side are the passengers sitting on the right side or the right rear side of the vehicle.
And if the passenger is taken by the corresponding side, monitoring the passenger state of the passenger, and judging whether the passenger is in a state of leaving the vehicle. The state of leaving the vehicle is specifically that the occupant is leaving the vehicle or that the occupant has left the vehicle.
It should be understood that the moving object may be another vehicle, a pedestrian, a bicycle, etc.
It should be understood that the sensor preset outside the vehicle may be a microwave radar, an infrared radar, a camera, or the like, and may specifically be a combination of a plurality of sensors, which is not specifically limited herein, but for the sake of simplicity, the millimeter wave radar is exemplified in the following embodiments.
And step S02, acquiring a risk area corresponding to the passenger when the passenger is in a state of leaving the vehicle.
When it is determined that the occupant is in a state of leaving the vehicle, as shown in fig. 2, the risk region corresponding to the occupant is determined based on the position where the occupant leaves, that is, the position where the door opened by the occupant is located.
The risk areas can be set, the risk areas corresponding to the vehicle doors can be set, and the safety areas required by the passengers to leave the vehicle can be estimated as the risk areas by estimating the monitored getting-off speed and time of the passengers.
And step S03, when the moving object is monitored to have the risk of collision with the risk area, generating a first early warning signal for reminding the passengers outside the vehicle.
And continuously monitoring the motion state of the moving object, calculating the relative position change trend between the moving object and the risk area, and judging whether the moving object has the risk of collision with the risk area. And if the collision risk exists, generating a first early warning signal outside the vehicle to warn passengers and moving objects and take avoidance measures in time.
The first warning signal may be a warning sound generated by a speaker, a warning light signal generated by a hazard indicating lamp of a vehicle, a voice message generated by a voice device, or the like, and is not particularly limited herein.
According to the technical scheme provided by the embodiment of the invention, when a moving object meeting a preset first early warning condition exists in a preset early warning area, whether passengers corresponding to the early warning area in a vehicle are in a state of leaving the vehicle or not is judged; when the passenger is in a state of leaving the vehicle, acquiring a risk area corresponding to the passenger; generating a first warning signal outside the vehicle upon monitoring that the mobile object is at risk of collision with the at-risk zone. By the embodiment of the invention, quick early warning of passengers leaving the vehicle is realized, and the safety of the passengers is ensured.
Further, as shown in fig. 3, the specific processing manner of step S01 can be varied, and an alternative processing manner is provided below, which can be specifically referred to the processing of steps S011 to S013.
And step S011, obtaining the motion state of the mobile object in the early warning area through a sensor preset outside the vehicle.
The millimeter wave radar preset outside the vehicle transmits millimeter wave signals to a preset early warning area and receives reflected signals, so that the motion state of a moving object in the early warning area can be detected in real time, and the detected information is provided for an ECU (electronic control unit) of the vehicle.
After receiving the information of the millimeter wave radar for detecting the moving object in real time, the ECU judges whether the motion state of the moving object meets a preset first early warning condition.
It should be understood that, the obtaining method of the motion state and the matching algorithm with the first warning condition may be set according to actual needs, and the embodiment of the present invention only gives an example of one of the following methods:
the ECU calculates the Time To Collision (TTC) of the moving object with the vehicle according To a preset formula, as shown in the following formula:
TTC=S/VRel
wherein, S and VRelRespectively the distance and relative speed between the moving object and the vehicle.
And when the TTC is smaller than a preset time threshold, judging that the motion state of the moving object meets a preset first early warning condition, namely, the motion state is equivalent to the risk of collision between the moving object and the vehicle.
And step S012, if the motion state meets a preset first early warning condition, acquiring preset monitoring information of the monitoring equipment of the passengers.
And acquiring monitoring information of corresponding passengers after determining that the moving object has the risk of collision with the vehicle. The monitoring information is obtained through preset monitoring equipment aiming at the passengers.
Furthermore, the types of the monitoring devices are many, and can be selected and combined according to actual needs, as shown in fig. 4, and the embodiment of the present invention only gives an illustration of one of the monitoring devices. The monitoring devices include, but are not limited to: a door sensor, a seat belt buckle sensor, a seat pressure sensor, and a monitoring device for the passengers;
acquiring preset monitoring information of monitoring equipment of the passengers; the method comprises the following steps:
obtaining the opening state of the vehicle door through a vehicle door sensor; whether the safety belt is unfastened or not is obtained through a safety belt locking sensor; whether the seat is occupied or not is obtained through a seat pressure sensor; and obtaining whether the passenger leaves a monitoring area or not through monitoring equipment for the passenger.
The door sensor is used for providing the ECU with door state information whether a door of the vehicle is opened or not.
The seatbelt lock sensor is configured to provide the ECU with seatbelt status information indicating whether the seatbelt of the occupant is unfastened.
The seat pressure sensor may specifically include a pressure sensor disposed on a seat cushion, a backrest, and a headrest, and collect information of magnitude of force applied in each direction, and is configured to provide the ECU with seat state information of whether the seat is occupied.
The monitoring device can shoot passengers by a camera arranged on the roof, and the ECU can determine the behavior information of the passengers by analyzing the shot image information by using a preset image processing technology.
Step S013, judging that the passengers are in a state of leaving the vehicle when the monitoring information meets a preset second early warning condition; otherwise, the passenger is judged to be in a state of not leaving the vehicle.
When the mobile object is at risk of collision with the vehicle, the ECU determines whether there is a passenger in a state of leaving the vehicle by comprehensively analyzing the monitoring information provided by each monitoring device, integrating the door state information, the seat belt state information, the seat state information, the behavior information of the passenger, and the like, and comprehensively determining whether there is a passenger intending to leave the vehicle in the vehicle and whether there is a possibility of leaving or leaving the vehicle.
The specific judgment method can be set according to actual needs, for example, the monitoring information of each monitoring device can be sequentially matched with a preset second early warning condition, and if the monitoring information meets the second early warning condition, the state that the passenger leaves the vehicle is judged; and if any monitoring information does not meet the second early warning condition, judging that the passenger is in a state of not leaving the vehicle.
Further, step S013 includes:
and when the opening state of the vehicle door is determined to be open, the safety belt is unfastened, the seat is not occupied, and the behavior information of the passenger is determined to be leaving the monitoring area, determining that the passenger is in a vehicle leaving state.
And sending a preset early warning signal according to the state that whether the passenger leaves the vehicle or not.
Further, when it is determined that the occupant is in a state of being away from the vehicle, the method further includes:
generating a second warning signal for alerting the moving object outside the vehicle.
The second warning signal may be a light signal emitted from a hazard indicating lamp of the vehicle, for example, a double flash. The system is used for prompting that collision risks exist in front of a driver or an operator of a moving object and avoidance measures need to be executed.
Further, when it is determined that the occupant is not away from the vehicle, the method further includes:
generating a third warning signal for alerting the occupant in the interior of the vehicle.
The third warning signal may be a light signal displayed by an atmosphere lamp in the vehicle, and a voice prompt message sent by a voice device, for example, a speaker.
As shown in fig. 5, an example of a door opening warning method is provided in the embodiment of the present invention. And starting from the state that the vehicle is in a static state, the millimeter wave radar continuously works to detect a preset early warning area, for example, whether a moving object, such as other vehicles, approaches the vehicle. If not, no alarm is given. If it is detected that a rear vehicle or other road participants approach the vehicle, whether the vehicle door on the side corresponding to the side rear at the moment is opened or not is judged according to the received vehicle door state information, and if the vehicle door is not opened, the possible collision risk of passengers in the vehicle is prompted through an atmosphere lamp or a loudspeaker in the vehicle. If the door is opened, if the safety belt state information shows that the safety belt of the passenger at the corresponding side is not unfastened, the potential collision risk of the passenger in the vehicle is prompted through the vehicle interior atmosphere lamp or the loudspeaker. If the safety belt of the passenger is unfastened, the passenger can be determined to be still in the vehicle according to the state information of the corresponding side seat and if the seat is in the occupied state, and the collision risk possibly existing in the passenger in the vehicle can be prompted through an atmosphere lamp or a loudspeaker in the vehicle. And if the seat is not occupied, judging whether the passenger leaves the vehicle or not by combining with the behavior information of the passenger acquired by the monitoring equipment, if so, prompting the possible risks of the passenger in the vehicle through an atmosphere lamp or a loudspeaker in the vehicle, and if so, giving out a warning through a danger indicating lamp. The ECU judges that there is a risk of collision with a dangerous area where the vehicle occupant leaves according to the motion state of the rear vehicle continuously fed back by the radar. If not, the potential risk is alerted by an in-vehicle mood light or speaker. If the rear vehicle does not decelerate or continues to keep the original path to run, the vehicle warns the rear vehicle or passengers leaving the vehicle in a whistle mode, so that the risk of collision is brought to the attention, and early warning is finished.
According to the technical scheme provided by the embodiment of the invention, the motion state of the moving object in the early warning area is obtained through the sensor which is arranged outside the vehicle in advance; if the motion state meets a preset first early warning condition, acquiring preset monitoring information of monitoring equipment of the passengers; when the monitoring information meets a preset second early warning condition, judging that the passengers are in a state of leaving the vehicle, and generating a second early warning signal outside the vehicle; and if not, judging that the passenger is not in a state of leaving the vehicle, and generating a third early warning signal in the vehicle. According to the embodiment of the invention, the corresponding early warning information is sent according to different states of the passengers, and the safety of the passengers is ensured.
On the basis of the same technical concept, the embodiment of the present invention further provides a door opening warning device corresponding to the door opening warning method provided in the foregoing embodiment, and fig. 6 is a schematic diagram of a module of the door opening warning device provided in the embodiment of the present invention, where the door opening warning device is configured to execute the door opening warning method described in fig. 1 to 5, and as shown in fig. 6, the door opening warning device includes: anoccupant monitoring module 601, azone determination module 602, and afirst warning module 603.
The passenger monitoring module is used for judging whether passengers corresponding to a preset early warning area in a vehicle are in a state of leaving the vehicle or not when it is determined that a moving object meeting a preset first early warning condition exists in the preset early warning area;
the area determining module is used for acquiring a risk area corresponding to the passenger when the passenger is in a state of leaving the vehicle;
the first early warning module is used for generating a first early warning signal for reminding the passengers outside the vehicle when the moving object is monitored to have the risk of colliding with the risk area.
According to the technical scheme provided by the embodiment of the invention, when a moving object meeting a preset first early warning condition exists in a preset early warning area, whether passengers corresponding to the early warning area in a vehicle are in a state of leaving the vehicle or not is judged; when the passenger is in a state of leaving the vehicle, acquiring a risk area corresponding to the passenger; generating a first warning signal outside the vehicle upon monitoring that the mobile object is at risk of collision with the at-risk zone. By the embodiment of the invention, quick early warning of passengers leaving the vehicle is realized, and the safety of the passengers is ensured.
Further, the occupant monitoring module includes:
a first monitoring unit for obtaining a motion state of a mobile object within the early warning region through a sensor preset outside the vehicle;
the second monitoring unit is used for acquiring preset monitoring information of monitoring equipment of the passengers if the motion state meets a preset first early warning condition;
the third monitoring unit is used for judging that the passengers are in a state of leaving the vehicle when the monitoring information meets a preset second early warning condition; otherwise, the passenger is judged to be in a state of not leaving the vehicle.
Further, the monitoring devices include, but are not limited to: a door sensor, a seat belt buckle sensor, a seat pressure sensor, and a monitoring device for the passengers.
Further, the apparatus further comprises: and the second early warning module is used for generating a second early warning signal for reminding the moving object outside the vehicle.
Further, the apparatus comprises: and the third early warning module is used for generating a third early warning signal for reminding the passengers in the vehicle.
According to the technical scheme provided by the embodiment of the invention, the motion state of the moving object in the early warning area is obtained through the sensor which is arranged outside the vehicle in advance; if the motion state meets a preset first early warning condition, acquiring preset monitoring information of monitoring equipment of the passengers; when the monitoring information meets a preset second early warning condition, judging that the passengers are in a state of leaving the vehicle, and generating a second early warning signal outside the vehicle; and if not, judging that the passenger is not in a state of leaving the vehicle, and generating a third early warning signal in the vehicle. According to the embodiment of the invention, the corresponding early warning information is sent according to different states of the passengers, and the safety of the passengers is ensured.
The door opening early warning device provided by the embodiment of the invention can realize each process in the embodiment corresponding to the door opening early warning method, and is not repeated here to avoid repetition.
It should be noted that the door opening early warning device provided in the embodiment of the present invention and the door opening early warning method provided in the embodiment of the present invention are based on the same inventive concept, and therefore specific implementation of the embodiment may refer to implementation of the door opening early warning method, and repeated details are not described herein.
On the basis of the same technical concept, the embodiment of the present invention further provides an electronic device, which is configured to execute the door opening warning method, and fig. 7 is a schematic structural diagram of an electronic device implementing each embodiment of the present invention, as shown in fig. 7. Electronic devices may vary widely in configuration or performance and may include one ormore processors 701 andmemory 702, where one or more stored applications or data may be stored inmemory 702.Memory 702 may be, among other things, transient storage or persistent storage. The application program stored inmemory 702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, theprocessor 701 may be configured to communicate with thememory 702 to execute a series of computer-executable instructions in thememory 702 on the electronic device. The electronic device may also include one ormore power supplies 703, one or more wired or wireless network interfaces 704, one or more input-output interfaces 705, one ormore keyboards 706.
Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a bus; the memory is used for storing a computer program; the processor is used for executing the program stored in the memory and realizing the following method steps:
when it is determined that a moving object meeting a preset first early warning condition exists in a preset early warning area, judging whether passengers corresponding to the early warning area in a vehicle are in a state of leaving the vehicle or not;
when the passenger is in a state of leaving the vehicle, acquiring a risk area corresponding to the passenger;
generating a first warning signal outside the vehicle upon monitoring that the mobile object is at risk of collision with the at-risk zone.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when executed by a processor, the computer program implements the following method steps:
when it is determined that a moving object meeting a preset first early warning condition exists in a preset early warning area, judging whether passengers corresponding to the early warning area in a vehicle are in a state of leaving the vehicle or not;
when the passenger is in a state of leaving the vehicle, acquiring a risk area corresponding to the passenger;
generating a first warning signal outside the vehicle upon monitoring that the mobile object is at risk of collision with the at-risk zone.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.