Disclosure of Invention
The invention provides a driver identity identification method and device. The driving operation curve is generated by collecting the vehicle operation data of the driver driving in a specific scene, and the collected vehicle driving curve is compared with the prestored sample driving curve of the driver driving the vehicle, so that the identity information of the driver is obtained, and the identity information of the driver is obtained more safely and quickly.
To solve the above technical problem, an embodiment of the present invention provides the following solutions:
a driver identification method, comprising:
acquiring path state information and driving state information in the driving process of a vehicle;
respectively generating an actual measurement driving curve corresponding to each path state according to the path state information and the driving state information, wherein the actual measurement driving curve is a relation curve of actual measurement driving speed and time;
and identifying the identity of the driver according to the corresponding actual measurement driving curve in each path state.
The method for acquiring the path state information in the vehicle driving process comprises the following steps:
acquiring positioning information in the running process of a vehicle;
and determining the path state information in the running process of the vehicle according to the positioning information.
Wherein the path state information includes: straight, left quarter turn and/or right quarter turn information.
The method for acquiring the driving state information in the driving process of the vehicle comprises the following steps:
and acquiring running state information of the vehicle in the running process through a gravity sensor and/or an accelerometer sensor of the vehicle.
Wherein the driving state information includes: acceleration, deceleration, left turn and/or right turn information.
The step of identifying the identity of the driver according to the corresponding actual measurement driving curve in each path state comprises the following steps:
fitting the corresponding actual measurement driving curve in each path state with a pre-stored sample driving curve to obtain the goodness of fit of the actual measurement driving curve corresponding to each path state and the sample driving curve;
obtaining a goodness-of-fit evaluation value of each path state according to the goodness-of-fit of the actually-measured driving curve corresponding to each path state and the sample driving curve;
and identifying the identity of the driver according to the goodness-of-fit evaluation value of each path state.
The step of fitting the actual measurement driving curve corresponding to each path state with a pre-stored sample driving curve to obtain the goodness of fit between the actual measurement driving curve corresponding to each path state and the sample driving curve comprises:
by the formula:
Q=∑(v-v*)2and an
Obtaining the goodness of fit of the actually measured driving curve and a prestored sample driving curve under the state of the corresponding path;
where v is the measured driving speed value, v*The driving curve fitting method is characterized in that a speed value is pre-stored, R is a fitting goodness, and R ranges from 0 to 1, and the fitting degree of an actually measured driving curve and a pre-stored sample driving curve is from bottom to top.
The step of obtaining the goodness-of-fit evaluation value of each path state according to the goodness-of-fit of the actually-measured driving curve corresponding to each path state and the sample driving curve comprises the following steps:
according to the formula:
andφ=∑φ
iobtaining a goodness-of-fit evaluation value of each path state;
wherein phi isiFor the goodness-of-fit evaluation value, i is an integer greater than or equal to 1, and φ is the sum of the goodness-of-fit evaluation values for each path state.
The step of identifying the identity of the driver according to the goodness-of-fit evaluation value of each path state comprises the following steps of:
if phi is within a preset threshold range, determining that the identity of the driver matches the pre-stored driver identity.
The embodiment of the present invention further provides a driver identification apparatus, including:
the acquisition module is used for acquiring path state information and driving state information in the driving process of the vehicle;
the identification module is used for respectively generating an actual measurement driving curve corresponding to each path state according to the path state information and the driving state information, wherein the actual measurement driving curve is a relation curve of actual measurement driving speed and time; and identifying the identity of the driver according to the corresponding actual measurement driving curve in each path state.
Wherein the obtaining module is specifically configured to: acquiring positioning information in the running process of a vehicle; and determining the path state information in the running process of the vehicle according to the positioning information.
Wherein the obtaining module is specifically configured to: and acquiring running state information of the vehicle in the running process through a gravity sensor and/or an accelerometer sensor of the vehicle.
Wherein the identification module comprises:
the first acquisition unit is used for fitting the actual measurement driving curve corresponding to each path state with a pre-stored sample driving curve to obtain the goodness of fit of the actual measurement driving curve corresponding to each path state and the sample driving curve;
the second acquisition unit is used for obtaining a goodness-of-fit evaluation value of each path state according to the goodness-of-fit of the actually-measured driving curve corresponding to each path state and the sample driving curve;
and the identification unit is used for identifying the identity of the driver according to the goodness-of-fit evaluation value of each path state.
The first obtaining unit is specifically configured to: by the formula:
Q=∑(v-v*)2and an
Obtaining the goodness of fit of the actually measured driving curve and a prestored sample driving curve under the state of the corresponding path;
where v is the measured driving speed value, v*The driving curve fitting method is characterized in that a speed value is pre-stored, R is a fitting goodness, and R ranges from 0 to 1, and the fitting degree of an actually measured driving curve and a pre-stored sample driving curve is from bottom to top.
The second obtaining unit is specifically configured to:
according to the formula:
and phi is ═ Σ phi
iObtaining a goodness-of-fit evaluation value of each path state;
wherein phi isiFor the goodness-of-fit evaluation value, i is an integer greater than or equal to 1, and φ is the sum of the goodness-of-fit evaluation values for each path state.
Wherein the identification unit is specifically configured to:
if phi is within a preset threshold range, determining that the identity of the driver matches the pre-stored driver identity.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, the path state information and the running state information in the running process of the vehicle are obtained; and identifying the identity of the driver according to the path state information and the driving state information. Therefore, the aim of acquiring the identity information of the driver more quickly is fulfilled.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a low-cost and easily-realized driver identity recognition method.A recognition device collects vehicle running data of a driver driving in a specific scene, generates a driving running curve, and compares the collected vehicle running curve with a pre-stored characteristic running curve of the driver driving the vehicle, thereby acquiring the identity information of the driver.
As shown in fig. 1, an embodiment of the present invention provides a driver identification method, including:
step 11, acquiring path state information and driving state information in the driving process of the vehicle;
specifically, positioning information in the running process of the vehicle is acquired through a GPS positioning device of the vehicle; determining the path state information in the running process of the vehicle according to the positioning information; wherein the path state information includes: straight, left quarter turn and/or right quarter turn information, etc.
Acquiring running state information in the running process of the vehicle through a gravity sensor and/or an accelerometer sensor of the vehicle; wherein the driving state information includes: acceleration, deceleration, left turn and/or right turn information;
step 12, respectively generating an actual measurement driving curve corresponding to each path state according to the path state information and the driving state information, wherein the actual measurement driving curve is a relation curve of actual measurement driving speed and time;
and step 13, identifying the identity of the driver according to the corresponding actual measurement driving curve in each path state.
The embodiment of the invention obtains the path state information and the running state information in the running process of the vehicle; and identifying the identity of the driver according to the path state information and the driving state information. Therefore, the aim of acquiring the identity information of the driver more quickly is fulfilled.
In the above embodiment of the present invention, step 13 may specifically include:
step 131, fitting the actually measured driving curve corresponding to each path state with a pre-stored sample driving curve to obtain the goodness of fit of the actually measured driving curve corresponding to each path state and the sample driving curve;
specifically, the following formula can be used:
Q=∑(v-v*)2and an
Obtaining the goodness of fit of the actually measured driving curve and a prestored sample driving curve under the state of the corresponding path;
where v is the measured driving speed value, v*The driving curve fitting method is characterized in that a speed value is pre-stored, R is a fitting goodness, and R ranges from 0 to 1, and the fitting degree of an actually measured driving curve and a pre-stored sample driving curve is from bottom to top.
Step 132, obtaining a goodness-of-fit evaluation value of each path state according to the goodness-of-fit of the actually-measured driving curve corresponding to each path state and the sample driving curve;
specifically, the following formula can be used:
andφ=∑φ
iobtaining a goodness-of-fit evaluation value of each path state;
wherein phi isiFor the goodness-of-fit evaluation value, i is an integer greater than or equal to 1, and φ is the sum of the goodness-of-fit evaluation values for each path state.
Step 133, identify the driver according to the goodness-of-fit evaluation value of each path state.
Specifically, if phi is within a preset threshold range, it is determined that the identity of the driver matches the pre-stored identity of the driver, and if phi is equal to a preset value, it is determined that the identity of the driver matches the pre-stored identity of the driver.
As shown in fig. 2, the specific flow of the above embodiment is described with reference to a specific implementation scenario:
step 1: and initializing, namely initializing each unit of the system and starting to operate.
Step 2: and outputting the current running path state information in real time through the acquired positioning information, wherein the current running path state information comprises straight running, left right-angle turning, right-angle turning and the like.
And step 3: the method comprises the following steps of collecting current vehicle running state information through a G-Sensor (gravity Sensor) or an accelerometer Sensor, wherein the effective running state comprises the following steps: acceleration, deceleration, left turn, right turn, etc.
And 4, step 4: when simultaneously satisfying: a. valid path state information (straight, left quarter turn, right quarter turn); b. the effective driving state information (acceleration, deceleration, left turn, right turn) is processed with the path state information and the driving state information.
And 5: based on the effective path state information and the driving state information, curve fitting of speed and time in the corresponding driving state of the corresponding scene (path state) is respectively generated, and an actually measured driving curve is obtained, as shown in fig. 3A to 3F.
Step 6: respectively calculating the fitting degree of the actually measured driving curve and a prestored sample driving curve, wherein the calculation process is as follows:
a. taking a speed value corresponding to the driving state duration time t from 1-10 s as fitting degree calculation input;
b. let v be the measured value, v*Calculating the sum of squares of residual errors of the actually measured speed and the sample speed for a pre-stored value, wherein the calculation formula is as follows;
Q=∑(v-v*)2
c. the goodness of fit between the actually measured driving curve and the prestored sample driving curve under the same scene is R, and the calculation formula is as follows:
d. the goodness of fit R is from 0 to 1, and the goodness of fit R respectively represents that the fitting degree of the actually measured running curve and the prestored sample running curve is from bottom to high;
e. the goodness-of-fit evaluation value of the six-item driving curve is set as phi1~φ6The value rule is as follows:
φ=∑φi
f. and if phi is 6, the identity of the driver to be identified is considered to be consistent with the identity of the prestored driver.
Of course, the flow shown in fig. 2 is only a scene implementation process of the embodiment of the present invention, and other application scenes can be implemented by the above method embodiment, and the same technical effect can also be achieved.
The embodiment of the invention can solve the safety problem that the driver information is stored as the identification label through a third-party medium or the biological characteristics of the driver are collected as the identification basis through the biological characteristic collecting device, thereby avoiding the problem that the user steals the identity information of the driver; the problem of interference caused by adopting an external environment can be solved, the scheme of the invention is not interfered by external factors such as illumination, climate, time and the like, and the authenticity and the reliability of the obtained driving data information of the vehicle controlled by the driver are ensured; the problem of complex information acquisition equipment can be solved; and the identity of the driver can be quickly identified.
As shown in fig. 4, an embodiment of the present invention further provides a driver identification apparatus 40, including:
an obtaining module 41, configured to obtain path state information and driving state information in a driving process of a vehicle;
the identification module 42 is configured to generate an actually measured driving curve corresponding to each path state according to the path state information and the driving state information, where the actually measured driving curve is a relation curve between an actually measured driving speed and time; and identifying the identity of the driver according to the corresponding actual measurement driving curve in each path state.
The obtaining module 41 is specifically configured to: acquiring positioning information in the running process of the vehicle through a unit (such as a GPS module) of the vehicle; and determining the path state information in the running process of the vehicle according to the positioning information.
The obtaining module 41 is specifically configured to: and acquiring running state information of the vehicle in the running process through a gravity sensor and/or an accelerometer sensor of the vehicle.
Wherein the identification module 42 comprises:
the first acquisition unit is used for fitting the actual measurement driving curve corresponding to each path state with a pre-stored sample driving curve to obtain the goodness of fit of the actual measurement driving curve corresponding to each path state and the sample driving curve;
the second acquisition unit is used for obtaining a goodness-of-fit evaluation value of each path state according to the goodness-of-fit of the actually-measured driving curve corresponding to each path state and the sample driving curve;
and the identification unit is used for identifying the identity of the driver according to the goodness-of-fit evaluation value of each path state.
The first obtaining unit is specifically configured to: by the formula:
Q=∑(v-v*)2and an
Obtaining the goodness of fit of the actually measured driving curve and a prestored sample driving curve under the state of the corresponding path;
where v is the measured driving speed value, v*The driving curve fitting method is characterized in that a speed value is pre-stored, R is a fitting goodness, and R ranges from 0 to 1, and the fitting degree of an actually measured driving curve and a pre-stored sample driving curve is from bottom to top.
The second obtaining unit is specifically configured to:
according to the formula:
and phi is ═ Σ phi
iObtaining a goodness-of-fit evaluation value of each path state;
wherein phi isiFor the goodness-of-fit evaluation value, i is an integer greater than or equal to 1, and φ is the sum of the goodness-of-fit evaluation values for each path state.
Wherein the identification unit is specifically configured to:
if phi is within a preset threshold range, determining that the identity of the driver matches the pre-stored driver identity.
The embodiment of the device of the invention corresponds to the method, and all implementation modes in the embodiment of the method are applicable to the embodiment of the device, and the same technical effect can be achieved.
In the above-described embodiments of the present invention, the driving scenario (route state) used includes: three kinds of effective scenes such as straight going, left quarter turn, right quarter turn to and the running state includes: acceleration, deceleration, left turn, right turn, etc. The driving curve refers to a driving curve obtained by a specific driving state in the above-described scene.
In the above embodiment of the present invention, the running data of the vehicle includes: acceleration values and deflection values. The identity comparison operation needs to have the driving information of the user driving the vehicle, which is collected and stored in advance, and can be compared with a local database in an off-line mode or compared with a database of a background server in an on-line mode.
The obtained actual measurement driving curve is used as the input of the identification unit, and the driving curve is compared with the driver identity data stored in the pre-stored database, so that the driver identity information is determined more safely and quickly.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.