Vehicle deceleration control method and device, vehicle-mounted rearview mirror and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicle control, in particular to a vehicle deceleration control method and device, a vehicle-mounted rearview mirror and a storage medium.
Background
In recent years, with the rapid development of the automobile industry in China, automobiles become transportation tools for most families, and traffic accidents caused by too high driving speed of the automobiles are rare.
The speed reducing belt is installed on road to reduce the speed of passing vehicle, and is usually set in road crossing, industrial and mining enterprise, school, residence community entrance, etc. to reduce the speed of vehicle and to cause traffic accident.
However, the driver still pays less attention to the speed bump, and the speed bump is not reduced, so that the traffic accident rate caused by too fast speed is inevitably increased.
Disclosure of Invention
The embodiment of the invention provides a vehicle deceleration control method and device, a vehicle-mounted rearview mirror and a storage medium, which are used for reminding a vehicle owner of driving in a deceleration mode or controlling the vehicle to automatically decelerate when the vehicle passes through a deceleration strip.
In a first aspect, an embodiment of the present invention provides a vehicle deceleration control method, including:
the method comprises the steps that vehicle-mounted equipment obtains a motion detection signal acquired by at least one motion detection sensor in real time, wherein the motion detection sensor comprises an accelerometer and a gyroscope;
and if the vehicle-mounted device determines that the target vehicle passes through a deceleration strip according to the motion detection signal, executing corresponding vehicle deceleration processing operation to enable the target vehicle to run in a deceleration mode after passing through the deceleration strip.
In a second aspect, an embodiment of the present invention further provides a vehicle deceleration control apparatus, including:
the motion detection signal acquisition module is used for acquiring motion detection signals acquired by at least one motion detection sensor in real time by vehicle-mounted equipment, wherein the motion detection sensor comprises an accelerometer and a gyroscope;
and the deceleration processing operation module is used for executing corresponding vehicle deceleration processing operation by the vehicle-mounted equipment if the target vehicle is determined to pass through a deceleration strip according to the motion detection signal, so that the target vehicle runs in a deceleration mode after passing through the deceleration strip.
In a third aspect, an embodiment of the present invention further provides a vehicle-mounted rearview mirror, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the vehicle deceleration control method according to any embodiment of the present invention is implemented.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the vehicle deceleration control method according to any of the embodiments of the present invention.
According to the vehicle deceleration control method and device, the vehicle-mounted rearview mirror and the storage medium, the motion detection signals collected by at least one motion detection sensor in real time are obtained through the vehicle-mounted equipment; if the target vehicle is determined to pass through the deceleration strip according to the motion detection signal, corresponding vehicle deceleration processing operation is executed, so that the target vehicle is decelerated after passing through the deceleration strip, the attention of a vehicle owner to the vehicle speed when the vehicle passes through the deceleration strip is improved, and the occurrence rate of traffic accidents caused by the fact that the vehicle speed is too fast can be effectively reduced.
Drawings
FIG. 1 is a flow chart of a vehicle deceleration control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a vehicle deceleration control method in a second embodiment of the invention;
fig. 3 is a schematic structural view of a vehicular deceleration control apparatus in a third embodiment of the invention;
fig. 4 is a schematic hardware structure diagram of a vehicle-mounted rearview mirror according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
The embodiment provides a vehicle deceleration control method, which is applicable to the situation of controlling the speed of a vehicle when the vehicle passes through a deceleration strip, and the method can be executed by the vehicle deceleration control device provided by the embodiment of the invention, the device can be realized in a software and/or hardware manner, and can be generally integrated in vehicle-mounted equipment, such as a vehicle-mounted rearview mirror or a vehicle machine. As shown in fig. 1, the vehicle deceleration control method specifically includes the steps of:
s110, the vehicle-mounted equipment acquires motion detection signals acquired by at least one motion detection sensor in real time. Wherein the motion detection sensor comprises an accelerometer and a gyroscope.
The motion detection signal collected by the motion detection sensor may be used to characterize a motion state of the vehicle (for example, the vehicle is passing through a curve or passing through a deceleration strip, etc.), and specifically, the motion state of the vehicle may be determined by analyzing signals collected by an accelerometer and a gyroscope. Among them, accelerometers are sensors that are highly susceptible to external disturbances, but the measured values vary relatively little over time; the gyroscope can obtain an angle relation through integral operation, has good dynamic performance and small external interference, but the change of a measured value is large along with time. The motion detection sensor which adopts the matching detection of the accelerometer and the gyroscope makes the advantages and disadvantages of the accelerometer and the gyroscope complementary to obtain a more accurate detection result.
Wherein the in-vehicle apparatus includes: vehicle-mounted rearview mirrors or vehicle machines. As an optional implementation manner, the motion detection sensor may be installed in a vehicle-mounted rearview mirror, or may be installed in a vehicle machine, so that the vehicle-mounted device can conveniently acquire the motion detection signal acquired by the vehicle-mounted device.
And S120, if the vehicle-mounted device determines that the target vehicle passes through the deceleration strip according to the motion detection signal, executing corresponding vehicle deceleration processing operation to enable the target vehicle to run in a deceleration mode after passing through the deceleration strip.
The vehicle-mounted equipment determines the motion state of the target vehicle according to the motion detection signals acquired by the motion detection sensor in real time, and if the motion detection signals indicate that the target vehicle passes through the deceleration strip, the vehicle-mounted equipment controls the vehicle to execute deceleration processing operation, so that the target vehicle can run at a reduced speed after passing through the deceleration strip.
In an alternative embodiment of this embodiment, the speed bump may be a curve speed bump. Generally, since a curve is a region where traffic accidents occur frequently, the vehicle travels at a reduced speed after passing through a curve acceleration zone. Before the vehicle-mounted equipment acquires the motion detection signal acquired by at least one motion detection sensor in real time, the vehicle deceleration control method further comprises the following steps: the vehicle-mounted device determines that the target vehicle passes through the curve within a set prediction time period. Namely, under the scene that the target vehicle can pass through the curve within the set prediction time period, the vehicle deceleration control method is adopted, whether the target vehicle passes through the curve deceleration strip or not is determined according to the motion detection signals acquired by the motion sensor in real time, and if the target vehicle is determined to pass through the curve deceleration strip, the vehicle is controlled to execute deceleration processing operation, so that the target vehicle decelerates and runs after passing through the curve deceleration strip, and the traffic accident caused by the fact that the vehicle speed is too fast is avoided as much as possible.
Specifically, the vehicle-mounted device may determine the road section to be passed corresponding to the predicted time period according to a navigation planning route of the target vehicle and a real-time speed of the target vehicle; and if the road section to be passed through comprises the curve section, determining that the target vehicle passes through the curve in the prediction time period.
For example, the vehicle device may determine the distance of each road segment according to the navigation route of the target vehicle, and predict the time period for the target vehicle to reach each road segment by combining the real-time speed of the target vehicle, so as to determine the road segment to be passed corresponding to the predicted time period. According to the navigation map, if a certain road section to be passed through comprises a curve section, the target vehicle is determined to pass through the curve section in the corresponding prediction time period.
And when the target vehicle is determined to pass through the curve in the prediction time period, the vehicle-mounted equipment acquires a motion detection signal acquired by the motion detection sensor in real time, and if the target vehicle is determined to pass through the curve deceleration strip according to the motion detection signal, corresponding vehicle deceleration processing operation is executed so that the target vehicle decelerates and runs after passing through the curve deceleration strip.
If the vehicle-mounted equipment determines that the target vehicle is in the automatic driving mode, controlling to reduce the speed of the target vehicle so as to realize vehicle deceleration processing operation; if the vehicle-mounted equipment determines that the target vehicle is in the manual driving mode, the vehicle-mounted equipment generates the deceleration prompting information to perform deceleration prompting on a driver of the target vehicle, for example, the deceleration prompting information can be generated in a voice mode, or an alarm sound for indicating the deceleration prompting can be generated, so that the driver can pay attention to the deceleration prompting information, pay attention to careful driving of the vehicle speed, and avoid traffic accidents caused by the fact that the vehicle speed is too fast.
In the vehicle deceleration control method provided by the embodiment, a vehicle-mounted device is used for acquiring a motion detection signal acquired by at least one motion detection sensor in real time; if the target vehicle is determined to pass through the deceleration strip according to the motion detection signal, corresponding vehicle deceleration processing operation is executed, so that the technical means that the target vehicle decelerates and runs after passing through the deceleration strip improves the attention of a vehicle owner to the vehicle speed when the vehicle passes through the deceleration strip, or directly controls the target vehicle in an automatic driving mode to decelerate and drive, and effectively reduces the occurrence rate of traffic accidents caused by too fast vehicle speed.
Example two
On the basis of the above embodiments, the vehicle-mounted device determines that the target vehicle is passing through the deceleration strip according to the motion detection signal, specifically:
the vehicle-mounted equipment constructs a motion state identification sample according to a first motion detection signal corresponding to the accelerometer and a second motion detection signal corresponding to the gyroscope, which are acquired under a set time window; the vehicle-mounted equipment matches the motion state identification sample with at least one deceleration strip identification template which is prestored; and if the vehicle-mounted device determines that the motion state identification sample is successfully matched with the target deceleration strip identification template, determining that the target vehicle passes through the deceleration strip.
As shown in fig. 2, the method of the present embodiment specifically includes the following operations:
s210, determining a road section to be passed corresponding to the predicted time period by the vehicle-mounted equipment according to a navigation planning route of a target vehicle and the real-time speed of the target vehicle.
S220, if the vehicle-mounted equipment determines that the road section to be passed through comprises a curve section, determining that the target vehicle passes through the curve in the prediction time period.
And S230, the vehicle-mounted equipment acquires the motion detection signal acquired by at least one motion detection sensor in real time. Wherein the motion detection sensor comprises an accelerometer and a gyroscope.
S240, the vehicle-mounted equipment constructs a motion state identification sample according to a first motion detection signal corresponding to the accelerometer and a second motion detection signal corresponding to the gyroscope, which are acquired under a set time window.
The accelerometer collects a first motion detection signal of a target vehicle in real time, the gyroscope collects a second motion detection signal of the target vehicle in real time, and the vehicle-mounted equipment takes two motion detection signals under each set time window (for example, 0s-5s, or 5s-10 s) as motion state identification samples. The motion state identification sample may represent the motion state of the target vehicle at the time, such as whether the target vehicle is passing through a curve speed bump or the like.
And S250, matching the motion state identification sample with at least one prestored deceleration strip identification template by the vehicle-mounted equipment.
The deceleration strip identification template is determined by motion detection signals acquired by the motion detection sensor in real time when a test vehicle of a set type passes through the deceleration strip of the set type within a set speed range.
For example, different types of vehicles can be used as test vehicles, the test vehicles are respectively controlled to pass through deceleration strips of set types at different set speeds, motion detection signals of a target vehicle when the target vehicle passes through the deceleration strips are collected in real time through motion detection sensors (including accelerometers and gyroscopes), and the obtained motion detection signals are used as deceleration strip identification templates.
It should be noted that the deceleration strip recognition templates may be multiple, and may be different according to the type of vehicle (such as large bus, tractor, city bus, medium bus, large truck, small car, and small automatic transmission car), the type of deceleration strip (such as speed hump, speed reduction platform, road protrusion, circular shape, and solar energy), and the speed of the test vehicle passing through the deceleration strip.
In an optional implementation manner of this embodiment, the vehicle-mounted device obtains a vehicle type and a real-time vehicle speed of the target vehicle; screening a deceleration strip recognition template matched with the target vehicle as a candidate deceleration strip recognition template according to the vehicle type and the real-time vehicle speed; and matching the motion state identification sample with the alternative deceleration strip identification template.
Namely, a proper deceleration strip identification template is selected to be matched with the motion state identification sample, so that the phenomenon that the deceleration strip cannot be successfully matched due to different vehicle types and different vehicle speeds is avoided, and whether the target vehicle passes through the deceleration strip or not cannot be correctly judged.
And S260, if the vehicle-mounted device determines that the motion state identification sample is successfully matched with the target deceleration strip identification template, determining that the target vehicle passes through the deceleration strip.
The motion state identification sample is matched with a target deceleration strip identification template, such as a deceleration strip identification template matched with the vehicle type and the running speed of the target vehicle, and if the error between the motion state identification sample and the target deceleration strip identification template is within a set threshold (for example, the error is +/-5% or +/-10% or the like), the motion state identification sample is determined to be successfully matched with the target deceleration strip identification template, so that the target vehicle can be determined to pass through the deceleration strip and need to be decelerated and run.
And S270, the vehicle-mounted equipment executes corresponding vehicle deceleration processing operation so that the target vehicle runs at a decelerated speed after passing through the deceleration strip.
After the target vehicle is determined to pass through the deceleration strip, controlling the target vehicle to execute corresponding vehicle deceleration processing operation, and if the vehicle-mounted equipment determines that the target vehicle is in an automatic driving mode, controlling the speed of the target vehicle to be reduced so as to realize the vehicle deceleration processing operation; if the vehicle-mounted equipment determines that the target vehicle is in the manual driving mode, the vehicle-mounted equipment generates the deceleration prompting information to perform deceleration prompting on a driver of the target vehicle, for example, the deceleration prompting information can be generated in a voice mode, or an alarm sound for indicating the deceleration prompting can be generated, so that the driver can pay attention to the deceleration prompting information, pay attention to careful driving of the vehicle speed, and avoid traffic accidents caused by the fact that the vehicle speed is too fast.
In the technical scheme, the motion detection signals of various types of vehicles passing through deceleration strips of different types at different speeds are collected in advance to form a plurality of deceleration strip identification templates. The motion state identification sample of the target vehicle is matched with the corresponding deceleration strip identification templates in the deceleration strip identification templates, whether the target vehicle passes through the deceleration strip or not can be accurately judged, and then the vehicle-mounted equipment can judge whether corresponding vehicle deceleration processing operation needs to be executed or not.
EXAMPLE III
The embodiment provides a vehicle deceleration control device, which is applicable to the condition of controlling the speed of a vehicle when the vehicle passes through a deceleration strip, can be realized in a software and/or hardware mode, and can be generally integrated in vehicle-mounted equipment (such as a vehicle-mounted rearview mirror or a vehicle machine). As shown in fig. 3, the apparatus specifically includes: a motion detection signal acquisition module 310 and a deceleration processing operation module 320. Wherein,
a motion detection signal acquisition module 310, configured to acquire, by a vehicle-mounted device, a motion detection signal acquired by at least one motion detection sensor in real time, where the motion detection sensor includes an accelerometer and a gyroscope;
and a deceleration processing operation module 320, configured to, if it is determined that the target vehicle is passing through a deceleration strip according to the motion detection signal, perform a corresponding vehicle deceleration processing operation so that the target vehicle travels with deceleration after passing through the deceleration strip.
According to the vehicle deceleration control device provided by the embodiment, the motion detection signals acquired by at least one motion detection sensor in real time are acquired through the vehicle-mounted equipment; if the target vehicle is determined to pass through the deceleration strip according to the motion detection signal, corresponding vehicle deceleration processing operation is executed, so that the target vehicle is decelerated after passing through the deceleration strip, the attention of a vehicle owner to the vehicle speed when the vehicle passes through the deceleration strip is improved, and the traffic accident rate caused by the fact that the vehicle speed is too fast is effectively reduced.
On the basis of the above embodiment, the deceleration processing operation block 320 includes: the device comprises a dynamic state identification sample construction unit, a deceleration strip identification template matching unit and a motion state determination unit. Wherein,
the dynamic state identification sample construction unit is used for constructing a dynamic state identification sample by the vehicle-mounted equipment according to a first motion detection signal corresponding to the accelerometer and a second motion detection signal corresponding to the gyroscope, which are acquired under a set time window;
the deceleration strip identification template matching unit is used for matching the motion state identification sample with at least one deceleration strip identification template which is prestored by the vehicle-mounted equipment;
and the motion state determination unit is used for determining that the target vehicle passes through a deceleration strip if the vehicle-mounted device determines that the motion state identification sample is successfully matched with the target deceleration strip identification template.
The deceleration strip identification template is determined by motion detection signals collected by the motion detection sensor in real time when a test vehicle of a set type passes through the deceleration strip of the set type within a set speed range.
Specifically, deceleration strip discernment template matching unit includes: the deceleration strip recognition template matching method comprises a parameter obtaining subunit, a candidate deceleration strip recognition template determining subunit and a deceleration strip recognition template matching subunit. Wherein,
the parameter acquisition subunit is used for acquiring the vehicle type and the real-time vehicle speed of the target vehicle by the vehicle-mounted equipment;
the candidate deceleration strip identification template determining subunit is used for screening a deceleration strip identification template matched with the target vehicle as a candidate deceleration strip identification template by the vehicle-mounted equipment according to the vehicle type and the real-time vehicle speed;
and the deceleration strip identification template matching subunit is used for matching the motion state identification sample with the candidate deceleration strip identification template by the vehicle-mounted equipment.
Specifically, the deceleration strip includes: bend deceleration strip.
The vehicle deceleration control apparatus described above further includes: and the road section determining module is used for determining that the target vehicle passes through the curve within a set prediction time period before the vehicle-mounted equipment acquires the motion detection signal acquired by at least one motion detection sensor in real time.
Specifically, the link determining module includes: the device comprises a road section to be passed determining unit and a belt-passing curve identifying unit. Wherein,
the road section determining unit is used for determining a road section to be passed corresponding to the predicted time period according to the navigation planning route of the target vehicle and the real-time speed of the target vehicle by the vehicle-mounted equipment;
and the vehicle-mounted equipment is used for determining that the target vehicle passes through the curve within the prediction time period if the vehicle-mounted equipment determines that the road section to be passed comprises the curve section.
Specifically, the deceleration processing operation module 320 includes: the vehicle deceleration unit and the deceleration reminding unit. Wherein,
a vehicle deceleration unit for controlling to decelerate a vehicle speed of the target vehicle if the vehicle-mounted device determines that the target vehicle is in an automatic driving mode;
and the deceleration reminding unit is used for generating deceleration prompt information to perform deceleration reminding on the driver of the target vehicle if the vehicle-mounted equipment determines that the target vehicle is in the manual driving mode.
Specifically, the in-vehicle device includes: vehicle-mounted rearview mirrors or vehicle machines.
The vehicle deceleration control device can execute the vehicle deceleration control method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the vehicle deceleration control method.
Example four
Embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, are operable to perform a method of vehicle deceleration control, the method comprising:
the method comprises the steps that vehicle-mounted equipment obtains a motion detection signal acquired by at least one motion detection sensor in real time, wherein the motion detection sensor comprises an accelerometer and a gyroscope;
and if the vehicle-mounted device determines that the target vehicle passes through a deceleration strip according to the motion detection signal, executing corresponding vehicle deceleration processing operation to enable the target vehicle to run in a deceleration mode after passing through the deceleration strip.
Optionally, the computer executable instruction, when executed by the computer processor, may be further used to implement a technical solution of a vehicle deceleration control method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
EXAMPLE five
As shown in fig. 4, a schematic diagram of a hardware structure of a vehicle-mounted rearview mirror provided in a fifth embodiment of the present invention is shown in fig. 4, where the vehicle-mounted rearview mirror includes:
one or more processors 410, one processor 410 being illustrated in FIG. 4;
a memory 420;
the vehicle-mounted rearview mirror may further include: an input device 430 and an output device 440.
The processor 410, the memory 420, the input device 430 and the output device 440 in the vehicle-mounted rear view mirror may be connected through a bus or other means, and fig. 4 illustrates the bus connection.
The memory 420, which is a non-transitory computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to an optimization method of vehicle network communication in the embodiment of the present invention (for example, the motion detection signal acquisition module 310 and the deceleration processing operation module 320 shown in fig. 3). The processor 410 executes various functional applications and data processing of the vehicle rearview mirror by executing software programs, instructions and modules stored in the memory 420, namely, implements a vehicle deceleration control method of the above-mentioned method embodiment.
The memory 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the stored data area may store data created according to the use of the vehicle-mounted rearview mirror, and the like. Further, the memory 420 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, memory 420 may optionally include memory located remotely from processor 410, which may be connected to the terminal device via 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 input device 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the vehicle mirror. The output device 440 may include a display device such as a display screen.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.