Disclosure of Invention
The invention provides a vehicle driving information monitoring method and system, which can accurately and comprehensively obtain driving behavior data of a driver and truly and reliably monitor vehicle driving information.
One embodiment of the present invention provides a vehicle driving information monitoring method, including the steps of:
acquiring vehicle state information, wherein the vehicle state information represents information which can be acquired under a vehicle using state; each vehicle is provided with corresponding vehicle-mounted automatic diagnosis system equipment, the vehicle-mounted automatic diagnosis system equipment reads vehicle state information of the corresponding vehicle, and the vehicle state information carries a corresponding vehicle identification number;
storing the acquired vehicle state information into a vehicle state information message queue;
the vehicle state information is taken out from the vehicle state information message queue one by one, the taken out vehicle state information is respectively processed according to the corresponding vehicle identification number, and the vehicle state information with the same vehicle identification number is stored in a centralized manner;
determining complete travel information according to the vehicle state information which is stored in a centralized manner, wherein the complete travel information is the vehicle state information which is acquired from the beginning of the travel to the end of the travel of the vehicle, and the complete travel information at least comprises the beginning of the travel information and the end of the travel information;
and determining dangerous driving data of the corresponding vehicle according to the complete travel information, wherein the dangerous driving data of the vehicle represents data of the driving data exceeding a vehicle safety threshold value.
Optionally, the following steps are included between the step of determining complete trip information according to the vehicle state information stored in the centralized manner and the step of determining dangerous driving data of the corresponding vehicle according to the complete trip information:
and the vehicle state information in the complete travel information is taken out one by one and is distributed to different driving behavior processing logics, and the complete travel information at least comprises vehicle speed information, engine rotating speed information, coolant temperature information, vehicle door state information, gear state information, brake state information and safety belt state information.
Optionally, the vehicle state information includes: vehicle operating condition information and global positioning information, the obtaining vehicle state information further comprises:
acquiring vehicle working condition information according to a vehicle-mounted automatic diagnosis system equipment protocol, wherein the vehicle working condition information represents performance parameter information under a vehicle use state;
global positioning information is acquired based on the global positioning sensor, the global positioning information representing position information of the vehicle.
Optionally, the saving the acquired vehicle state information in the vehicle state information message queue further includes:
storing the acquired vehicle working condition information into a vehicle working condition information message queue;
and storing the acquired vehicle global positioning information into a vehicle global positioning information message queue.
Optionally, the retrieving the vehicle state information one by one from the vehicle state information message queue further includes:
the vehicle working condition information is taken out from the vehicle working condition information message queue one by one, and the vehicle working condition information with the same vehicle identification number is stored in a centralized manner;
the vehicle global positioning information is taken out from the vehicle global positioning information message queue one by one, and the vehicle global positioning information with the same vehicle identification number is stored in a centralized way;
and matching the vehicle working condition information stored in a centralized manner and the global positioning information stored in a centralized manner one by one according to the vehicle identification number.
The present invention also provides a vehicle driving information monitoring system, the system comprising:
the vehicle state information acquisition module is used for acquiring vehicle state information, and the vehicle state information represents information which can be acquired in a vehicle use state; each vehicle is provided with corresponding vehicle-mounted automatic diagnosis system equipment, the vehicle-mounted automatic diagnosis system equipment reads vehicle state information of the corresponding vehicle, and the vehicle state information carries a corresponding vehicle identification number;
the information storage module is used for storing the acquired vehicle state information into a vehicle state information message queue;
the information processing module is used for taking the vehicle state information out of the vehicle state information message queue one by one, respectively processing the taken vehicle state information according to the corresponding vehicle identification number, and intensively storing the vehicle state information with the same vehicle identification number;
the system comprises a journey analysis module, a journey analysis module and a journey analysis module, wherein the journey analysis module is used for determining complete journey information according to the vehicle state information which is stored in a centralized manner, the complete journey information is the vehicle state information which is acquired from the beginning of a journey to the end of the journey of a vehicle, and the complete journey information at least comprises the journey beginning information and the journey end information;
and the dangerous driving data analysis module is used for determining dangerous driving data of the corresponding vehicle according to the complete travel information, wherein the dangerous driving data of the vehicle represents data of which the driving data exceeds a vehicle safety threshold value.
Optionally, the system further comprises:
and the driving behavior analysis module is used for taking out the vehicle state information in the complete travel information one by one and distributing the vehicle state information to different driving behavior processing logics, wherein the complete travel information at least comprises vehicle speed information, engine rotating speed information, coolant temperature information, vehicle door state information, gear state information, brake state information and safety belt state information.
Optionally, the vehicle state information obtaining module further includes:
the vehicle working condition information acquisition submodule is used for acquiring vehicle working condition information according to a vehicle-mounted automatic diagnosis system equipment protocol, and the vehicle working condition information represents performance parameter information under a vehicle use state;
and the global positioning information submodule is used for acquiring global positioning information according to the global positioning sensor, and the global positioning information represents the position information of the vehicle.
Optionally, the information saving module further comprises:
the vehicle working condition information storage submodule is used for storing the acquired vehicle working condition information into a vehicle working condition information message queue;
and the vehicle global positioning information storage submodule is used for storing the acquired vehicle global positioning information into a vehicle global positioning information message queue.
Optionally, the journey analysis module further comprises:
the vehicle working condition information analysis submodule is used for taking the vehicle working condition information out of the vehicle working condition information message queue one by one and storing the vehicle working condition information with the same vehicle identification number in a centralized manner;
the global positioning information analysis submodule is used for taking the vehicle global positioning information out of the vehicle global positioning information message queue one by one and storing the vehicle global positioning information with the same vehicle identification number in a centralized way;
and the information matching analysis submodule is used for matching the centrally stored vehicle working condition information and the centrally stored global positioning information one by one according to the vehicle identification number.
The present invention also provides a computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps in the vehicle driving information monitoring method described above.
The present invention also provides a computer comprising the computer-readable storage medium described above and a processor that can execute the instructions in the computer-readable storage medium.
Therefore, based on the above embodiments, the vehicle driving information monitoring method and system provided by the invention can accurately and comprehensively obtain the driving behavior data of the driver, and truly and reliably monitor the vehicle driving information.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples.
The invention provides a vehicle driving information monitoring method and system for detailed description. The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flow chart of a vehicle driving information monitoring method according to the present invention.
An On-Board Diagnostics (OBD) can monitor the state of the automobile at any time from the running condition of the engine, and is used for alarming faults and informing a driver.
The invention provides a method for analyzing and obtaining vehicle travel, driving track and driving behavior of a driver by using vehicle common index data acquired by OBD equipment based on common indexes monitored by the existing OBD equipment of the vehicle, and determining the driving behavior level of the driver.
In one embodiment, as shown in fig. 1, the present invention provides a vehicle driving information monitoring method, comprising the steps of:
step 101: acquiring vehicle state information, wherein the vehicle state information represents information which can be acquired under the use state of a vehicle; each vehicle is provided with corresponding vehicle-mounted automatic diagnosis system equipment, the vehicle-mounted automatic diagnosis system equipment reads vehicle state information of the corresponding vehicle, and the vehicle state information carries a corresponding vehicle identification number
Step 102: storing the acquired vehicle state information into a vehicle state information message queue;
step 103: the vehicle state information is taken out from the vehicle state information message queue one by one, the taken out vehicle state information is respectively processed according to the corresponding vehicle identification number, and the vehicle state information with the same vehicle identification number is intensively stored;
step 104: determining complete travel information according to the vehicle state information stored in a centralized manner, wherein the complete travel information is the vehicle state information collected from the beginning of the travel to the end of the travel of the vehicle, and the complete travel information at least comprises the travel beginning information and the travel ending information;
step 105: and determining dangerous driving data of the corresponding vehicle according to the complete travel information, wherein the dangerous driving data of the vehicle represents data of the driving data exceeding a vehicle safety threshold value.
Further, between step 104 and step 105, there is further included step 106: and the vehicle state information in the complete travel information is taken out one by one and is distributed to different driving behavior processing logics, and the complete travel information at least comprises vehicle speed information, engine rotating speed information, coolant temperature information, vehicle door state information, gear state information, brake state information and safety belt state information.
The vehicle state information in step 101 includes vehicle operating condition information and global positioning information, and specifically, step 101 further includes the following steps:
acquiring vehicle working condition information according to a vehicle-mounted automatic diagnosis system equipment protocol, wherein the vehicle working condition information represents performance parameter information under a vehicle use state, and the vehicle working condition information in a complete travel message not only comprises the vehicle speed information, the engine rotating speed information, the coolant temperature information, the vehicle door state information, the gear state information, the brake state information and the safety belt state information, but also at least comprises the following steps: accumulated mileage, total mileage, oil consumption and steering wheel angle.
Meanwhile, the on-board automatic diagnostic system of the OBD obtains global positioning information according to the global positioning sensor, and the global positioning information represents the position information of the vehicle.
The OBD vehicle-mounted automatic diagnosis system is used for reading the state information of each vehicle, and specifically, before the vehicle state information is obtained, the OBD vehicle-mounted automatic diagnosis system device receives the vibration signal of the corresponding vehicle and starts the operation of reading the state information of each vehicle.
That is to say, the vehicle triggers a sensor in the on-board automatic diagnostic system of the OBD to wake up the on-board automatic diagnostic system of the OBD through the vibration of the vehicle body, so that the on-board automatic diagnostic system of the OBD is started to read the state information of the respective vehicle.
The OBD vehicle-mounted automatic diagnosis system is in real-time communication with a vehicle state information acquisition module in the vehicle driving information monitoring system through a network, so that the OBD vehicle-mounted automatic diagnosis system is in communication with services in a dynamic configuration frequency mode.
In a further specific embodiment, as shown in fig. 2, the storing the acquired vehicle state information in the conductive vehicle state information message queue at step 102 further includes:
step 1021: storing the acquired vehicle working condition information into a vehicle working condition information message queue;
step 1022: and storing the acquired vehicle global positioning information into a vehicle global positioning information message queue.
Further, as shown in fig. 3, the step 103 of retrieving the vehicle state information one by one from the vehicle state information message queue includes:
step 1031: the vehicle working condition information is taken out one by one from the vehicle working condition information message queue, and the vehicle working condition information with the same vehicle identification number is stored in a centralized manner;
step 1032: the vehicle global positioning information is taken out from the vehicle global positioning information message queue one by one, and the vehicle global positioning information with the same vehicle identification number is stored in a centralized way;
step 1033: and matching the vehicle working condition information stored in the set and the global positioning information stored in the set one by one according to the vehicle identification number.
In a particular embodiment, to implement steps 103 and 104, a distributed real-time computing system may be employed to process the complete trip information.
Specifically, a distributed real-time computing system Storm is adopted, and consumed vehicle working condition information with the same vehicle identification number is distributed to a journey matching Blot through vehicle working condition information and vehicle global positioning information in different Spout consumption kafka.
After processing and analysis, when the vehicle speed information and the engine rotating speed information in the vehicle working condition information are both zero, the vehicle is in a stop state, when the vehicle speed information and the engine rotating speed information of the vehicle are both greater than zero, the state at the moment is recorded as a stroke starting state, and when the subsequent vehicle speed information and the engine rotating speed information are continuously greater than zero, the vehicle is in a running state. And a state in which the state stroke ends when the vehicle speed information and the engine speed information become zero for about a predetermined period of time or longer.
From the above, a complete trip information can be determined, and further, the complete trip information is processed and analyzed, including calculating the driving time, the driving distance and the fuel consumption in the complete trip information. And distributing the vehicle working condition information in the complete travel information to a position matching Bolt, acquiring global positioning information from the Spout, and matching through the vehicle working condition information in the position matching Bolt to further obtain the vehicle working condition information under each position coordinate in the running process of the vehicle.
The analysis can likewise be performed using a distributed real-time computing system Storm for step 105.
Specifically, vehicle working condition information and vehicle global positioning information in kafka are consumed through different spaut, consumed vehicle working condition information with the same vehicle identification number is distributed to a driving behavior Bolt, vehicle speed information, engine rotating speed information, coolant temperature information, vehicle door state information, gear state information, brake state information and safety belt state information in the vehicle working condition information are compared with vehicle dangerous driving data, and the vehicle dangerous driving data identify data of which the vehicle driving data exceed a vehicle safety threshold value.
In the specific embodiment, when the vehicle speed in the vehicle speed information is greater than zero and the coolant temperature is greater than 110 degrees, and lasts for five minutes, it is determined that the current vehicle is traveling with an excessively high temperature, and it is abnormal driving data, that is, the vehicle is abnormally driven.
And when the vehicle speed is greater than the speed limit corresponding to the current position coordinate in the safe driving data information, determining that the current vehicle is overspeed driving and is abnormal driving data, namely the vehicle is abnormal driving.
When the vehicle speed is zero, the engine speed is greater than zero and lasts more than five minutes, the current vehicle is determined to be idling for a long time, namely the vehicle is abnormally driven.
And when the vehicle speed is greater than zero and the safety belt state is the unfastened state, determining that the current vehicle is the dangerous driving behavior without fastening the safety belt, and the current vehicle is abnormal driving data, namely the vehicle is in abnormal driving.
And when the vehicle running accumulated time is more than four hours, determining that the current vehicle is in fatigue driving behavior, namely the vehicle is in abnormal driving.
When the forward acceleration acquired by the acceleration sensor is larger than a critical value or smaller than the critical value, the current vehicle acceleration sensor state is determined to be rapid acceleration and rapid deceleration, namely the vehicle is in abnormal driving.
And when the vehicle speed is greater than zero and the door state is the open state, determining that the current vehicle is dangerous driving without closing the door, namely the vehicle is abnormal driving.
The data for specifying abnormal driving of the vehicle may be set as needed, and is not limited to the determination of abnormal driving by the above data.
The vehicle driving state is monitored by the vehicle driving information monitoring method, and the method can be further used for analyzing the driving level of a driver.
Determining the driving behavior state of the driver according to the determined dangerous driving data of the corresponding vehicle and a preset time dimension;
determining a driving score of the driver according to the determined driving behavior state of the driver and a score database established in advance, wherein the score database comprises score values corresponding to the driving behavior state;
the driver is subjected to rank classification according to the driving score and a driving behavior level rank that has been established in advance.
In a specific embodiment, all driving behaviors of the vehicle in a travel time range can be matched according to dangerous driving data of the corresponding vehicle, and further, the driving score of a driver in the travel range can be further determined through preset driving behavior score weights.
In order to further accurately score the driver, the average driving score of the driver per day, per week and per month can be calculated according to different dimensions so as to objectively determine the driving level of the driver.
Furthermore, the determination result of the driving level can be pushed to the driver, so that the driver is warned, and the safety driving awareness is improved.
Meanwhile, the ranking of the drivers with the driving levels of every day, every week and every month can be pushed to the manager, so that the ranking is stored to a group to be trained when the score of the driving level is at a lower level in a preset period, and the ranking is used for carrying out safe driving training on the drivers with the lower score of the driving behavior level.
Based on the embodiment, when the vehicle is in dangerous driving data, the vehicle monitoring system can also send out alarm signals, so that the driver is warned in real time to improve the safe driving consciousness.
Based on substantially the same principle of the above method, in a specific embodiment, the invention further provides a vehicle driving information monitoring system.
As shown in fig. 5, the system includes the following modules:
the vehicle state information acquisition module is used for acquiring vehicle state information, and the vehicle state information represents information which can be acquired in a vehicle use state; each vehicle is provided with corresponding vehicle-mounted automatic diagnosis system equipment, the vehicle-mounted automatic diagnosis system equipment reads vehicle state information of the corresponding vehicle, and the vehicle state information carries a corresponding vehicle identification number;
the information storage module is used for storing the acquired vehicle state information into a vehicle state information message queue;
the information processing module is used for taking the vehicle state information out of the vehicle state information message queue one by one, respectively processing the taken vehicle state information according to the corresponding vehicle identification number, and intensively storing the vehicle state information with the same vehicle identification number;
the travel analysis module is used for determining complete travel information according to the vehicle state information which is stored in a centralized manner, wherein the complete travel information is the vehicle state information which is acquired from the beginning of a travel to the end of the travel of the vehicle, and the complete travel information at least comprises the beginning of the travel information and the end of the travel information;
and the dangerous driving data analysis module is used for determining dangerous driving data of the corresponding vehicle according to the complete travel information, and the dangerous driving data of the vehicle represents data of which the driving data exceeds a vehicle safety threshold value.
The system further comprises a driving behavior analysis module, wherein the driving behavior analysis module is used for taking out the vehicle state information in the complete travel information one by one and distributing the vehicle state information to different driving behavior processing logics, and the complete travel information at least comprises vehicle speed information, engine rotating speed information, coolant temperature information, vehicle door state information, gear state information, brake state information and safety belt state information.
The vehicle state information acquisition module further comprises a vehicle working condition information acquisition submodule and a global positioning information submodule, wherein the vehicle working condition information acquisition submodule is used for acquiring vehicle working condition information according to a vehicle-mounted automatic diagnosis system equipment protocol, and the vehicle working condition information represents performance parameter information under a vehicle use state; the global positioning information submodule is used for acquiring global positioning information according to the global positioning sensor, and the global positioning information represents the position information of the vehicle.
As shown in fig. 5, the information storage module further includes a vehicle condition information storage sub-module and a vehicle global positioning information storage sub-module, and the vehicle condition information storage sub-module is configured to store the acquired vehicle condition information into a vehicle condition information message queue; the vehicle global positioning information storage submodule is used for storing the acquired vehicle global positioning information into a vehicle global positioning information message queue.
As shown in fig. 6, the journey analysis module further includes a vehicle condition information analysis sub-module, a global positioning information analysis sub-module, and an information matching analysis sub-module.
The vehicle working condition information analysis submodule is used for taking the vehicle working condition information out of the vehicle working condition information message queue one by one and storing the vehicle working condition information with the same vehicle identification number in a centralized manner; the global positioning information analysis submodule is used for taking the vehicle global positioning information out of the vehicle global positioning information message queue one by one and storing the vehicle global positioning information with the same vehicle identification number in a centralized way; and the information matching analysis submodule is used for matching the centrally stored vehicle working condition information and the centrally stored global positioning information one by one according to the vehicle identification number.
The present invention also provides a computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps of any of the vehicle driving information monitoring methods described above.
The invention also provides a computer comprising the computer-readable storage medium and a processor that can execute instructions in the computer-readable storage medium.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.