CN105469815A - Vehicle-mounted hard-disk shockproof protection method based on road condition perception and apparatus thereof - Google Patents
Vehicle-mounted hard-disk shockproof protection method based on road condition perception and apparatus thereof Download PDFInfo
- Publication number
- CN105469815A CN105469815A CN201510819891.8A CN201510819891A CN105469815A CN 105469815 A CN105469815 A CN 105469815A CN 201510819891 A CN201510819891 A CN 201510819891A CN 105469815 A CN105469815 A CN 105469815A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- bumpy sections
- image
- pixel
- distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B33/00—Constructional parts, details or accessories not provided for in the other groups of this subclass
- G11B33/02—Cabinets; Cases; Stands; Disposition of apparatus therein or thereon
- G11B33/08—Insulation or absorption of undesired vibrations or sounds
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a vehicle-mounted hard-disk shockproof protection method based on road condition perception and an apparatus thereof. Through collecting scene images of a road in front of a vehicle, a computer vision and image processing technology is used to analyze road characteristic information in real time, road conditions of a deceleration strip of the road, a road pit and the like are intelligently detected and identified, and hard-disk shockproof protection work is performed in advance. The method and the apparatus have advantages that the road information in front of the vehicle can be perceived and identified, hard disk reading and writing can be stopped in advance so that a magnetic head returns to an original position and a hard disk damage caused by shock is effectively prevented; a road complexity can be identified, and during a short intermission in a bumpiness road, a severe damage caused by repeated stop and hard disk starting is avoided; any sensor part does not need to be installed, a camera and a CPU processor of vehicle-mounted equipment itself is used, through an image processing software algorithm, mission can be completed and cost does not need to be increased.
Description
Technical field
The present invention relates to a kind of hard disk protection technology, particularly relate to a kind of method and apparatus anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception.
Background technology
Hard disk is very accurate memory device, and when carrying out read-write operation, magnetic head only has several microns in the flying height of disc surface; Even if idle time, magnetic head also contacts with disc.Hard disk operationally, once there are larger vibrations, just easily causes magnetic head to clash into mutually with information data area, causes disc information data area to be damaged or scratch disk, loses file data stored in hard disk.
Along with mobile electronic device high speed development is with universal, hard disk, as the memory device of a kind of Large Copacity, high-level efficiency and high performance-price ratio, has been widely used in the mobile electronic device such as vehicle-mounted digital video recorder (DVR), vehicle-mounted video player (DVD).Environment for use due to mobile electronic device has random features of movement, therefore, and the key subject that the shock resistance in use how improving hard disk has become the needs research of each mobile device manufacturer to prevent hard disk because shaking the damage caused and solved.
In the past, traditional hard vibration measure method, one is adopt physical construction damping, as oil sac, spring, silica gel etc.; Two is adopt acceleration transducer to control disk read-write to detect vehicle vibration amplitude, just starts to stop hard disk read-write operations, as patent " CN200310118241.8-anti-shock protection method for hard disks " when vibrations occur vehicle.
The anti-vibration protected method of conventional hard is too simple, more mechanical, complex structure, real-time is inadequate, and effect is barely satisfactory in actual applications, there is a lot of shortcoming: one is adopt the mechanical shockproof structures such as oil sac, spring, silica gel, complex structure, greatly, cost is higher for production and installation difficulty, and run into when jolting strong road conditions and cannot accomplish complete shockproof effect, still there is very major break down probability; Two is adopt acceleration transducer to detect vehicle vibration amplitude, and just start to stop hard disk read-write operations when vibrations occur vehicle, now hard disk is given a shock the possibility that is damaged; Three is when there are vibrations, read-write is stopped to get back to reference position to hard disc magnetic head, need certain hour, have little time, relatively more severe for road conditions, jolting is continue or the generation of of short duration interval, just seems there is perspective and real-time not, frequent stopping and startup disk read-write, more serious to hard disk injury repeatedly; Four is when there are vibrations, then stops disk read-write, and current data packet cannot write, and causes loss of data.
Summary of the invention
The invention provides a kind of method and apparatus anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception, realize simple, road condition predicting degree of accuracy is high; forward-looking, real-time is high, practical; reliable and stable, easy for installation, there is good using value and economic benefit.A kind of method anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception of the present invention; mainly utilize vehicle-mounted camera; collection vehicle travels road surface ahead scene image; by computer vision and image processing techniques; real-time analysis road surface characteristic information; the road conditions such as intelligence detecting and identification road surface ahead deceleration strip, hole, road, carry out hard vibration protection work in advance.
Adopt a kind of method and apparatus anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception of the present invention, the above problem can be solved, have the following advantages: one is can the information of road surface of perception identification vehicle front, stop disk read-write in advance, make magnetic head get back to original position, effectively prevent vibrations from causing hard disk corruptions; Two is to identify road surface complexity, during the of short duration interval of bumpy sections, avoids repeatedly stopping and starting that hard disk causes is more badly damaged; Three is without the need to additionally installing any sensor element additional, utilizes the camera of mobile unit own and CPU processor, by image processing software algorithm, just can complete, without increasing cost.
Concrete scheme is as follows: a kind of method anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception, comprises the following steps:
S1: obtain vehicle present speed V when vehicle travels;
S2: the road image gathering front;
S3: judge whether road surface ahead has bumpy sections according to collection road image; when judgement is when having bumpy sections; whether detection vehicle travels and enters protection zone; if vehicle enters protection zone; according to bumpy sections length; different protected mode is adopted to data; if vehicle does not enter protection zone; hard disk keeps current state, when vehicle is after bumpy sections, opens hard disk operational pattern; data are read and write; when judging to be without bumpy sections, opening hard disk operational pattern, data are read and write.
Further, judge in described step S3 that the step whether vehicle enters protection zone is:
S311: the distance Lc calculating vehicle and front bumpy sections, and calculate bumpy sections length Ld;
S312: calculate the time Tc=Lc/V that vehicle drives to bumpy sections needs;
S313: as Tc≤Ta, is considered as vehicle traveling and enters protection zone, wherein Ta >=Ts, Ts
For hard disk is from read-write state to stopping read-write, and magnetic head returns to reference position required time, as Tc > Ta, is considered as vehicle and does not travel and enter protection zone.
Further, according to bumpy sections length in described step S3, the concrete steps of different protected mode are adopted to be to data:
S321: setting bumpy sections length threshold is Le.
S322: as bumpy sections length Ld≤Le is of short duration bumpy sections depending on this bumpy sections, and now hard disk enters the first static protection pattern; As bumpy sections length Ld > Le, be longer bumpy sections depending on this bumpy sections, now hard disk enters the second static protection pattern.
Further, in described step S311, calculate the distance Lc of vehicle and front bumpy sections, and the concrete steps calculating bumpy sections length Ld are:
S3111: setting scale line, O is the start position of scale, scale L
1, L
2l
nbe defined as the distance length of scale line from starting point O, n maximal value is defined as N;
S3112: set image resolution ratio to represent image level direction pixel as X*Y, X, Y represents image vertical direction pixel.Vehicle travels to enter demarcates region, and stops at O point position, obtains now image, draws scale line Distance geometry scale line location of pixels mapping table in image vertical direction according to image, definition L
1corresponding vertical direction pixel coordinate P
1, obtain scale L by that analogy
1, L
2l
ncorresponding vertical direction pixel coordinate (P
1, P
2p
n), according to scale line distance, scale line pixel coordinate, image coordinate, and pixel in each interval with apart from linear, to calculate in image vertical direction every one-row pixels correspondence position, road surface from the distance of headstock, according to following formulae discovery:
L
k=((k-P
i)*(L
i+1-L
i))/(P
i+1-P
i)+L
i
K represents any one-row pixels coordinate in vertical direction, value 0 ~ Y;
I represents the scale line numbering in the scale interval at this row k pixel place, value 0 ~ N;
L
irepresent the distance length of the i-th numbering scale line from starting point O;
L
krepresent that position, road surface corresponding to row k pixel in vertical direction is from headstock distance;
P
irepresent pixel coordinate in vertical direction corresponding to the i-th numbering scale line.
The starting point coordinate of bumpy sections pixel is s, and the terminal point coordinate of bumpy sections pixel is t, then the distance Lc=Ls of vehicle distances bumpy sections, bumpy sections length Ld=Lt-Ls.
Further, in described step S322, the first static protection pattern and the second static protection pattern are for be stored into data in RAM and/or Flash.
Based on the device that the vehicle-mounted hard disks of road conditions perception is anti-vibration protected, comprising:
Speed acquiring module, obtains vehicle present speed V when vehicle travels,
Image capture module, for gathering the road image in front,
Bumpy sections judge module; judge whether road surface ahead has bumpy sections according to collection road image; when judgement is when having bumpy sections; whether detection vehicle travels and enters protection zone; if vehicle enters protection zone; data are stored in cache module; if vehicle does not enter protection zone; hard disk keeps current state, when vehicle is after bumpy sections, opens hard disk operational pattern; data are read and write; when judging to be without bumpy sections, opening hard disk operational pattern, data are read and write.
Further, described bumpy sections judge module comprises:
Distance calculation module, for calculating the distance Lc of vehicle and front bumpy sections, and calculates bumpy sections length Ld;
Time Calculation module, drives to the time Tc=Lc/V of bumpy sections needs for calculating vehicle;
Protection zone judge module, for as Tc≤Ta, is judged as that vehicle travels and enters protection zone, wherein Ta >=Ts, Ts be hard disk from read-write state to stopping read-write, and magnetic head returns to reference position required time.
Further, described bumpy sections judge module comprises:
Setting module, setting bumpy sections length threshold is Le,
Protected mode selects module, and as bumpy sections length Ld≤Le, be of short duration bumpy sections depending on this bumpy sections, now hard disk enters the first static protection pattern; As bumpy sections length Ld > Le, be longer bumpy sections depending on this bumpy sections, now hard disk enters the second static protection pattern.
Further, described distance calculation module comprises:
Setting scale module, for setting scale line, O is the start position of scale, scale L
1, L
2l
nbe defined as the distance length of scale line from starting point O, n maximal value is defined as N,
Image computing module, for setting image resolution ratio to represent image level direction pixel as X*Y, X, Y represents image vertical direction pixel.Vehicle travels to enter demarcates region, and stops at O point position, obtains now image, draws scale line Distance geometry scale line location of pixels mapping table in image vertical direction according to image, definition L
1corresponding vertical direction pixel coordinate P
1, obtain scale L by that analogy
1, L
2l
ncorresponding vertical direction pixel coordinate (P
1, P
2p
n), according to scale line distance, scale line pixel coordinate, image coordinate, and pixel in each interval with apart from linear, to calculate in image vertical direction every one-row pixels correspondence position, road surface from the distance of headstock, according to following formulae discovery:
L
k=((k-P
i)*(L
i+1-L
i))/(P
i+1-P
i)+L
i
K represents any one-row pixels coordinate in vertical direction, value 0 ~ Y;
I represents the scale line numbering in the scale interval at this row k pixel place, value 0 ~ N;
L
irepresent the distance length of the i-th numbering scale line from starting point O;
L
krepresent that position, road surface corresponding to row k pixel in vertical direction is from headstock distance;
P
irepresent pixel coordinate in vertical direction corresponding to the i-th numbering scale line,
The starting point coordinate of bumpy sections pixel is s, and the terminal point coordinate of bumpy sections pixel is t, then the distance Lc=Ls of vehicle distances bumpy sections, bumpy sections length Ld=Lt-Ls.
Further, in described protected mode selection module, the first static protection pattern and the second static protection pattern are for be stored into data in RAM and/or Flash.
Accompanying drawing explanation
Fig. 1 is the hardware model figure of embodiment 1;
Fig. 2 is the main flow chart of embodiment 1;
Fig. 3 is embodiment 1 camera calibration illustraton of model;
Fig. 4 is the module composition schematic diagram of embodiment 2.
Embodiment
For further illustrating each embodiment, the invention provides drawings attached.These accompanying drawings are a part for disclosure of the present invention, and it is mainly in order to illustrate embodiment, and the associated description of instructions can be coordinated to explain the operation principles of embodiment.Coordinate with reference to these contents, those of ordinary skill in the art will be understood that other possible embodiments and advantage of the present invention.Now the present invention is further described with embodiment by reference to the accompanying drawings.
Embodiment 1: Fig. 1 shows the model of the anti-vibration protected system of a kind of vehicle-mounted hard disks depending on the anti-vibration protected method of vehicle-mounted hard disks, comprises vehicle, camera, road surface, bumpy sections and fills MCU device onboard.Wherein camera is responsible for gathering road ahead image; MCU is responsible for characteristic information in real-time analysis roadway scene image; the road conditions of jolting such as intelligence detecting and identification road surface ahead deceleration strip, hole, road; detect front whether to jolt road conditions; and to vehicle distances jolt road conditions distance, road conditions of jolting length, arrive the road conditions required time and calculating through the bumpy sections time of jolting; judge whether vehicle enters protection zone, vehicle controls hard disk and enters static protection pattern after entering protection zone.
Those skilled in the art it will be appreciated that; a kind of year hard vibration protection system of above-mentioned Fig. 1 is only a kind of system citing including the anti-vibration protected method of vehicle-mounted hard disks of the present invention; those skilled in the art according to the difference of practical situations, can make some to the hardware of the anti-vibration protected system of vehicle-mounted hard disks and change and select.
Fig. 2 shows the workflow diagram of the anti-vibration protected system of a kind of vehicle-mounted hard disks depending on the anti-vibration protected method of vehicle-mounted hard disks, comprises the following steps:
S1:MCU obtains vehicle present speed V when vehicle travels;
S2: the road image in camera collection front;
According to collection road image, S3:MCU judges whether road surface ahead has bumpy sections, when judgement is when having bumpy sections, whether detection vehicle travels and enter protection zone; if vehicle enters protection zone; data be stored in cache module, if vehicle does not enter protection zone, hard disk keeps current state; when vehicle is after bumpy sections; open hard disk operational pattern, data are read and write, when judging to be without bumpy sections; open hard disk operational pattern, data are read and write.
Wherein detect vehicle whether to travel the step entering protection zone and be:
S31: the distance Lc calculating vehicle and front bumpy sections, and calculate bumpy sections length Ld;
S32: calculate the time Tc=Lc/V that vehicle drives to bumpy sections needs;
S33: as Tc≤Ta, is considered as vehicle traveling and enters protection zone, wherein Ta >=Ts, Ts
For hard disk is from read-write state to stopping read-write, and magnetic head returns to reference position required time.
Described cache module is random access memory and/or Flash flash memory.
Preferably, after vehicle enters protection zone: hard disk stops read-write operation, setting bumpy sections length threshold values, be Le, as bumpy sections length Ld≤Le, be of short duration bumpy sections depending on this bumpy sections, now hard disk enters the first static protection pattern, as bumpy sections length Ld > Le, depending on the bumpy sections that this bumpy sections is longer, now hard disk enters the second static protection pattern, after vehicle drives through bumpy sections, when detecting that vehicle front road conditions are more smooth, open hard disk operational pattern, and detect the data whether having buffer memory in RAM or FLASH, according to apart from next bumpy sections time and hard disk writing rate, by data time sharing segment write hard disk in RAM or FLASH, prevent write data volume too large needs from expending the long time, the read-write stopping hard disk being had little time when causing arriving next bumpy sections.The first described static protection pattern is specially hard disk and is stored in RAM by data, and the second described static protection pattern is specially hard disk and is stored in FLASH by data, and the first static protection pattern and the second static protection pattern are static protection pattern.
In the present embodiment, judge through the method for bumpy sections it is calculate to determine that whether vehicle is through bumpy sections through the time of bumpy sections, as the method for a kind of preferred calculating through the time of bumpy sections be, time Td=(Ld+Lb through bumpy sections)/V, wherein Lb is the length of vehicle, and Ld is bumpy sections length.
Fig. 3 is a camera calibration illustraton of model, in the present embodiment for calculating distance and the bumpy sections length of vehicle and front bumpy sections.
As figure, set scale line (red scale line) on the ground, O is the start position (namely vehicle headstock position) of scale, scale L
1, L
2l
nbe defined as the distance length (unit: rice) of scale line from starting point O, n maximal value is defined as N, scale line Main Function is by nonlinear images spatial division linear image region, each image-region can think the range of linearity, therefore, n value can be determined according to camera visual range and scale interval division particle sizes, and n is larger then represents that scale interval division granularity is less, and so range finding calculates will be more accurate.
Camera calibration flow process: resolution ratio of camera head is defined as X*Y, X represents image level direction pixel, and Y represents image vertical direction pixel.Vehicle travels to enter demarcates region, and stops at O point position, then takes an image, draws scale line Distance geometry scale line location of pixels mapping table in image vertical direction according to image, definition L
1corresponding vertical direction pixel coordinate P
1, obtain scale L by that analogy
1, L
2l
ncorresponding vertical direction pixel coordinate (P
1, P
2p
n), according to scale line distance, scale line pixel coordinate, image coordinate, and the pixel in each interval with apart from linear, so just can to calculate in image vertical direction every one-row pixels correspondence position, road surface from the distance of headstock, according to following formulae discovery:
L
k=((k-P
i)*(L
i+1-L
i))/(P
i+1-P
i)+L
i
K represents any one-row pixels coordinate in vertical direction, value 0 ~ Y;
I represents the scale line numbering in the scale interval at this row k pixel place, value 0 ~ N;
L
irepresent the distance length of the i-th numbering scale line from starting point O;
L
krepresent that position, road surface corresponding to row k pixel in vertical direction is from headstock distance;
P
irepresent pixel coordinate in vertical direction corresponding to the i-th numbering scale line,
The starting point coordinate of bumpy sections pixel is s, and the terminal point coordinate of bumpy sections pixel is t, then the distance Lc=Ls of vehicle distances bumpy sections, bumpy sections length Ld=Lt-Ls.
The present embodiment only as preferably provide a kind of calculate vehicle and front bumpy sections apart from and the method for bumpy sections length, but not limit with the distance of front bumpy sections and the method for bumpy sections length for calculating vehicle.
Based on the method that above-mentioned vehicle-mounted hard disks is anti-vibration protected, the present invention also proposes a kind of device anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception, comprising:
Speed acquiring module, obtains vehicle present speed V when vehicle travels,
Image capture module, for gathering the road image in front,
Bumpy sections judge module; judge whether road surface ahead has bumpy sections according to collection road image; when judgement is when having bumpy sections; whether detection vehicle travels and enters protection zone; if vehicle enters protection zone; data are stored in cache module; if vehicle does not enter protection zone; hard disk keeps current state, when vehicle is after bumpy sections, opens hard disk operational pattern; data are read and write; when judging to be without bumpy sections, opening hard disk operational pattern, data are read and write.
Further, described bumpy sections judge module comprises:
Distance calculation module, for calculating the distance Lc of vehicle and front bumpy sections, and calculates bumpy sections length Ld;
Time Calculation module, drives to the time Tc=Lc/V of bumpy sections needs for calculating vehicle;
Protection zone judge module, for as Tc≤Ta, is judged as that vehicle travels and enters protection zone, wherein Ta >=Ts, Ts be hard disk from read-write state to stopping read-write, and magnetic head returns to reference position required time.
Further, described bumpy sections judge module comprises:
Setting module, setting bumpy sections length threshold is Le,
Protected mode selects module, and as bumpy sections length Ld≤Le, be of short duration bumpy sections depending on this bumpy sections, now hard disk enters the first static protection pattern; As bumpy sections length Ld > Le, be longer bumpy sections depending on this bumpy sections, now hard disk enters the second static protection pattern.
Further, described distance calculation module comprises:
Setting scale module, for setting scale line, O is the start position of scale, scale L
1, L
2l
nbe defined as the distance length of scale line from starting point O, n maximal value is defined as N,
Image computing module, for setting image resolution ratio to represent image level direction pixel as X*Y, X, Y represents image vertical direction pixel.Vehicle travels to enter demarcates region, and stops at O point position, obtains now image, draws scale line Distance geometry scale line location of pixels mapping table in image vertical direction according to image, definition L
1corresponding vertical direction pixel coordinate P
1, obtain scale L by that analogy
1, L
2l
ncorresponding vertical direction pixel coordinate (P
1, P
2p
n), according to scale line distance, scale line pixel coordinate, image coordinate, and pixel in each interval with apart from linear, to calculate in image vertical direction every one-row pixels correspondence position, road surface from the distance of headstock, according to following formulae discovery:
L
k=((k-P
i)*(L
i+1-L
i))/(P
i+1-P
i)+L
i
K represents any one-row pixels coordinate in vertical direction, value 0 ~ Y;
I represents the scale line numbering in the scale interval at this row k pixel place, value 0 ~ N;
L
irepresent the distance length of the i-th numbering scale line from starting point O;
L
krepresent that position, road surface corresponding to row k pixel in vertical direction is from headstock distance;
P
irepresent pixel coordinate in vertical direction corresponding to the i-th numbering scale line.
The starting point coordinate of bumpy sections pixel is s, and the terminal point coordinate of bumpy sections pixel is t, then the distance Lc=Ls of vehicle distances bumpy sections, bumpy sections length Ld=Lt-Ls.
Further, in described protected mode selection module, the first static protection pattern and the second static protection pattern are for be stored into data in RAM and/or Flash.
Embodiment 2: Fig. 4 is one and includes vehicle comprehensive information service system of the present invention, includes Big Dipper video traveling recorder, vehicle and the Big Dipper of being located by band hard disc recording, the Big Dipper and transports supervisory operation center service system.
Big Dipper video traveling recorder is a main process equipment being arranged on vehicle, contains the subsystem of Micro-processor MCV, memory RAM, Flash, signals of vehicles collection, hard disk, mobile communication module and satellite positioning module.Mainly play the functions such as mobile network's wireless data communications, satellite positioning functions, signals of vehicles collection and video record storage.MCU microprocessor chip adopts Huawei Company Hi3520D chip, signals collecting sensor adopts photoelectric coupled circuit collection vehicle ignition trigger signal, video acquisition module adopts Techwell company's T W2968 chip, be connected by concentric cable between camera with video acquisition module, be connected by SATA interface between hard disk with MCU.
Center service system is one based on the application software of server, for receiving, resolving, process the data that Big Dipper video traveling recorder is uploaded, analyzes data, generating report forms, simultaneously can remote monitoring, remote control, configuration Big Dipper video traveling recorder.
Vehicle Sensor System is mounted in the various sensing system of vehicle, externally provides pulse collection sensor, signals of vehicles sensor interface, and other control panels dock with Vehicle Sensor System by pickup wire, realize signals of vehicles data acquisition.
Big Dipper video traveling recorder integrates mobile communication, BD/GPS dual mode satellite location, video record memory function, realizes manage the monitoring remote video of vehicle, correlation function is sought help in location application management and warning by digital mobile communication network and global satellite positioning.Big Dipper video traveling recorder is arranged on vehicle centre console position, in vehicle travel process, the continuous collection position information data of MCU, vehicle sensor signal, image information and video information, the image information collected and video information are stored in hard disk, also can upload to center service system by during 4G network implementation simultaneously, for retrieval when car operation management unit and video file in hard disk can be checked, because image information and video information data amount are very large, this mass-memory unit of hard disk is therefore needed to come store image information and video information.In view of hard disk operational principle, in vehicle-mounted complicated applications environment, the key subject that the shock resistance how improving hard disk has become the needs research of each mobile device manufacturer to prevent hard disk because shaking the damage caused and solved.Adopt a kind of method anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception of the present invention, can effectively solve hard vibration protection problem, for the data storage function of Big Dipper video traveling recorder provides basic guarantee.
Those skilled in the art it will be appreciated that; a kind of vehicle comprehensive information service system of above-mentioned Fig. 4 is only a kind of system citing including the anti-vibration protected method of vehicle-mounted hard disks of the present invention; those skilled in the art according to the difference of practical situations, can make some to the hardware of the anti-vibration protected system of vehicle-mounted hard disks and change and select.
Although specifically show in conjunction with preferred embodiment and describe the present invention; but those skilled in the art should be understood that; not departing from the spirit and scope of the present invention that appended claims limits; can make a variety of changes the present invention in the form and details, be protection scope of the present invention.
Claims (10)
1., based on the method that the vehicle-mounted hard disks of road conditions perception is anti-vibration protected, comprise the following steps:
S1: obtain vehicle present speed V when vehicle travels;
S2: the road image gathering front;
S3: judge whether road surface ahead has bumpy sections according to collection road image; when judgement is when having bumpy sections; whether detection vehicle travels and enters protection zone; if vehicle enters protection zone; according to bumpy sections length; different protected mode is adopted to data; if vehicle does not enter protection zone; hard disk keeps current state, when vehicle is after bumpy sections, opens hard disk operational pattern; data are read and write; when judging to be without bumpy sections, opening hard disk operational pattern, data are read and write.
2. method according to claim 1, is characterized in that, judges that the step whether vehicle enters protection zone is in described step S3:
S311: the distance Lc calculating vehicle and front bumpy sections, and calculate bumpy sections length Ld;
S312: calculate the time Tc=Lc/V that vehicle drives to bumpy sections needs;
S313: as Tc≤Ta, is considered as vehicle traveling and enters protection zone, wherein Ta >=Ts, Ts
For hard disk is from read-write state to stopping read-write, and magnetic head returns to reference position required time, as Tc > Ta, is considered as vehicle and does not travel and enter protection zone.
3. method according to claim 1, is characterized in that, according to bumpy sections length in described step S3, adopts the concrete steps of different protected mode to be to data:
S321: setting bumpy sections length threshold is Le.
S322: as bumpy sections length Ld≤Le is of short duration bumpy sections depending on this bumpy sections, and now hard disk enters the first static protection pattern; As bumpy sections length Ld > Le, be longer bumpy sections depending on this bumpy sections, now hard disk enters the second static protection pattern.
4. method according to claim 2, is characterized in that: the distance Lc calculating vehicle and front bumpy sections in described step S311, and the concrete steps calculating bumpy sections length Ld are:
S3111: setting scale line, O is the start position of scale, scale L
1, L
2l
nbe defined as the distance length of scale line from starting point O, n maximal value is defined as N;
S3112: set image resolution ratio to represent image level direction pixel as X*Y, X, Y represents image vertical direction pixel.Vehicle travels to enter demarcates region, and stop at O point position, obtain now image, draw scale line Distance geometry scale line location of pixels mapping table in image vertical direction according to image, definition L1 corresponding vertical direction pixel coordinate P1, obtains scale L by that analogy
1, L
2l
ncorresponding vertical direction pixel coordinate (P
1, P
2p
n), according to scale line distance, scale line pixel coordinate, image coordinate, and pixel in each interval with apart from linear, to calculate in image vertical direction every one-row pixels correspondence position, road surface from the distance of headstock, according to following formulae discovery:
L
k=((k-P
i)*(L
i+1-L
i))/(P
i+1-P
i)+L
i
K represents any one-row pixels coordinate in vertical direction, value 0 ~ Y;
I represents the scale line numbering in the scale interval at this row k pixel place, value 0 ~ N;
L
irepresent the distance length of the i-th numbering scale line from starting point O;
L
krepresent that position, road surface corresponding to row k pixel in vertical direction is from headstock distance;
P
irepresent pixel coordinate in vertical direction corresponding to the i-th numbering scale line,
The starting point coordinate of bumpy sections pixel is s, and the terminal point coordinate of bumpy sections pixel is t, then the distance Lc=Ls of vehicle distances bumpy sections, bumpy sections length Ld=Lt-Ls.
5. method according to claim 3, is characterized in that, in described step S322, the first static protection pattern and the second static protection pattern are for be stored into data in RAM and/or Flash.
6., based on the device that the vehicle-mounted hard disks of road conditions perception is anti-vibration protected, comprising:
Speed acquiring module, obtains vehicle present speed V when vehicle travels,
Image capture module, for gathering the road image in front,
Bumpy sections judge module; judge whether road surface ahead has bumpy sections according to collection road image; when judgement is when having bumpy sections; whether detection vehicle travels and enters protection zone; if vehicle enters protection zone; data are stored in cache module; if vehicle does not enter protection zone; hard disk keeps current state, when vehicle is after bumpy sections, opens hard disk operational pattern; data are read and write; when judging to be without bumpy sections, opening hard disk operational pattern, data are read and write.
7. the device anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception according to claim 6, is characterized in that, described bumpy sections judge module comprises:
Distance calculation module, for calculating the distance Lc of vehicle and front bumpy sections, and calculates bumpy sections length Ld;
Time Calculation module, drives to the time Tc=Lc/V of bumpy sections needs for calculating vehicle;
Protection zone judge module; for as Tc≤Ta; be judged as that vehicle travels and enter protection zone; wherein Ta >=Ts; Ts is that hard disk is from read-write state to stopping read-write; and magnetic head returns to reference position required time, as Tc > Ta, be considered as vehicle and do not travel and enter protection zone.
8. the device anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception according to claim 6, is characterized in that, described bumpy sections judge module comprises:
Setting module, setting bumpy sections length threshold is Le,
Protected mode selects module, and as bumpy sections length Ld≤Le, be of short duration bumpy sections depending on this bumpy sections, now hard disk enters the first static protection pattern; As bumpy sections length Ld > Le, be longer bumpy sections depending on this bumpy sections, now hard disk enters the second static protection pattern.
9. the device anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception according to claim 7, is characterized in that: described distance calculation module comprises:
Setting scale module, setting scale line, O is the start position of scale, scale L
1, L
2l
nbe defined as the distance length of scale line from starting point O, n maximal value is defined as N,
Image computing module, for setting image resolution ratio to represent image level direction pixel as X*Y, X, Y represents image vertical direction pixel.Vehicle travels to enter demarcates region, and stop at O point position, obtain now image, draw scale line Distance geometry scale line location of pixels mapping table in image vertical direction according to image, definition L1 corresponding vertical direction pixel coordinate P1, obtains scale L by that analogy
1, L
2l
ncorresponding vertical direction pixel coordinate (P
1, P
2p
n), according to scale line distance, scale line pixel coordinate, image coordinate, and pixel in each interval with apart from linear, to calculate in image vertical direction every one-row pixels correspondence position, road surface from the distance of headstock, according to following formulae discovery:
L
k=((k-P
i)*(L
i+1-L
i))/(P
i+1-P
i)+L
i
K represents any one-row pixels coordinate in vertical direction, value 0 ~ Y;
I represents the scale line numbering in the scale interval at this row k pixel place, value 0 ~ N;
L
irepresent the distance length of the i-th numbering scale line from starting point O;
L
krepresent that position, road surface corresponding to row k pixel in vertical direction is from headstock distance;
P
irepresent pixel coordinate in vertical direction corresponding to the i-th numbering scale line.
The starting point coordinate of bumpy sections pixel is s, and the terminal point coordinate of bumpy sections pixel is t, then the distance Lc=Ls of vehicle distances bumpy sections, bumpy sections length Ld=Lt-Ls.
10. the device anti-vibration protected based on the vehicle-mounted hard disks of road conditions perception according to claim 8, is characterized in that, in described protected mode selection module, the first static protection pattern and the second static protection pattern are for be stored into data in RAM and/or Flash.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510819891.8A CN105469815A (en) | 2015-11-24 | 2015-11-24 | Vehicle-mounted hard-disk shockproof protection method based on road condition perception and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510819891.8A CN105469815A (en) | 2015-11-24 | 2015-11-24 | Vehicle-mounted hard-disk shockproof protection method based on road condition perception and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105469815A true CN105469815A (en) | 2016-04-06 |
Family
ID=55607435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510819891.8A Pending CN105469815A (en) | 2015-11-24 | 2015-11-24 | Vehicle-mounted hard-disk shockproof protection method based on road condition perception and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105469815A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108279989A (en) * | 2017-12-13 | 2018-07-13 | 北京中电万联科技股份有限公司 | Vehicle-mounted critical data method for secure storing and its system |
CN108389282A (en) * | 2018-01-31 | 2018-08-10 | 重庆交通职业学院 | A kind of vehicle mounted failure self diagnosis early warning cloud system |
CN114261408A (en) * | 2022-01-10 | 2022-04-01 | 武汉路特斯汽车有限公司 | Automatic driving method and system capable of identifying road conditions and vehicle |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201583824U (en) * | 2009-07-03 | 2010-09-15 | 湖南科技大学 | Vehicle-mounted early warning device for pavement speed bumps |
CN103839567A (en) * | 2012-11-27 | 2014-06-04 | 深圳中兴力维技术有限公司 | Method and device for improving performance of vehicle-mounted DVR and vehicle-mounted DVR |
CN103837139A (en) * | 2012-11-23 | 2014-06-04 | 株式会社日立制作所 | Rough road surface driving assisted equipment and method for rough road driving assisting |
CN104833364A (en) * | 2015-05-07 | 2015-08-12 | 苏州天鸣信息科技有限公司 | Safe route indicating method for bumpy roads |
CN104933773A (en) * | 2015-05-28 | 2015-09-23 | 燕山大学 | Real-time road condition information monitoring vehicle data recorder and recording method for same |
CN104952123A (en) * | 2015-05-27 | 2015-09-30 | 关晓芙 | Vehicle-mounted equipment installed on vehicle as well as related equipment and method |
CN104992720A (en) * | 2015-07-06 | 2015-10-21 | 浙江宇视科技有限公司 | Shock-proof method and system of vehicle-mounted mechanical hard disk and vehicle-mounted recording device |
CN105023600A (en) * | 2014-04-28 | 2015-11-04 | 厦门雅迅网络股份有限公司 | Vehicle-mounted hard disk shake-proof method based on road condition forecast |
-
2015
- 2015-11-24 CN CN201510819891.8A patent/CN105469815A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201583824U (en) * | 2009-07-03 | 2010-09-15 | 湖南科技大学 | Vehicle-mounted early warning device for pavement speed bumps |
CN103837139A (en) * | 2012-11-23 | 2014-06-04 | 株式会社日立制作所 | Rough road surface driving assisted equipment and method for rough road driving assisting |
CN103839567A (en) * | 2012-11-27 | 2014-06-04 | 深圳中兴力维技术有限公司 | Method and device for improving performance of vehicle-mounted DVR and vehicle-mounted DVR |
CN105023600A (en) * | 2014-04-28 | 2015-11-04 | 厦门雅迅网络股份有限公司 | Vehicle-mounted hard disk shake-proof method based on road condition forecast |
CN104833364A (en) * | 2015-05-07 | 2015-08-12 | 苏州天鸣信息科技有限公司 | Safe route indicating method for bumpy roads |
CN104952123A (en) * | 2015-05-27 | 2015-09-30 | 关晓芙 | Vehicle-mounted equipment installed on vehicle as well as related equipment and method |
CN104933773A (en) * | 2015-05-28 | 2015-09-23 | 燕山大学 | Real-time road condition information monitoring vehicle data recorder and recording method for same |
CN104992720A (en) * | 2015-07-06 | 2015-10-21 | 浙江宇视科技有限公司 | Shock-proof method and system of vehicle-mounted mechanical hard disk and vehicle-mounted recording device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108279989A (en) * | 2017-12-13 | 2018-07-13 | 北京中电万联科技股份有限公司 | Vehicle-mounted critical data method for secure storing and its system |
CN108279989B (en) * | 2017-12-13 | 2021-09-03 | 北京中电万联科技股份有限公司 | Vehicle-mounted key data safe storage method and system thereof |
CN108389282A (en) * | 2018-01-31 | 2018-08-10 | 重庆交通职业学院 | A kind of vehicle mounted failure self diagnosis early warning cloud system |
CN114261408A (en) * | 2022-01-10 | 2022-04-01 | 武汉路特斯汽车有限公司 | Automatic driving method and system capable of identifying road conditions and vehicle |
CN114261408B (en) * | 2022-01-10 | 2024-05-03 | 武汉路特斯汽车有限公司 | Automatic driving method and system capable of identifying road conditions and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101498889B (en) | Multi-eye stereo camera shooting method and device | |
KR102639056B1 (en) | Road information control method based on rear camera | |
CN104992720B (en) | A kind of vehicle-mounted mechanical hard vibration method and system and vehicle-mounted video recording equipment | |
CN106097480A (en) | Vehicle operation data record system | |
CN1937764A (en) | Automobile drive recorder | |
CN106027865A (en) | Vehicle collision alarming and recording triggering device and detection method thereof | |
CN103303309B (en) | Rear-end collision anti-collision warning method and system | |
CN105934774A (en) | Object detection apparatus, object detection method, and mobile robot | |
CN102890834B (en) | Motor-vehicle accident register system and method | |
CN102834297A (en) | Warning sound output device, warning sound output method, warning sound output program, and recording medium | |
CN102819880B (en) | A kind of method of comprehensive reduction road accident image | |
CN101261769A (en) | Processing method and device for traffic accidents | |
CN110599794A (en) | Intelligent vehicle finding method and system based on Internet of vehicles | |
CN105469815A (en) | Vehicle-mounted hard-disk shockproof protection method based on road condition perception and apparatus thereof | |
CN104574571A (en) | Traffic safety recorder | |
CN104104904A (en) | Data recording method, data recording system, mobile phone, glasses and watch | |
JP6838463B2 (en) | Detection device, detection method and program | |
Al-Shargabi et al. | A novel approach for the detection of road speed bumps using accelerometer sensor | |
CN205680289U (en) | A kind of parking detecting system | |
CN105448316A (en) | Vehicle-mounted hard disk shockproof protection method and device based on position sharing | |
CN105023600A (en) | Vehicle-mounted hard disk shake-proof method based on road condition forecast | |
CN103164884A (en) | Vehicle safety black box system | |
CN103630110A (en) | Vehicle range finding system and vehicle range finding method | |
KR101760261B1 (en) | Around view monitoring system having function of black box and operating method | |
CN109935082A (en) | A method of its acquisition data of Transportation Data Collection Terminal and use based on WiFi |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160406 |
|
WD01 | Invention patent application deemed withdrawn after publication |