Vehicle deceleration control method, device, vehicular rear mirror and storage medium
Technical field
The present embodiments relate to the control technology field of vehicle, more particularly to a kind of vehicle deceleration control method, device,
Vehicular rear mirror and storage medium.
Background technology
In recent years, with the fast development of China's automobile industry, automobile has become the walking-replacing tool of Jue great Suo Shuo families,
Simultaneously as traffic accident caused by Vehicle Speed is too fast is also commonplace.
Deceleration strip, be it is a kind of make on the highway by vehicle deceleration means of transportation, generally with yellow black phase
Between to cause vision attention, road surface is somewhat arched upward to reach vehicle deceleration purpose, it will usually be arranged on highway road junction, industrial and mineral enterprise
Industry, school, Residential Quarter Entrance etc. need the section that vehicle deceleration goes slowly and easily trigger the section of traffic accident, are to be used to subtract
Fast motor vehicle, the novel traffic Special safety of non-motor vehicle running velocity are set.
But, however it remains driver less payes attention to deceleration strip, and the phenomenon that speed does not subtract when crossing deceleration strip occurs, in this way,
Inevitably raise the traffic accident incidence caused by speed is too fast.
The content of the invention
The embodiment of the present invention provides a kind of vehicle deceleration control method, device, vehicular rear mirror and storage medium, with car
Remind car owner to slow down when crossing deceleration strip to drive or control vehicle automatic retarding traveling.
In a first aspect, an embodiment of the present invention provides a kind of vehicle deceleration control method, including:
Mobile unit obtains the motion detection signal that at least one motion detection sensor gathers in real time, wherein, the fortune
Dynamic detection sensor includes accelerometer and gyroscope;
If the mobile unit determines that target vehicle by deceleration strip, is performing according to the motion detection signal
Corresponding vehicle deceleration processing operation, so that the target vehicle passes through Reduced Speed Now after the deceleration strip.
Second aspect, the embodiment of the present invention additionally provide a kind of deceleration control device for vehicle, including:
Motion detection signal acquisition module, obtains what at least one motion detection sensor gathered in real time for mobile unit
Motion detection signal, wherein, the motion detection sensor includes accelerometer and gyroscope;
Slow down and handle operation module, if determining target vehicle according to the motion detection signal for the mobile unit
By deceleration strip, then corresponding vehicle deceleration processing operation is performed, so that after the target vehicle is by the deceleration strip
Reduced Speed Now.
The third aspect, the embodiment of the present invention additionally provide a kind of vehicular rear mirror, including memory, processor and are stored in
On memory and the computer program that can run on a processor, the processor realize that the present invention is any when performing described program
Vehicle deceleration control method described in embodiment.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, realizes the vehicle deceleration control method described in any embodiment of the present invention when which is executed by processor.
A kind of vehicle deceleration control method, device, vehicular rear mirror and storage medium provided in an embodiment of the present invention, pass through
Mobile unit obtains the motion detection signal that at least one motion detection sensor gathers in real time;If according to the motion detection
Signal determines that target vehicle by deceleration strip, then performs corresponding vehicle deceleration processing operation, so that the target vehicle
By the technological means of Reduced Speed Now after the deceleration strip, improving car owner when vehicle crosses deceleration strip, can to the notice of speed
Effectively to reduce the traffic accident incidence caused by speed is too fast.
Brief description of the drawings
Fig. 1 is a kind of flow chart of vehicle deceleration control method in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of vehicle deceleration control method in the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of deceleration control device for vehicle in the embodiment of the present invention three;
Fig. 4 is a kind of hardware architecture diagram for vehicular rear mirror that the embodiment of the present invention five provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than entire infrastructure in description, attached drawing.
It also should be noted that for the ease of description, illustrate only in attached drawing part related to the present invention rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
Into the processing or method described as flow chart.Although operations (or step) are described as the processing of order by flow chart,
It is that many of which operation can be implemented concurrently, concomitantly or at the same time.In addition, the order of operations can be by again
Arrange.The processing can be terminated when its operations are completed, it is also possible to the additional step being not included in attached drawing.
The processing can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
A kind of vehicle deceleration control method is present embodiments provided, is applicable to cross deceleration strip time control system driving speed in vehicle
The situation of degree, this method can be performed by deceleration control device for vehicle provided in an embodiment of the present invention, which can use soft
The mode of part and/or hardware is realized, and can be generally integrated in mobile unit, such as vehicular rear mirror or vehicle device etc..Such as Fig. 1
Shown, which specifically comprises the following steps:
S110, mobile unit obtain the motion detection signal that at least one motion detection sensor gathers in real time.Wherein, institute
Stating motion detection sensor includes accelerometer and gyroscope.
The motion detection signal of motion detection sensor collection, the motion state that can be used for characterizing vehicle (is, for example, car
Crossing bend or crossing deceleration strip etc.), can be specifically, by analyzing accelerometer and gyroscope collects
Signal, the motion state of vehicle is determined with this.Wherein, accelerometer is easily by the sensor of external disturbance, but is measured
Value changes with time relatively small;Gyroscope can obtain angular relationship by integral operation, and dynamic property is good, dry by outside
Disturb it is small, but measured value change over time it is bigger.Coordinate the motion detection sensor of detection using accelerometer and gyroscope, make two
The advantage and disadvantage of person are complementary, to obtain more accurate testing result.
Wherein, the mobile unit includes:Vehicular rear mirror or vehicle device.As an alternative embodiment, movement
Detection sensor may be mounted in vehicular rear mirror, can also be installed in vehicle device, be adopted so that mobile unit conveniently obtains it
The motion detection signal collected.
If S120, mobile unit determine target vehicle by deceleration strip, execution pair according to motion detection signal
The vehicle deceleration processing operation answered, so that the target vehicle passes through Reduced Speed Now after the deceleration strip.
Mobile unit determines the movement of target vehicle according to the motion detection signal that motion detection sensor gathers in real time
State, if motion detection signal represents that target vehicle can control vehicle to perform deceleration by deceleration strip, mobile unit
Processing operation, so that target vehicle passes through Reduced Speed Now after the deceleration strip.
In a kind of optional embodiment of the present embodiment, deceleration strip can be bend deceleration strip.It is generally, due to bend
The multiple area of traffic accident, vehicle all can Reduced Speed Now after accelerating band by bend.At least one fortune is obtained in mobile unit
Before the motion detection signal that dynamic detection sensor gathers in real time, above-mentioned vehicle deceleration control method further includes:Mobile unit is true
The vehicle that sets the goal passes through bend in setting predicted time section.That is, can pass through in setting predicted time section in target vehicle curved
Under the scene in road, using above-mentioned vehicle deceleration control method, determined according to the motion detection signal that motion sensor gathers in real time
Whether target vehicle passes through bend deceleration strip, if it is determined that target vehicle by bend deceleration strip, then controls vehicle
Perform processing operation of slowing down so that target vehicle by Reduced Speed Now after bend deceleration strip, avoid as far as possible since speed is too fast and
The generation of caused traffic accident.
Specifically, mobile unit can according to the navigation programming route of target vehicle and the real-time speed of target vehicle,
Determine section to be passed through corresponding with the predicted time section;If it is determined that the section to be passed through includes turn section, then
Determine that the target vehicle passes through bend in predicted time section.
Such as can be that vehicle arrangement determines the distance in each section according to the navigation way of target vehicle, in conjunction with target
The real-time speed of vehicle, prediction target vehicle reach the period in each section, have also determined that corresponding with predicted time section
Section to be passed through.According to navigation map, if it is determined that a certain section to be passed through includes turn section, has also determined that target carriage
It can pass through bend in corresponding predicted time section.
When definite target vehicle can be after bend in predicted time section, it is real that mobile unit obtains motion detection sensor
When the motion detection signal that gathers, if determining that target vehicle by bend deceleration strip, is being held according to motion detection signal
The corresponding vehicle deceleration processing operation of row, so that the target vehicle passes through Reduced Speed Now after the bend deceleration strip.
Mobile unit is if it is determined that target vehicle is in automatic driving mode, then control reduces the speed of mark vehicle, with reality
Existing vehicle deceleration processing operation;For mobile unit if it is determined that target vehicle is in pilot steering pattern, then generation, which is slowed down, prompts letter
Cease and deceleration prompting is carried out to the driver of target vehicle, such as can be that generation voice deceleration prompt message or expression deceleration carry
Awake alarm etc., so that driver improves notice, pays close attention to speed careful driving, avoids speed too fast and traffic thing occurs
Therefore.
A kind of vehicle deceleration control method provided in this embodiment, obtains at least one motion detection by mobile unit and passes
The motion detection signal that sensor gathers in real time;If determine that target vehicle is passing through deceleration according to the motion detection signal
Band, then perform corresponding vehicle deceleration processing operation, so that skill of the target vehicle by Reduced Speed Now after the deceleration strip
Art means, improve the notice of car owner when vehicle crosses deceleration strip to speed, or, directly control in automatic driving mode
Target vehicle, which slows down, to be driven, and significantly reduces the traffic accident incidence caused by speed is too fast.
Embodiment two
On the basis of the various embodiments described above, determine target vehicle according to the motion detection signal mobile unit
By deceleration strip, it is specially:
Mobile unit is according to obtaining the first motion detection signal corresponding with the accelerometer under setting time window
And the second motion detection signal corresponding with the gyroscope, tectonic movement state recognition sample;Mobile unit is by the fortune
Dynamic state recognition sample is matched with least one deceleration strip recognition template to prestore;Mobile unit is if it is determined that the movement
State recognition sample and target deceleration band recognition template successful match, it is determined that the target vehicle is passing through deceleration strip.
As shown in Fig. 2, the method for the present embodiment specifically includes operations described below:
S210, mobile unit are according to the navigation programming route of target vehicle and the real-time speed of the target vehicle, really
Fixed section to be passed through corresponding with the predicted time section.
S220, mobile unit are if it is determined that the section to be passed through includes turn section, it is determined that the target vehicle
Pass through bend in predicted time section.
S230, mobile unit obtain the motion detection signal that at least one motion detection sensor gathers in real time.Wherein, institute
Stating motion detection sensor includes accelerometer and gyroscope.
S240, mobile unit are according to obtaining the first motion detection corresponding with the accelerometer under setting time window
Signal and the second motion detection signal corresponding with the gyroscope, tectonic movement state recognition sample.
Accelerometer gathers the first motion detection signal of target vehicle in real time, and gyroscope gathers the of target vehicle in real time
Two motion detection signals, mobile unit transport two kinds under each setting time window (e.g. 0s-5s, or 5s-10s etc.)
Dynamic detection signal is as moving state identification sample.Wherein, moving state identification sample can represent the fortune of target vehicle at this time
Whether dynamic state, for example, pass through bend deceleration strip etc..
S250, mobile unit carry out the moving state identification sample and at least one deceleration strip recognition template to prestore
Matching.
Wherein, deceleration strip recognition template is by setting type according to the test vehicle of setting type with setting speed scope
Deceleration strip when, what motion detection signal that the motion detection sensor gathers in real time determined.
Such as can be that, using different types of vehicle as test vehicle, control test vehicle is with different settings respectively
Speed gathers mesh in real time by setting the deceleration strip of type by motion detection sensor (including accelerometer and gyroscope)
Mark vehicle crosses motion detection signal during deceleration strip, using the above-mentioned motion detection signal of acquisition as deceleration strip recognition template.
It is worth noting that deceleration strip recognition template can have it is multiple, according to type of vehicle (be, for example, motorbus, lead
Draw car, city bus, middle bus, high capacity waggon, kart and small-sized automatic catch automobile etc.) difference, deceleration strip
The difference of type (road hump, deceleration platform, trade projection, circle and solar energy etc.), and test vehicle is when passing through deceleration strip
Speed it is different and different.
In a kind of optional embodiment of the present embodiment, mobile unit obtains the type of vehicle and in real time of target vehicle
Speed;According to the type of vehicle and the real-time speed, screening and the matched deceleration strip recognition template of the target vehicle
Alternately deceleration strip recognition template;Moving state identification sample is matched with the alternative deceleration strip recognition template.
That is, choose suitable deceleration strip recognition template to be matched with moving state identification sample, avoid due to vehicle class
Whether type is different with speed, and the phenomenon for being unable to successful match occurs, so that can not correctly judge target vehicle by subtracting
Speed belt.
S260, mobile unit are if it is determined that the moving state identification sample is matched into target deceleration band recognition template
Work(, it is determined that the target vehicle is passing through deceleration strip.
By moving state identification sample and target deceleration band recognition template, the e.g. type of vehicle and row with target vehicle
The deceleration strip recognition template of speeds match is sailed, if moving state identification sample is being set with error of the target deceleration with recognition template
Determine in threshold value (e.g. error is ± 5% or ± 10% etc.), it is determined that moving state identification sample is known with target deceleration band
Other template matches success, thus also can determine that target vehicle needs Reduced Speed Now by deceleration strip, target vehicle.
S270, mobile unit perform corresponding vehicle deceleration processing operation, so that the target vehicle passes through the deceleration
With rear Reduced Speed Now.
When definite target vehicle by deceleration strip after, then control targe vehicle performs corresponding vehicle deceleration processing behaviour
Make, mobile unit is if it is determined that target vehicle is in automatic driving mode, then control reduces the speed of mark vehicle, to realize vehicle
Processing of slowing down operates;Mobile unit is if it is determined that target vehicle is in pilot steering pattern, then generation deceleration prompt message is to mesh
The driver of mark vehicle carries out deceleration prompting, such as can generate voice deceleration prompt message or represent the report reminded that slows down
Alert sound etc., so that driver improves notice, pays close attention to speed careful driving, avoids speed too fast and traffic accident occurs.
In the above-mentioned technical solutions, all types of vehicles being gathered in advance, different types of deceleration strip is passed through with different speeds
When motion detection signal, to form multiple deceleration strip recognition templates.By the moving state identification sample of target vehicle with it is multiple
Corresponding deceleration strip recognition template in deceleration strip recognition template is matched, you can whether accurate judgement target vehicle is leading to
Deceleration strip is crossed, and then mobile unit can decide whether to need to perform corresponding vehicle deceleration processing operation.
Embodiment three
A kind of deceleration control device for vehicle is present embodiments provided, is applicable to cross deceleration strip time control system driving speed in vehicle
The situation of degree, which can be realized by the way of software and/or hardware, and can be generally integrated in mobile unit (for example, car
Carry rearview mirror or vehicle device etc.).As shown in figure 3, the device specifically includes:At motion detection signal acquisition module 310 and deceleration
Manage operation module 320.Wherein,
Motion detection signal acquisition module 310, obtains at least one motion detection sensor for mobile unit and adopts in real time
The motion detection signal of collection, wherein, the motion detection sensor includes accelerometer and gyroscope;
Slow down and handle operation module 320, if determining target according to the motion detection signal for the mobile unit
Vehicle by deceleration strip, then performs corresponding vehicle deceleration processing operation, so that the target vehicle passes through the deceleration
With rear Reduced Speed Now.
A kind of deceleration control device for vehicle provided in this embodiment, obtains at least one motion detection by mobile unit and passes
The motion detection signal that sensor gathers in real time;If determine that target vehicle is passing through deceleration according to the motion detection signal
Band, then perform corresponding vehicle deceleration processing operation, so that skill of the target vehicle by Reduced Speed Now after the deceleration strip
Art means, improve car owner when vehicle crosses deceleration strip and, to the notice of speed, significantly reduce since speed is too fast and cause
Traffic accident incidence.
On the basis of above-described embodiment, processing operation module 320 of slowing down, including:Dynamic state recognition sample architecture unit,
Deceleration strip recognition template matching unit and motion state determination unit.Wherein,
Dynamic state recognition sample architecture unit, for the mobile unit according to obtained under setting time window with it is described
Corresponding first motion detection signal of accelerometer and the second motion detection signal corresponding with the gyroscope, tectonic movement
State recognition sample;
Deceleration strip recognition template matching unit, by the moving state identification sample and prestores for the mobile unit
At least one deceleration strip recognition template is matched;
Motion state determination unit, for the mobile unit if it is determined that the moving state identification sample subtracts with target
Speed belt recognition template successful match, it is determined that the target vehicle is passing through deceleration strip.
Wherein, the deceleration strip recognition template is to pass through setting according to the test vehicle of setting type with setting speed scope
During the deceleration strip of type, what motion detection signal that the motion detection sensor gathers in real time determined.
Specifically, deceleration strip recognition template matching unit, including:Parameter acquiring subelement, alternative deceleration strip recognition template
Determination subelement and deceleration strip recognition template coupling subelement.Wherein,
Parameter acquiring subelement, the type of vehicle of the target vehicle and real-time car are obtained for the mobile unit
Speed;
Alternative deceleration strip recognition template determination subelement, for the mobile unit according to the type of vehicle and described
Real-time speed, screening and the matched deceleration strip recognition template of the target vehicle alternately deceleration strip recognition template;
Deceleration strip recognition template coupling subelement, for the mobile unit by the moving state identification sample with it is described
Alternative deceleration strip recognition template is matched.
Specifically, the deceleration strip includes:Bend deceleration strip.
Above-mentioned deceleration control device for vehicle, further includes:Section determining module, for obtaining at least one fortune in mobile unit
Before the motion detection signal that dynamic detection sensor gathers in real time, determine that the target vehicle passes through in setting predicted time section
Bend.
Specifically, the section determining module, including:Section determination unit to be passed through and with current bend recognition unit.
Wherein,
Section determination unit to be passed through, for the mobile unit according to the navigation programming route of the target vehicle and
The real-time speed of the target vehicle, determines section to be passed through corresponding with the predicted time section;
The current bend recognition unit of band, for the mobile unit if it is determined that the section to be passed through includes turn road
Section, it is determined that the target vehicle passes through bend in predicted time section.
Specifically, processing operation module 320 of slowing down, including:Vehicle reduction unit and deceleration reminding unit.Wherein,
Vehicle reduction unit, for the mobile unit if it is determined that the target vehicle is in automatic driving mode, then
Control reduces the speed of the target vehicle;
Deceleration reminding unit, for the mobile unit if it is determined that the target vehicle is in pilot steering pattern, then
Generation deceleration prompt message carries out deceleration prompting to the driver of the target vehicle.
Specifically, the mobile unit includes:Vehicular rear mirror or vehicle device.
Above-mentioned deceleration control device for vehicle can perform the vehicle deceleration control method that any embodiment of the present invention is provided, tool
It is standby to perform the corresponding function module of vehicle deceleration control method and beneficial effect.
Example IV
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform
Instruction is used to perform a kind of vehicle deceleration control method when being performed by computer processor, and this method includes:
Mobile unit obtains the motion detection signal that at least one motion detection sensor gathers in real time, wherein, the fortune
Dynamic detection sensor includes accelerometer and gyroscope;
If the mobile unit determines that target vehicle by deceleration strip, is performing according to the motion detection signal
Corresponding vehicle deceleration processing operation, so that the target vehicle passes through Reduced Speed Now after the deceleration strip.
Optionally, which can be also used for performing the present invention times when being performed by computer processor
A kind of technical solution for vehicle deceleration control method that meaning embodiment is provided.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially in other words contributed the prior art
Part can be embodied in the form of software product, which can be stored in computer-readable recording medium
In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
Embodiment five
As shown in figure 4, a kind of hardware architecture diagram of the vehicular rear mirror provided for the embodiment of the present invention five, such as Fig. 4
Shown, which includes:
One or more processors 410, in Fig. 4 by taking a processor 410 as an example;
Memory 420;
The vehicular rear mirror can also include:Input unit 430 and output device 440.
Processor 410, memory 420, input unit 430 and output device 440 in the vehicular rear mirror can lead to
Cross bus or other modes connect, in Fig. 4 exemplified by being connected by bus.
Memory 420 is used as a kind of non-transient computer readable storage medium storing program for executing, can available for storage software program, computer
Executive program and module, the corresponding programmed instruction of optimization method to communicate such as a kind of In-vehicle networking in the embodiment of the present invention/
Module (for example, motion detection signal acquisition module 310 and processing operation module 320 of slowing down shown in attached drawing 3).Processor 410
Software program, instruction and the module being stored in by operation in memory 420, so as to perform the various functions of vehicular rear mirror
Using and data processing, that is, realize a kind of vehicle deceleration control method of above method embodiment.
Memory 420 can include storing program area and storage data field, wherein, storing program area can store operation system
System, the required application program of at least one function;Storage data field can be stored uses what is created according to vehicular rear mirror
Data etc..In addition, memory 420 can include high-speed random access memory, non-transitory memory can also be included, such as
At least one disk memory, flush memory device or other non-transitory solid-state memories.In certain embodiments, store
Device 420 is optional including can be by network connection extremely relative to the remotely located memory of processor 410, these remote memories
Terminal device.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and its group
Close.
Input unit 430 can be used for the numeral or character information for receiving input, and produce the user with vehicular rear mirror
Set and function control it is related key signals input.Output device 440 may include the display devices such as display screen.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.