System and method for extracting OBD data based on vehicle type information
Technical Field
The invention relates to the technical field of information, in particular to a system and a method for extracting OBD data based on vehicle type information.
Background
As automobiles gradually enter homes, various vehicle inspections become indispensable links, such as an annual inspection link of vehicles, a second-hand vehicle transaction link and the like. In vehicle inspection, an inspector is generally required to observe the appearance of a vehicle and various positions of a vehicle frame in detail to determine whether there are any traces of deformation or repair caused by collision. However, with the development of the internet, the possibility is provided for rapid and convenient vehicle inspection, and particularly, some internet second-hand automobile sales platforms can provide very good information interaction platforms for buyers and sellers. In the prior art, the buyer cannot verify the authenticity of the information on the platform, so that time and energy are wasted. Therefore, the prior art lacks a reliable and efficient technology capable of detecting the vehicle state of the vehicle on line.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a system and a method for extracting OBD data based on vehicle type information so as to improve efficiency.
In order to solve the above problem, an embodiment of the present invention provides a system for extracting OBD data based on vehicle type information, including: detecting a terminal and a remote server; wherein:
the detection terminal is used for acquiring parameter information of the vehicle and sending the parameter information to the remote server;
the remote server is used for determining the type of the vehicle according to the parameter information of the vehicle sent by the detection terminal;
wherein the remote server comprises:
the vehicle type database is internally stored with vehicle type information of vehicles;
and the vehicle model matching module is used for receiving the parameter information of the vehicle forwarded by the detection terminal and matching the parameter information of the vehicle with the data in the vehicle model database to determine the vehicle model.
The detection terminal is provided with a driving license scanning module so as to shoot a driving license through a camera to obtain a vehicle driving license image and send the vehicle driving license image to the remote server; the driving license scanning module is used for displaying a preset virtual vehicle driving license image template on a display of the detection terminal, and extracting an image of the vehicle driving license through the camera when a user places the vehicle driving license in front of the camera and detects that the edge of the vehicle driving license is superposed with the edge of the preset virtual vehicle driving license image template; and sending the image to a remote server to enable the remote server to identify characters in the image of the vehicle license.
And the remote server identifies the vehicle type by identifying the vehicle VIN code or the engine number in the image of the vehicle running license.
The vehicle type database comprises a parameter item set and a vehicle type item set; each vehicle VIN code or engine number is stored in the parameter item set, and the vehicle type item set stores the vehicle brand, the vehicle system information and the vehicle type information corresponding to each vehicle VIN code or engine number;
the vehicle type matching module comprises a character recognition unit and a matching unit, wherein the character recognition unit is used for receiving an image of a vehicle running license received from a detection terminal and recognizing characters in the image of the vehicle running license to obtain a vehicle VIN code or an engine number; and the matching unit determines a corresponding vehicle VIN code or engine number from a parameter item set of the vehicle type database according to the identification result of the character identification unit, and determines a vehicle brand, a vehicle series and a vehicle type corresponding to the vehicle VIN code or the engine number from the vehicle type item set.
The detection terminal is provided with a vehicle image extraction module so as to shoot an image of 45 degrees in front of the head of a vehicle obliquely through a camera to acquire parameter information of the vehicle and send the parameter information to a remote server; the vehicle image extraction module is used for displaying a preset image template of a virtual vehicle head inclined forward 45 degrees on a display of the detection terminal, and extracting a vehicle image through a camera when a user aligns the camera with the vehicle and detects that the outer contour of the vehicle is overlapped with the outer contour edge of the preset virtual vehicle image template; and sending the extracted vehicle image of the image pair to the remote server for identification.
The vehicle type database comprises an image item set and a vehicle type item set; the image item set stores images of each vehicle type at an oblique front angle of 45 degrees, and the vehicle type item set stores vehicle brands, vehicle series information and vehicle type information corresponding to each pre-stored image;
the vehicle type matching module comprises an image recognition unit and a matching unit, wherein the image recognition unit is used for receiving a vehicle image received from a detection terminal and matching the vehicle image with an image prestored in the vehicle type database to obtain a matched prestored image in an image item set; and the matching unit determines the vehicle brand, the vehicle series and the vehicle type corresponding to the vehicle image from the vehicle type item set according to the image recognition result.
The detection terminal is provided with a vehicle tail image extraction module for shooting images of vehicle tails through a camera to obtain vehicle tail images and sending the vehicle tail images to a remote server; the vehicle tail image extraction module is used for displaying a preset virtual vehicle tail front image template on a display of the detection terminal, and extracting a vehicle image through a camera when a user aligns the camera with the vehicle and detects that the outer contour of the vehicle is overlapped with the outer contour edge of the preset virtual vehicle tail front image template; and sending the extracted vehicle image of the image pair to the remote server for identification.
The vehicle type database comprises an image item set and a vehicle type item set; the image item set stores a vehicle tail front image of each vehicle type, and the vehicle type item set stores a vehicle brand, vehicle series information and vehicle type information corresponding to each pre-stored image;
the vehicle type matching module comprises an image recognition unit and a matching unit, wherein the image recognition unit is used for receiving a vehicle image received from a detection terminal and matching the vehicle image with an image prestored in the vehicle type database to obtain a matched prestored image in an image item set; and the matching unit determines the vehicle brand, the vehicle series and the vehicle type corresponding to the vehicle image from the vehicle type item set according to the image recognition result.
The detection terminal is provided with an interaction module for acquiring a vehicle model database from a remote server, the vehicle model database is acquired from the remote server through the interaction module of the detection terminal, and the vehicle model database is displayed to a user through a display in an interaction interface mode so that the user can select a vehicle brand, a vehicle series and a vehicle model through the interaction interface.
The vehicle model database of the remote server comprises: the vehicle-mounted display system comprises a first item set, a second item set and a third item set, wherein the first item information set is used for storing vehicle brand information, the second item information set is used for storing train information included by each vehicle brand, and the third item information set is used for storing vehicle type information included by each train; each vehicle brand in the first item information set corresponds to one second item information set respectively so as to store a vehicle series included by the vehicle brand, and each vehicle series in the second item information set corresponds to one third item information set respectively so as to store a vehicle type included by the vehicle series; wherein each vehicle brand, vehicle series and vehicle type is provided with a unique code;
the vehicle type matching module comprises a data receiving unit and a matching unit, the data receiving unit receives codes returned by the detection terminal, and the matching unit determines the brand, the train system and the vehicle type of the vehicle in the vehicle type database according to the codes returned by the detection terminal.
Meanwhile, an embodiment of the present invention further provides a method for extracting OBD data by using the system for extracting OBD data based on vehicle type information, including:
the remote server receives the parameter information of the vehicle sent by the detection terminal;
the remote server is provided with a vehicle model database used for storing vehicle model information of vehicles, and the remote server matches the parameter information of the vehicles with the data in the vehicle model database to determine the vehicle models.
The remote server matches the parameter information of the vehicle with the data in the vehicle model database to determine the vehicle model, and specifically includes:
displaying a preset image template of the virtual vehicle running license through a display of the detection terminal, and extracting an image of the vehicle running license through the camera when a user places the vehicle running license in front of the camera and detects that the edge of the vehicle running license is superposed with the edge of the preset image template of the virtual vehicle running license;
sending the image to a remote server to enable the remote server to identify characters in the image of the vehicle running license so as to obtain a vehicle VIN code or an engine number in the image of the vehicle running license, and searching the vehicle model database through the vehicle VIN code or the engine number to determine a vehicle model;
the vehicle type database comprises a parameter item set and a vehicle type item set; and the vehicle type item set stores vehicle brands, vehicle series information and vehicle type information corresponding to each vehicle VIN code or engine number.
The remote server matches the parameter information of the vehicle with the data in the vehicle model database to determine the vehicle model, and specifically includes:
displaying a preset 45-degree image template of the oblique front of the blurring head through a display of the detection terminal, and extracting a vehicle image through the camera when a user aligns the camera with the vehicle and detects that the outer contour of the vehicle is overlapped with the outer contour edge of the preset blurring vehicle image template; and sending the extracted vehicle images of the image pair to the remote server for identification;
the vehicle type database comprises an image item set and a vehicle type item set; the image item set stores images of each vehicle type at an oblique front angle of 45 degrees, and the vehicle type item set stores vehicle brands, vehicle series information and vehicle type information corresponding to each pre-stored image.
The remote server matches the parameter information of the vehicle with the data in the vehicle model database to determine the vehicle model, and specifically includes:
displaying a preset vehicle tail image template through a display of a detection terminal, and extracting a vehicle image through a camera when a user aligns the camera with a vehicle and detects that the outer contour of the vehicle is coincident with the outer contour edge of the preset virtual vehicle image template; and sending the extracted vehicle images of the image pair to the remote server for identification;
the vehicle type database comprises an image item set and a vehicle type item set; the image item set is internally stored with a vehicle tail image of each vehicle type, and the vehicle type item set is stored with a vehicle brand, vehicle series information and vehicle type information corresponding to each pre-stored image.
The remote server matches the parameter information of the vehicle with the data in the vehicle model database to determine the vehicle model, and specifically includes:
the method comprises the steps that a vehicle type database is obtained from a remote server through an interactive module of a detection terminal, and is displayed to a user through a display in the form of an interactive interface, so that the user can select a vehicle brand, a vehicle series and a vehicle type through the interactive interface; the remote server performs matching from the vehicle model database according to the interaction information returned by the detection terminal to determine the vehicle model;
wherein the vehicle model database of the remote server comprises: the vehicle-mounted display system comprises a first item set, a second item set and a third item set, wherein the first item information set is used for storing vehicle brand information, the second item information set is used for storing train information included by each vehicle brand, and the third item information set is used for storing vehicle type information included by each train; each vehicle brand in the first item information set corresponds to one second item information set respectively so as to store a vehicle series included by the vehicle brand, and each vehicle series in the second item information set corresponds to one third item information set respectively so as to store a vehicle type included by the vehicle series.
The technical scheme of the embodiment of the invention has the following beneficial effects: the system and the method of the embodiment of the invention can more accurately determine the standard working parameters of the vehicle. Therefore, the brand, the series and the model of the vehicle can be quickly determined, and the standard working parameters of the vehicle can be quickly determined. Therefore, the basis is provided for the rapid online detection of the vehicle, and the detector can realize rapid detection only after obtaining the actual working parameters of the vehicle through the OBD interface of the vehicle.
Drawings
FIG. 1 is a system block diagram of an embodiment of the present invention;
FIG. 2 is a system architecture diagram for vehicle model matching using vehicle driving originals in an embodiment of the present invention;
FIG. 3 is a system architecture diagram for vehicle model matching using an image of 45 ° forward and oblique from the vehicle head according to an embodiment of the present invention;
FIG. 4 is a system architecture diagram for vehicle model matching using a vehicle tail image in an embodiment of the present invention;
FIG. 5 is a system architecture diagram for vehicle model matching using an image of 45 ° forward and oblique from the vehicle head according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The embodiments of the present invention will be further described with reference to the accompanying drawings. In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
In order to solve the above problem, an embodiment of the present invention provides a system for extracting OBD data based on vehicle type information as shown in fig. 1, including: detecting a terminal and a remote server; wherein:
the detection terminal is used for acquiring parameter information of the vehicle and sending the parameter information to the remote server;
the remote server is used for determining the type of the vehicle according to the parameter information of the vehicle sent by the detection terminal;
wherein the remote server comprises:
the vehicle type database is internally stored with vehicle type information of vehicles;
and the vehicle model matching module is used for receiving the parameter information of the vehicle forwarded by the detection terminal and matching the parameter information of the vehicle with the data in the vehicle model database to determine the vehicle model.
Meanwhile, an embodiment of the present invention further provides a method for extracting OBD data by using the system for extracting OBD data based on vehicle type information as described in any one of the foregoing, where a flow of the method is shown in fig. 6, and the method includes:
the remote server receives the parameter information of the vehicle sent by the detection terminal;
the remote server is provided with a vehicle model database used for storing vehicle model information of vehicles, and the remote server matches the parameter information of the vehicles with the data in the vehicle model database to determine the vehicle models.
In the embodiment of the invention, the detection terminal sends the parameter information of the vehicle to the remote server, so that the remote server performs vehicle type matching through the parameter information of the vehicle. Specifically, the image of the vehicle running self, the image of the front oblique front 45 degrees of the vehicle head, the image of the tail of the vehicle and the display can be utilized by the detection terminal to display to the user interaction interface so that the user can select the images automatically.
Example 1: vehicle type matching by using image of vehicle running book by detection terminal
As shown in fig. 2, the detection terminal is provided with a driving license scanning module to shoot a driving license through a camera to obtain a vehicle driving license image and send the vehicle driving license image to a remote server; the driving license scanning module is used for displaying a preset virtual vehicle driving license image template on a display of the detection terminal, and extracting an image of the vehicle driving license through the camera when a user places the vehicle driving license in front of the camera and detects that the edge of the vehicle driving license is superposed with the edge of the preset virtual vehicle driving license image template; and sending the image to a remote server to enable the remote server to identify characters in the image of the vehicle license.
And the remote server identifies the vehicle type by identifying the vehicle VIN code or the engine number in the image of the vehicle running license.
The vehicle type database comprises a parameter item set and a vehicle type item set; each vehicle VIN code or engine number is stored in the parameter item set, and the vehicle type item set stores the vehicle brand, the vehicle system information and the vehicle type information corresponding to each vehicle VIN code or engine number;
the vehicle type matching module comprises a character recognition unit and a matching unit, wherein the character recognition unit is used for receiving an image of a vehicle running license received from a detection terminal and recognizing characters in the image of the vehicle running license to obtain a vehicle VIN code or an engine number; and the matching unit determines a corresponding vehicle VIN code or engine number from a parameter item set of the vehicle type database according to the identification result of the character identification unit, and determines a vehicle brand, a vehicle series and a vehicle type corresponding to the vehicle VIN code or the engine number from the vehicle type item set.
The specific method comprises the following steps:
displaying a preset virtualized vehicle driving license image template through a display of the detection terminal, and extracting a vehicle driving license image through the camera when a user places a vehicle driving license in front of the camera and detects that the edge of the vehicle driving license is superposed with the edge of the preset virtualized vehicle driving license image template;
sending the vehicle running license image to a remote server so that the remote server identifies characters in the image of the vehicle running license to acquire a vehicle VIN code or an engine number in the image of the vehicle running license, and searching the vehicle model database through the vehicle VIN code or the engine number to determine a vehicle model;
the vehicle type database comprises a parameter item set and a vehicle type item set; and the vehicle type item set stores vehicle brands, vehicle series information and vehicle type information corresponding to each vehicle VIN code or engine number.
Example 2: vehicle type matching is carried out by utilizing 45-degree image in front of vehicle head in inclined mode through detection terminal
As shown in fig. 3, the detection terminal is provided with a vehicle image extraction module to take an image of a vehicle head at an oblique front angle of 45 ° through a camera to obtain parameter information of the vehicle and send the parameter information to a remote server; the vehicle image extraction module is used for displaying a preset image template of a virtual vehicle head inclined forward 45 degrees on a display of the detection terminal, and extracting a vehicle image through a camera when a user aligns the camera with the vehicle and detects that the outer contour of the vehicle is overlapped with the outer contour edge of the preset virtual vehicle image template; and sending the extracted vehicle image of the image pair to the remote server for identification.
The vehicle type database comprises an image item set and a vehicle type item set; the image item set stores images of each vehicle type at an oblique front angle of 45 degrees, and the vehicle type item set stores vehicle brands, vehicle series information and vehicle type information corresponding to each pre-stored image;
the vehicle type matching module comprises an image recognition unit and a matching unit, wherein the image recognition unit is used for receiving a vehicle image received from a detection terminal and matching the vehicle image with an image prestored in the vehicle type database to obtain a matched prestored image in an image item set; and the matching unit determines the vehicle brand, the vehicle series and the vehicle type corresponding to the vehicle image from the vehicle type item set according to the image recognition result.
The specific method comprises the following steps:
displaying a preset 45-degree image template of the oblique front of the blurring head through a display of the detection terminal, and extracting a vehicle image through the camera when a user aligns the camera with the vehicle and detects that the outer contour of the vehicle is overlapped with the outer contour edge of the preset blurring vehicle image template; and sending the extracted vehicle images of the image pair to the remote server for identification;
the vehicle type database comprises an image item set and a vehicle type item set; the image item set stores images of each vehicle type at an oblique front angle of 45 degrees, and the vehicle type item set stores vehicle brands, vehicle series information and vehicle type information corresponding to each pre-stored image.
Example 3: vehicle model matching by using vehicle tail image through detection terminal
As shown in fig. 4, the detection terminal is provided with a vehicle tail image extraction module to capture an image of a vehicle tail through a camera to obtain a vehicle tail image and send the vehicle tail image to a remote server; the vehicle tail image extraction module is used for displaying a preset virtual vehicle tail front image template on a display of the detection terminal, and extracting a vehicle image through a camera when a user aligns the camera with the vehicle and detects that the outer contour of the vehicle is overlapped with the outer contour edge of the preset virtual vehicle tail front image template; and sending the extracted vehicle image of the image pair to the remote server for identification.
The vehicle type database comprises an image item set and a vehicle type item set; the image item set stores a vehicle tail front image of each vehicle type, and the vehicle type item set stores a vehicle brand, vehicle series information and vehicle type information corresponding to each pre-stored image;
the vehicle type matching module comprises an image recognition unit and a matching unit, wherein the image recognition unit is used for receiving a vehicle image received from a detection terminal and matching the vehicle image with an image prestored in the vehicle type database to obtain a matched prestored image in an image item set; and the matching unit determines the vehicle brand, the vehicle series and the vehicle type corresponding to the vehicle image from the vehicle type item set according to the image recognition result.
Wherein the method comprises the following steps:
displaying a preset vehicle tail image template through a display of a detection terminal, and extracting a vehicle image through a camera when a user aligns the camera with a vehicle and detects that the outer contour of the vehicle is coincident with the outer contour edge of the preset virtual vehicle image template; and sending the extracted vehicle images of the image pair to the remote server for identification;
the vehicle type database comprises an image item set and a vehicle type item set; the image item set is internally stored with a vehicle tail image of each vehicle type, and the vehicle type item set is stored with a vehicle brand, vehicle series information and vehicle type information corresponding to each pre-stored image.
Example 4: utilizing the detection terminal to display an interactive interface so that a user can perform vehicle type matching in a vehicle type database by himself
As shown in fig. 5, the detection terminal is provided with an interaction module to obtain a vehicle model database from the remote server, and the vehicle model database is obtained from the remote server through the interaction module of the detection terminal, and is displayed to the user through the display in the form of an interaction interface, so that the user can select a vehicle brand, a vehicle series, and a vehicle model through the interaction interface.
Wherein, the vehicle model database of the remote server comprises: the vehicle-mounted display system comprises a first item set, a second item set and a third item set, wherein the first item information set is used for storing vehicle brand information, the second item information set is used for storing train information included by each vehicle brand, and the third item information set is used for storing vehicle type information included by each train; each vehicle brand in the first item information set corresponds to one second item information set respectively so as to store a vehicle series included by the vehicle brand, and each vehicle series in the second item information set corresponds to one third item information set respectively so as to store a vehicle type included by the vehicle series.
Wherein the method comprises the following steps:
the method comprises the steps that a vehicle type database is obtained from a remote server through an interactive module of a detection terminal, and is displayed to a user through a display in the form of an interactive interface, so that the user can select a vehicle brand, a vehicle series and a vehicle type through the interactive interface;
the vehicle model database of the remote server comprises: the vehicle-mounted display system comprises a first item set, a second item set and a third item set, wherein the first item information set is used for storing vehicle brand information, the second item information set is used for storing train information included by each vehicle brand, and the third item information set is used for storing vehicle type information included by each train; each vehicle brand in the first item information set corresponds to one second item information set respectively so as to store a vehicle series included by the vehicle brand, and each vehicle series in the second item information set corresponds to one third item information set respectively so as to store a vehicle type included by the vehicle series; wherein each vehicle brand, vehicle series and vehicle type is provided with a unique code;
the vehicle type matching module comprises a data receiving unit and a matching unit, the data receiving unit receives codes returned by the detection terminal, and the matching unit determines the brand, the train system and the vehicle type of the vehicle in the vehicle type database according to the codes returned by the detection terminal.
The specific method comprises the following steps:
the method comprises the steps that a vehicle type database is obtained from a remote server through an interactive module of a detection terminal, and is displayed to a user through a display in the form of an interactive interface, so that the user can select a vehicle brand, a vehicle series and a vehicle type through the interactive interface; the remote server performs matching from the vehicle model database according to the interaction information returned by the detection terminal to determine the vehicle model;
wherein the vehicle model database of the remote server comprises: the vehicle-mounted display system comprises a first item set, a second item set and a third item set, wherein the first item information set is used for storing vehicle brand information, the second item information set is used for storing train information included by each vehicle brand, and the third item information set is used for storing vehicle type information included by each train; each vehicle brand in the first item information set corresponds to one second item information set respectively so as to store a vehicle series included by the vehicle brand, and each vehicle series in the second item information set corresponds to one third item information set respectively so as to store a vehicle type included by the vehicle series.
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.