A kind of vehicle is separated to stop monitoring method and device
Technical field
It is disobeyed the present invention relates to monitoring technical field more particularly to a kind of vehicle and stops monitoring method and device.
Background technique
With the sharp increase of domestic vehicles ownership, the phenomenon that roadside or curbside parking offense, is more and more, and remains incessant after repeated prohibition.
Currently, the technology of monitoring roadside parking offense relies on geomagnetic sensor mainly to monitor vehicle parking offense, it is specifically to disobey
Stop that geomagnetic sensor is arranged in the ground or ground seam in region, when vehicle parking position is located on the geomagnetic sensor disobeyed and stop region
When, geomagnetic sensor using earth magnetic field vehicle by when variation monitor parking offense.But the disturbance of earth magnetism is usual
Occur irregular variation because of surrounding environment change, and when these irregular terrestrial magnetic disturbances are more than the default threshold of geomagnetic sensor
When value, generation vehicle can be judged by accident and disobeyed and stopped, higher false alarm rate is generated, so that the separated reliability for stopping monitoring of vehicle is low.
Summary of the invention
In view of the above-mentioned problems, a kind of vehicle of the invention, which is disobeyed, stops monitoring method and device, it can reduce vehicle and disobey and stop monitoring
False alarm rate, and then improve vehicle disobey stop monitoring reliability and accuracy.
In order to solve the above technical problems, a kind of vehicle of the invention, which is disobeyed, stops monitoring method, include the following steps:
Magnetometer by being set to road side acquires the magnetic force signal in monitoring region at predetermined intervals;
After collecting the magnetic force signal every time, calculate between the magnetic force signal and preset environment magnetic force signal
Difference, and determine the ratio value between the difference and preset benchmark magnetic force signal;
The whole the being calculated ratio value is compared with the first preset threshold and the second preset threshold, with basis
Comparison result determines that the separated of vehicle stops situation;Wherein, first preset threshold is less than second preset threshold.
Compared with prior art, a kind of vehicle of the invention, which is disobeyed, stops monitoring method for magnetometer setting in road side, makes
It is parallel with road plane to obtain its monitoring region, the monitoring range to vehicle parking region can be expanded, by magnetometer with preset
Magnetic force signal in time interval acquisition monitoring region, can reduce the power consumption of magnetometer acquisition magnetic force signal;Exist in the present invention
After collecting magnetic force signal every time, according to magnetic force signal, preset environment magnetic force signal and preset benchmark magnetic force signal, meter
The difference between magnetic force signal and preset environment magnetic force signal is calculated, and is determined between difference and preset benchmark magnetic force signal
Ratio value, to reflect vehicle the magnetic force signal that generates and environment magnetic force signal and preset in monitoring region by ratio value
Relativeness between benchmark magnetic force signal, by the difference variation between magnetic force signal and preset environment magnetic force signal come anti-
The stop situation of vehicle is reflected, ambient noise caused by terrestrial magnetic disturbance is excluded and disobeys the influence for stopping monitoring to vehicle, and then reduce ground
Magnetic disturbance disobeys the false alarm rate for stopping monitoring and generating to vehicle, improves vehicle and disobeys the reliability for stopping monitoring;In addition, due to being calculated
Whole ratio values be compared with the first preset threshold and the second preset threshold after, just according to comparison result determine vehicle
It disobeys and stops, can further improve vehicle and disobey the accuracy for stopping monitoring.
As an improvement of the above scheme, the comparison result specifically: whole ratio values is pre- between described first
If between threshold value and second preset threshold, then determining that the vehicle is located in the critical range in the monitoring region;
It also needs further to judge, specifically:
Ultrasonic sensor by being set to road side acquires the distance signal of the vehicle;
If the distance signal is less than pre-determined distance threshold value, judges that the vehicle is disobeyed and stop.
As an improvement of the above scheme, the comparison result specifically: it is pre- that whole ratio values is greater than described second
If threshold value, then determines that the vehicle is disobeyed and stop.
As an improvement of the above scheme, the vehicle, which is disobeyed, stops monitoring method, further includes following steps:
If any ratio value being calculated is less than second preset threshold, and corresponding in any proportion value
Magnetic force signal and the preset environment magnetic force signal difference be less than preset magnetic force threshold when, by the preset environment
Magnetic force threshold is assigned a value of the magnetic force signal.
As an improvement of the above scheme, the comparison result specifically: it is pre- that whole ratio values is less than described first
If threshold value, then it is overseas to determine that the vehicle is located at the monitoring section.
Stop monitoring device in order to solve the above technical problems, disobeying the present invention also provides a kind of vehicle, comprising:
Magnetometer is set to road side, for acquiring the magnetic force signal in monitoring region at predetermined intervals;Its
In, the magnetic force signal is that vehicle is generated at the monitoring region;
Ratio value computing module, for after collecting the magnetic force signal every time, calculating the magnetic force signal and pre-
If environment magnetic force signal between difference, and determine the ratio value between the difference and preset benchmark magnetic force signal;
It disobeys and stops determination module, for by the whole the being calculated ratio value and the first preset threshold and the second default threshold
Value is compared, and stops situation to determine that vehicle is disobeyed according to comparison result;Wherein, it is pre- to be less than described second for first preset threshold
If threshold value.
Compared with prior art, a kind of vehicle of the invention, which is disobeyed, stops monitoring method for magnetometer setting in road side, makes
It is parallel with road plane to obtain its monitoring region, the monitoring range to vehicle parking region can be expanded, by magnetometer with preset
Magnetic force signal in time interval acquisition monitoring region, can reduce the power consumption of magnetometer acquisition magnetic force signal;Exist in the present invention
After collecting magnetic force signal every time, ratio value computing module is according to magnetic force signal, preset environment magnetic force signal and preset
Benchmark magnetic force signal calculates the difference between magnetic force signal and preset environment magnetic force signal, and determines difference and preset base
Ratio value between quasi- magnetic force signal, to reflect that vehicle is monitoring the magnetic force signal and environment that generate in region by ratio value
Relativeness between magnetic force signal and preset benchmark magnetic force signal, by magnetic force signal and preset environment magnetic force signal it
Between difference variation to reflect the stop situation of vehicle, exclude ambient noise caused by terrestrial magnetic disturbance and disobey vehicle to stop monitoring
It influences, and then reduces terrestrial magnetic disturbance and disobey the false alarm rate for stopping monitoring and generating to vehicle, improve vehicle and disobey the reliability for stopping monitoring;Separately
Outside, stop judgment module due to disobeying and be compared the whole ratio values being calculated with the first preset threshold and the second preset threshold
Later, just determine that vehicle is disobeyed according to comparison result to stop, can further improve vehicle and disobey the accuracy for stopping monitoring.
As an improvement of the above scheme, described disobey stops determination module and includes:
Vehicle location judging unit, for being respectively positioned on first preset threshold in the whole ratio value being calculated
When between second preset threshold, judge that the vehicle is located in the critical range in the monitoring region;
Ultrasonic sensor is set to road side, for judging the vehicle positioned at the critical model in the monitoring region
When enclosing interior, the distance signal of the vehicle is acquired;
First disobey stop judging unit, for the distance signal be less than pre-determined distance threshold value when, judge the vehicle disobey
Stop.
As an improvement of the above scheme, described disobey stops determination module and includes:
Second disobey stop judging unit, for the whole ratio value being calculated be greater than second preset threshold
When, determine that the vehicle is disobeyed and stops.
As an improvement of the above scheme, the vehicle, which is disobeyed, stops monitoring device, further includes:
Assignment module, for being less than second preset threshold in any ratio value being calculated, and described
The difference of the corresponding magnetic force signal of any proportion value and the preset environment magnetic force signal is less than preset magnetic force threshold
When, the preset environment magnetic force signal is assigned a value of the magnetic force signal.
As an improvement of the above scheme, described disobey stops determination module and includes:
Third, which is disobeyed, stops judging unit, for being less than second preset threshold in the whole ratio value being calculated
When, it is overseas to determine that the vehicle is located at the monitoring section.
Detailed description of the invention
Fig. 1 is the layout diagram of magnetometer in the present invention.
Fig. 2 is that a kind of vehicle of the embodiment of the present invention 1 disobeys the flow diagram for stopping monitoring method.
Fig. 3 is the separated flow diagram for stopping situation that vehicle is determined according to comparison result in the embodiment of the present invention 1.
Fig. 4 is in the embodiment of the present invention 1 when including step S8, and vehicle disobeys stops the flow diagram of monitoring method.
Fig. 5 is that a kind of vehicle of the embodiment of the present invention 2 disobeys the structural schematic diagram for stopping monitoring device.
Fig. 6 is the structural schematic diagram of ratio value computing module in the embodiment of the present invention 2.
It includes disobeying the structural schematic diagram for stopping 13 concrete composition of determination module that Fig. 7, which is in the embodiment of the present invention 2,.
Specific embodiment
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention.But the present invention can be with
It is different from the other modes of this description much to implement, those skilled in the art can be without violating the connotation of the present invention
Similar popularization is done, therefore the present invention is not limited by the specific embodiments disclosed below.
Clear, complete description is carried out to technical solution of the present invention with attached drawing combined with specific embodiments below.
As shown in Figure 1, being the layout diagram of magnetometer in invention.It need to be on ground with geomagnetic parking stall sensor in the prior art
Face laying of digging a hole is compared, and the magnetometer 11 in the present invention specifically can be set to road side 100 apart from ground preset height
The support member for installing the magnetometer 11 is set in road side, which can also be mounted on road side
On electric pole or railing, the laying mode of the magnetometer 11 is simple, and deployment cost is low.
Embodiment 1
As shown in Fig. 2, a kind of vehicle of the invention, which is disobeyed, stops monitoring method, include the following steps:
S1, the magnetic force signal in monitoring region is acquired by the magnetometer for being set to road side at predetermined intervals;
Wherein, magnetic force signal is that vehicle is generated when monitoring region;
S2, the difference after collecting magnetic force signal every time, between calculating magnetic force signal and preset environment magnetic force signal
Value, and determine the ratio value between difference and preset benchmark magnetic force signal;
Wherein, in step s 2, stop the influence of monitoring to reduce ambient noise and disobey to vehicle, set by the following method
Set the initial value of preset environment magnetic force signal:
S201, environment magnetic force signal is acquired with the preset sampling period;Wherein, each sampling period acquires n times environment magnetic
Force signal;Wherein, N >=1, and N is integer;
S202, the highest environment magnetic force signal of the frequency of occurrences in each sampling period is chosen;
S203, the flat of environment magnetic force signal in the sampling period is calculated by the highest environment magnetic force signal of whole frequencies of occurrences
Mean value, and it is preset environment magnetic force signal that the average value, which is arranged,.
Wherein, magnetic force signal and preset environment can be adjusted by the way that different benchmark magnetic force signals is arranged in step s 2
Difference proportion size between magnetic force signal to adapt to the variation of magnetic force signal magnitude, and then adjusts vehicle and disobeys and stop monitoring
Precision.
S3, the whole the being calculated ratio value is compared with the first preset threshold and the second preset threshold, with
Determine that the separated of vehicle stops situation according to comparison result;Wherein, the first preset threshold is less than the second preset threshold.
Compared with prior art, a kind of vehicle of the invention, which is disobeyed, stops monitoring method for magnetometer setting in road side, makes
It is parallel with road plane to obtain its monitoring region, the monitoring range to vehicle parking region can be expanded, by magnetometer with preset
Magnetic force signal in time interval acquisition monitoring region, can reduce the power consumption of magnetometer acquisition magnetic force signal;Exist in the present invention
After collecting magnetic force signal every time, according to magnetic force signal, preset environment magnetic force signal and preset benchmark magnetic force signal, meter
The difference between magnetic force signal and preset environment magnetic force signal is calculated, and is determined between difference and preset benchmark magnetic force signal
Ratio value, to reflect vehicle the magnetic force signal that generates and environment magnetic force signal and preset in monitoring region by ratio value
Relativeness between benchmark magnetic force signal, by the difference variation between magnetic force signal and preset environment magnetic force signal come anti-
The stop situation of vehicle is reflected, ambient noise caused by terrestrial magnetic disturbance is excluded and disobeys the influence for stopping monitoring to vehicle, and then reduce ground
Magnetic disturbance disobeys the false alarm rate for stopping monitoring and generating to vehicle, improves vehicle and disobeys the reliability for stopping monitoring;In addition, due to being calculated
Whole ratio values be compared with the first preset threshold and the second preset threshold after, just according to comparison result determine vehicle
It disobeys and stops, can further improve vehicle and disobey the accuracy for stopping monitoring.
In addition, the prior art disobeys the false alarm rate for stopping monitoring to reduce vehicle, one usually is preset very to geomagnetic sensor
High threshold value limits its sensitivity so that when disobey stop vehicle distances geomagnetic sensor it is very close when, can just monitor vehicle
It is separated stop situation, this result in existing vehicle to disobey to stop monitoring range small.And the present invention passes through magnetic force signal and preset ring
Difference between the magnetic force signal of border changes the variation to reflect magnetic force signal in monitoring region, eliminates caused by terrestrial magnetic disturbance
Ambient noise disobeys the influence for stopping monitoring to vehicle, therefore can accurately determine vehicle by setting lower first preset threshold
It is separated stop situation, it is low to the sensitivity of magnetometer limitation so that vehicle can be collected when disobeying and stopping vehicle distances magnetometer farther out
Generate magnetic force signal, and then expand vehicle disobey stop monitoring range.
Wherein, as shown in figure 3, determining that the separated of vehicle stops situation and specifically walk according to comparison result in the embodiment of the present invention 1
Suddenly are as follows:
If S31, the whole ratio values being calculated are respectively positioned between the first preset threshold and the second preset threshold, judge
Vehicle is located in the critical range in monitoring region;It also needs further to judge, specifically:
S32, the distance signal that vehicle is acquired by the ultrasonic sensor for being set to road side;
If S33, distance signal are less than pre-determined distance threshold value, judge that vehicle is disobeyed and stop.
In embodiment 1, after judging that vehicle is located in monitoring region by ratio value, further pass through ultrasonic wave
The collected distance signal of sensor stops to judge that vehicle is disobeyed, and realizes answering to the magnetic force signal judgement acquired by magnetometer
It looks into, improves vehicle and disobey the accuracy for stopping monitoring.
Further, determine that the separated of vehicle stops situation, specific steps according to comparison result are as follows:
If S34, the whole ratio values being calculated are greater than the second preset threshold, determine that vehicle is disobeyed and stop.
Further, for the location information of accurate measurements vehicle, false alarm rate is completely eliminated, vehicle is determined according to comparison result
Separated stop situation, specific steps are as follows:
If less than the first preset threshold, it is overseas to determine that vehicle is located at monitoring section for S35, the whole ratio values being calculated.
Further, as shown in figure 4, the vehicle is disobeyed, to stop monitoring method further include following steps:
If S4, any proportion value being calculated are less than the second preset threshold, and in the ratio less than the second preset threshold
When the difference of the corresponding magnetic force signal of value and preset environment magnetic force signal is less than preset magnetic force threshold, by preset environment
Magnetic force signal is assigned a value of magnetic force signal.
In this embodiment, when any proportion value being calculated is less than the second preset threshold, to this less than second
The difference and preset magnetic force threshold of the corresponding magnetic force signal of the ratio value of preset threshold and preset environment magnetic force signal carry out
Continuous comparison, to monitor the situation of change of the magnetic force signal.It is specifically when any proportion value is less than the second preset threshold, then
Generating in monitoring region has magnetic force signal, then further passes through the difference of corresponding magnetic force signal and preset environment magnetic force signal
Value and preset magnetic force threshold carry out continuous comparison to judge to monitor the magnetic force signal in region be to be generated by terrestrial magnetic disturbance or outer
Portion's behavior generates, such as when the difference is less than preset magnetic force threshold, then magnetic force signal is generated by earth magnetism environmental perturbation;When this
When difference is greater than or equal to preset magnetic force threshold, then magnetic force signal is generated by external behavior.And then pass through preset magnetic force threshold
Value judges whether the magnetic force signal is that earth magnetism environmental perturbation generates, and in the magnetic force signal and preset environment magnetic force signal
When difference is less than preset magnetic force threshold, preset environment magnetic force signal is assigned a value of magnetic force signal, and then can adjust in real time pre-
If environment magnetic force signal, so that the ambient noise according to caused by terrestrial magnetic disturbance is come real-time update preset environment magnetic force letter
Number, it reduces ambient noise and disobeys the influence for stopping monitoring to vehicle, and then reduce vehicle and disobey the false alarm rate for stopping monitoring.
Embodiment 2
Stop monitoring device as shown in figure 5, disobeying the present invention also provides a kind of vehicle, comprising:
Magnetometer 11 is set to road side, for acquiring the magnetic force signal in monitoring region at predetermined intervals;Its
In, magnetic force signal is that vehicle is generated when monitoring region;
Ratio value computing module 12, for after collecting magnetic force signal every time, calculating the magnetic force signal and presetting
Environment magnetic force signal between difference, and determine the ratio value between the difference and preset benchmark magnetic force signal;
Wherein, as shown in fig. 6, ratio value computing module 12 includes:
Difference computational unit 121, for calculating the difference between magnetic force signal and preset environment magnetic force signal;
Ratio value computing unit 122, for the ratio value between calculating difference and preset benchmark magnetic force signal, to obtain
The ratio value of magnetic force signal.
It disobeys and stops determination module 13, for by the whole ratio values being calculated and the first preset threshold and the second preset threshold
It is compared, stops situation to determine that vehicle is disobeyed according to comparison result;Wherein, the first preset threshold is less than the second preset threshold.
Compared with prior art, magnetometer 11 is arranged in road side a kind of vehicle of the invention separated monitoring method of stopping,
So that its monitoring region is parallel with road plane, the monitoring range to vehicle parking region can be expanded, by magnetometer 11 with pre-
If time interval acquisition monitoring region in magnetic force signal, can reduce magnetometer 11 acquire magnetic force signal power consumption;In this hair
In bright after collecting magnetic force signal every time, ratio value computing module 12 is according to magnetic force signal, preset environment magnetic force signal
With preset benchmark magnetic force signal, calculate magnetic force signal and preset environment magnetic force signal difference, and determine the difference in advance
If benchmark magnetic force signal between ratio value, to reflect vehicle magnetic force signal for generating in monitoring region by ratio value
With the relativeness between environment magnetic force signal and preset benchmark magnetic force signal, pass through magnetic force signal and preset environment magnetic force
Difference between signal changes the stop situation to reflect vehicle, and ambient noise caused by exclusion terrestrial magnetic disturbance, which disobeys vehicle, stops
The influence of monitoring, and then reduce terrestrial magnetic disturbance and disobey the false alarm rate for stopping monitoring and generating to vehicle, it improves vehicle and disobeys and stop the reliable of monitoring
Property;In addition, stopping judgment module 13 for the whole ratio values being calculated and the first preset threshold and the second preset threshold due to disobeying
After being compared, just determines that vehicle is disobeyed according to comparison result and stop, can further improve vehicle and disobey the accuracy for stopping monitoring.
In addition, the prior art disobeys the false alarm rate for stopping monitoring to reduce vehicle, one usually is preset very to geomagnetic sensor
High threshold value limits its sensitivity so that when disobey stop vehicle distances geomagnetic sensor it is very close when, can just monitor vehicle
It is separated stop situation, this result in existing vehicle to disobey to stop monitoring range small.And the present invention passes through magnetic force signal and preset ring
Difference between the magnetic force signal of border changes the variation to reflect magnetic force signal in monitoring region, eliminates caused by terrestrial magnetic disturbance
Ambient noise disobeys the influence for stopping monitoring to vehicle, therefore can accurately determine vehicle by setting lower second preset threshold
It is separated stop situation, it is low to the sensitivity of magnetometer 11 limitation so that can be acquired when disobeying and stopping vehicle distances magnetometer 11 farther out
The magnetic force signal generated to vehicle, and then expand vehicle and disobey the range for stopping monitoring.
Preferably, in order to reduce ambient noise to vehicle disobey stop monitoring influence, ratio value computing module 12 also by with
Lower unit is arranged the initial value of preset environment magnetic force signal:
Sampling unit 123, for acquiring environment magnetic force signal with the preset sampling period;Wherein, each sampling period adopts
Collect n times environment magnetic force signal;
Signal selection unit 124, for choosing the highest environment magnetic force signal of the frequency of occurrences in each sampling period;
Signal presets unit 125, for being calculated in the sampling period by whole highest environment magnetic force signals of the frequency of occurrences
The average value of environment magnetic force signal, and it is preset environment magnetic force signal that the average value, which is arranged,.
As shown in fig. 7, the separated separated determination module 13 that stops stopped in monitoring device of another vehicle of the invention includes:
Vehicle location judging unit 131, for being respectively positioned on the second preset threshold and the in the whole ratio values being calculated
When between one preset threshold, judge that vehicle is located in the critical range in monitoring region;Wherein, the first preset threshold is less than the one or two
Preset threshold;
Ultrasonic sensor 132 is set to road side, for acquiring vehicle when judging that vehicle is located in monitoring region
Distance signal;
First disobey stop judging unit 133, for distance signal be less than pre-determined distance threshold value when, judge vehicle disobey stop.
In this embodiment, after judging that vehicle is located in monitoring region by ratio value, further by super
The collected distance signal of sonic sensor 132 stops to judge that vehicle is disobeyed, and realizes to the magnetic force signal acquired by magnetometer 11
The check of judgement improves vehicle and disobeys the accuracy for stopping monitoring.
Further, the separated determination module 13 that stops of the device includes: second to disobey and stop judging unit 134, for calculating
When the whole ratio values arrived are greater than second preset threshold, determine that vehicle is disobeyed and stop.
Further, for the location information of accurate measurements vehicle, it is overseas to judge that vehicle is located at monitoring section, to disappear completely
Except false alarm rate, which disobeys the separated determination module 13 that stops stopped in monitoring device and includes:
Third, which is disobeyed, stops judging unit 135, for less than the first preset threshold, then determining in the whole ratio values being calculated
It is overseas that vehicle is located at monitoring section.
Preferably, the vehicle, which is disobeyed, stops monitoring device further include: assignment module 14, in any proportion value being calculated
Less than the second preset threshold, and the magnetic force signal corresponding to the ratio value less than the second preset threshold and preset environment magnetic force
When the difference of signal is less than preset magnetic force threshold, preset environment magnetic force signal is assigned a value of magnetic force signal.
It is pre- less than second to this since assignment module 14 is when any proportion value being calculated is less than the second preset threshold
If the corresponding magnetic force signal of the ratio value of threshold value and the difference of preset environment magnetic force signal are connected with preset magnetic force threshold
Continuous comparison, to monitor the situation of change of the magnetic force signal.It is specifically then to supervise when any proportion value is less than the second preset threshold
It surveys to generate in region and has magnetic force signal, then further pass through the difference of corresponding magnetic force signal and preset environment magnetic force signal
Judging to monitor the magnetic force signal in region with the continuous comparison of preset magnetic force threshold progress is by terrestrial magnetic disturbance generation or outside
Behavior generates, such as when the difference is less than preset magnetic force threshold, then magnetic force signal is generated by earth magnetism environmental perturbation;When the difference
When value is greater than or equal to preset magnetic force threshold, then magnetic force signal is generated by external behavior.And then pass through preset magnetic force threshold
Judge whether the magnetic force signal is that earth magnetism environmental perturbation generates, and in the difference of the magnetic force signal and preset environment magnetic force signal
When value is less than preset magnetic force threshold, preset environment magnetic force signal is assigned a value of magnetic force signal, and then can adjust in real time default
Environment magnetic force signal, so that the ambient noise according to caused by terrestrial magnetic disturbance is come the preset environment magnetic force signal of real-time update,
It reduces ambient noise and disobeys the influence for stopping monitoring to vehicle, and then reduce vehicle and disobey the false alarm rate for stopping monitoring.
Preferably, above-mentioned vehicle, which is disobeyed, stops monitoring device further include: message generation module 15 stops generating for being disobeyed according to vehicle
Vehicle, which is disobeyed, stops message;Radiofrequency emitting module 16 is disobeyed for realizing the wireless transmission for stopping message is disobeyed with providing vehicle to external equipment
Stop message.
The above described is only a preferred embodiment of the present invention, limitation in any form not is done to the present invention, therefore
All contents without departing from technical solution of the present invention, it is made to the above embodiment according to the technical essence of the invention any simply to repair
Change, equivalent variations and modification, all of which are still within the scope of the technical scheme of the invention.