The content of the invention
The embodiment of the present invention provides a kind of vehicle-mounted data processing method and server, and it is difficult to the investigation of target vehicle to reduce
Degree, and then improve investigation efficiency.
First aspect of the embodiment of the present invention provides a kind of vehicle-mounted data processing method, and this method includes:
Obtain the search instruction for carrying vehicle search information;
The vehicle search information is extracted, and searches whether exist and the vehicle search information phase in first database
Matched run time diagnostic message;
If in the presence of, using the run time diagnostic message as targeted diagnostics information, and it is true according to the targeted diagnostics information
It is fixed with the corresponding target vehicle of described search instruction, and the image in the target vehicle upload target vehicle is controlled to believe
Breath, and according to described image information locking target object.
Wherein, the vehicle search information includes target position data and object time data;
It is if described in the presence of using the run time diagnostic message as targeted diagnostics information, and according to targeted diagnostics letter
Breath determine with the corresponding target vehicle of described search instruction, and control the image in the target vehicle upload target vehicle
Information, and according to described image information locking target object, including:
If in the presence of multiple operations with target position data and object time data match in the vehicle search information
Diagnostic message then obtains information of vehicles corresponding with each run time diagnostic message, and generates corresponding respectively with each information of vehicles
Alarm command;
If in default alarm duration, alarm response corresponding with the alarm command is not received, then will not send institute
The run time diagnostic message of the information of vehicles of alarm response is stated as targeted diagnostics information;
According to the targeted diagnostics information determine with the corresponding target vehicle of described search instruction, and control the target carriage
Diagnostic device on gathers and uploads the image information in the target vehicle, and according to the face carried in described image information
Contouring feature lock onto target object.
Wherein, the vehicle search information includes target vehicle data, target position data and object time data;
It is if described in the presence of using the run time diagnostic message as targeted diagnostics information, and according to targeted diagnostics letter
Breath determine with the corresponding target vehicle of described search instruction, and control the image in the target vehicle upload target vehicle
Information, and according to described image information locking target object, including:
If in the presence of with target vehicle data, target position data and the object time data phase in the vehicle search information
Matched run time diagnostic message, then using the run time diagnostic message as targeted diagnostics information;
By the vehicle for carrying same target vehicle data be determined as with the corresponding target vehicle of described search instruction, and control
Diagnostic device on the target vehicle gathers and uploads the image information in the target vehicle, and according to described image information
The face contour feature lock onto target object of middle carrying.
Optionally, the method further includes:
If there is no the run time diagnostic message with the vehicle search information match, searched in the second database with
The historical diagnostic information of the vehicle search information match;
If the historical diagnostic information with the vehicle search information match is found, according to the historical diagnostic information
It determines the history wheelpath with the corresponding target vehicle of described search instruction, and target is obtained in the history wheelpath
The final position information of vehicle, and the final position information is sent to user terminal associated with the target vehicle.
Optionally, before the search instruction for obtaining carrying vehicle search information, further include:
Obtain the diagnostic data bag that all vehicles report respectively, and each diagnostic data bag parsed respectively, obtain with
The corresponding diagnostic message of each vehicle;
Judge whether all vehicles are in operating status according to each diagnostic message;
If all vehicles are in operating status, the diagnostic message of each vehicle is respectively stored in first database, is made
For run time diagnostic message;
If all vehicles are not in operating status, the diagnostic message of at least one vehicle in operating status is deposited
Storage is deposited to first database as run time diagnostic message, and by the remaining diagnostic message in all vehicles for treating operating status
Storage is to the second database, as historical diagnostic information.
Second aspect of the embodiment of the present invention provides a kind of server, including:
Instruction acquisition module, for obtaining the search instruction for carrying vehicle search information;
First searching module, for extracting the vehicle search information, and search whether in first database to exist with
The run time diagnostic message of the vehicle search information match;
Target lock-on module, if in the presence of using the run time diagnostic message as targeted diagnostics information, and according to institute
State targeted diagnostics information determine with the corresponding target vehicle of described search instruction, and the target vehicle is controlled to upload the target
Image information in vehicle, and according to described image information locking target object.
Wherein, the vehicle search information includes target position data and object time data;
The target lock-on module includes:
Alarm command generation unit, if in the presence of with target position data and object time in the vehicle search information
Multiple run time diagnostic message of data match then obtain information of vehicles corresponding with each run time diagnostic message, and generate
Alarm command corresponding with each information of vehicles;
First determination unit, if in default alarm duration, not receiving alarm corresponding with the alarm command
Response will then not send the run time diagnostic message of information of vehicles of the alarm response as targeted diagnostics information;
First lock cell, for being determined and the corresponding target carriage of described search instruction according to the targeted diagnostics information
, and the diagnostic device on the target vehicle is controlled to gather and uploads the image information in the target vehicle, and according to institute
State the face contour feature lock onto target object carried in image information.
Wherein, the vehicle search information includes target vehicle data, target position data and object time data;
The target lock-on module includes:
Second determination unit, if in the presence of with target vehicle data, the target location number in the vehicle search information
According to the run time diagnostic message with object time data match, then using the run time diagnostic message as targeted diagnostics information;
Second lock cell, it is corresponding with described search instruction for being determined as the vehicle for carrying same target vehicle data
Target vehicle, and the diagnostic device on the target vehicle is controlled to gather and uploads the image information in the target vehicle,
And according to the face contour feature lock onto target object carried in described image information.
Optionally, the server further includes:
Second searching module, if for there is no the run time diagnostic message with the vehicle search information match,
The historical diagnostic information with the vehicle search information match is searched in second database;
Track determining module, if for finding the historical diagnostic information with the vehicle search information match, root
The history wheelpath with the corresponding target vehicle of described search instruction is determined according to the historical diagnostic information, and in the history
The final position information of target vehicle is obtained in wheelpath, and the final position information is sent to and the target vehicle
Associated user terminal.
Optionally, the server further includes:
Data packet acquisition module, for obtaining the diagnostic data bag that all vehicles report respectively, and to each diagnostic data bag
It is parsed respectively, obtains diagnostic message corresponding with each vehicle;
Judgment module, for judging whether all vehicles are in operating status according to each diagnostic message;
If being in operating status for all vehicles, the diagnostic message of each vehicle is deposited respectively for first memory module
Storage is in first database, as run time diagnostic message;
If not being in operating status for all vehicles, operating status is in by least one for second memory module
The diagnostic message of vehicle store to first database, as run time diagnostic message, and by remaining in the institute for treating operating status
The diagnostic message for having vehicle is stored to the second database, as historical diagnostic information.
The third aspect of the embodiment of the present invention provides a kind of server, which includes:Processor, memory and network
Interface;
The processor is connected respectively with network interface, memory, wherein, the network interface is used to provide network communication
Function, the memory is for storing program code, and the processor is for calling said program code, to perform such as the present invention
Method in embodiment first aspect.
Four aspect of the embodiment of the present invention provides a kind of computer storage media, and the computer storage media is stored with meter
Calculation machine program, the computer program include program instruction, and such as this hair is performed when the processor performs described program instruction
Method in bright embodiment first aspect.
The embodiment of the present invention carries the search instruction of vehicle search information by obtaining;The vehicle search information is extracted,
And the run time diagnostic message for having with the vehicle search information match is searched whether in first database;If in the presence of,
Using the run time diagnostic message as targeted diagnostics information, and determined and described search instruction pair according to the targeted diagnostics information
The target vehicle answered, and the target vehicle is controlled to upload the image information in the target vehicle, and believed according to described image
Cease lock onto target object.It can be seen that after search instruction is received, can be searched in first database and the vehicle search
The run time diagnostic message of information match, and using the run time diagnostic message found as targeted diagnostics information, wherein, the fortune
Row diagnostic message is in operating status for describing current goal vehicle, so as to reduce the investigation difficulty to target vehicle,
And then shorten the time of lock onto target vehicle, in addition, the present invention also further can upload the target vehicle by control targe vehicle
Interior image information, in order to further lock onto target object, to improve investigation efficiency.
Term " comprising " and " having " in description and claims of this specification and above-mentioned attached drawing and they appoint
What is deformed, it is intended that covers non-exclusive include.Such as contain the process of series of steps or unit, method, system, production
The step of product or equipment are not limited to list or unit, but optionally further include the step of not listing or unit or
It optionally further includes for other intrinsic steps of these processes, method, product or equipment or unit.
It is described in detail individually below.
Fig. 1 is referred to, is a kind of structure diagram of network architecture provided in an embodiment of the present invention.It is as shown in Figure 1, described
The network architecture can include service terminal 2000 and car-mounted terminal cluster;The car-mounted terminal cluster can include multiple vehicle-mounted
Terminal, as shown in Figure 1, specifically include car-mounted terminal 3000a, car-mounted terminal 3000b ..., car-mounted terminal 3000n;
The car-mounted terminal 3000a, car-mounted terminal 3000b ..., car-mounted terminal 3000n can respectively with it is described service eventually
End 2000 carries out network connection.Wherein, have each car-mounted terminal of network connection relation can be with the service terminal 2000
Including positioning device and diagnostic device), the travelling data that is reported in order to each diagnostic device of real-time reception (i.e. diagnostic message,
The diagnostic message can include being currently at the run time diagnostic message of the vehicle of operating status and in the vehicle for treating operating status
Historical diagnostic information) and the location information that is uploaded of each positioning device.Wherein, positioning device can be GPS (Global
Positioning System, global positioning system) positioning device, and the positioning device and diagnostic device can be depended on permanently
Or in the car-mounted terminal on each vehicle.
As shown in Figure 1, the service terminal 2000 is examined available for the corresponding operation of all current operation vehicles is stored
Disconnected information, i.e., described service terminal 2000 can in preset duration (for example, in 1 day) by all vehicles in operating status
Diagnostic message is stored in first database, and believes each diagnostic message being stored in the first database as operational diagnostics
Breath.At the same time, in the preset duration, if detecting the presence of the diagnostic message of at least one vehicle in operating status,
And also there is the diagnostic message in the vehicle for treating operating status, then the service terminal 2000 will can respectively be in operating status
The diagnostic message of vehicle is stored to first database, and all of operating status are treated as run time diagnostic message, and by remaining be in
The diagnostic message of vehicle is stored to the second database, as historical diagnostic information, is referred in order to follow-up according to the search received
Order quickly searches the diagnostic message with search information match, so as to fast lock in first database and/or the second database
Set the goal vehicle.
For example, store the diagnostic data bag (this 4 that 4 car-mounted terminals report respectively in the service terminal 2000
Car-mounted terminal can be car-mounted terminal 3000a shown in FIG. 1, car-mounted terminal 3000b, car-mounted terminal 3000c and car-mounted terminal
3000d), therefore, which can parse this 4 data packets, right respectively with this 4 car-mounted terminals to obtain
The diagnostic message for the vehicle answered, and then the fortune of this corresponding vehicle of 4 car-mounted terminals can be judged according to these diagnostic messages
Row state.For example, car-mounted terminal 3000a, car-mounted terminal 3000b corresponding vehicle A and vehicle B are currently in operation shape
State, the diagnostic message that the service terminal 2000 can be reported the two car-mounted terminals are stored to first database, and
The diagnostic message (for example, GPS position information) of the two car-mounted terminals is constantly updated in one database.At the same time, the clothes
Business terminal 2000 can will also be currently at the vehicle C for treating operating status and vehicle D, and (diagnostic device on vehicle C is car-mounted terminal
Diagnostic device on 3000c, vehicle D is car-mounted terminal 3000d) diagnostic message store to the second database.Then, service is worked as
When terminal 2000 receives search instruction, it can be instructed according to described search and be searched in first database and/or the second database
With the diagnostic message of search information match entrained in the search instruction, corresponded to so as to further lock the diagnostic message
Target vehicle (for example, target vehicle is vehicle A corresponding to car-mounted terminal 3000a).
Wherein, the service terminal 2000 determine the detailed process of target vehicle and lock onto target object may refer to as
The corresponding embodiment of lower Fig. 2 to Fig. 3.
Further, Fig. 2 is referred to, is a kind of flow signal of vehicle-mounted data processing method provided in an embodiment of the present invention
Figure.As shown in Fig. 2, the method includes at least:
Step S101 obtains the search instruction for carrying vehicle search information.
Specifically, server can receive the search instruction of user terminal transmission, vehicle search is carried in described search instruction
Information.The vehicle search information can be that target position data and object time data (hold the user of the user's terminal
The crime time inputted and crime position), optionally, the vehicle search information can also be target vehicle data, target
Position data and object time data (information of vehicles i.e. relevant with crime vehicle, crime time, crime position).
At this point, the user can be the police with legitimate searches permission, therefore, in the user's terminal to described
Before server sends the search instruction, the user's terminal can verify whether possess search using the user of the user's terminal in advance
Permission (for example, the user's terminal can verify the legitimacy of the user of currently used the user's terminal by modes such as voiceprints,
To ensure the privacy of corresponding information in police system), and after being verified, further establish between the server
Data connection relation, and the vehicle search information that the user is inputted on the search interface in the police system can be received
(for example, target position data and object time data when case occurs), and search instruction is generated according to described search information,
And then can described search instruction be sent to by the server by the data connection relation established between the server.
Wherein, the server can be the service terminal 2000 in embodiment corresponding to above-mentioned Fig. 1;Therefore, the clothes
Being engaged in device can also be further according to the further execution step S102- steps S103 of described search instruction.
Step S102 extracts the vehicle search information, and searches whether exist and the vehicle in first database
Search for the run time diagnostic message of information match.
Specifically, the server can be further extracted after above-mentioned steps S101 has been performed in described search instruction
The entrained vehicle search information, and preferentially search whether exist and the vehicle search information phase in first database
Matched run time diagnostic message, to obtain corresponding lookup result.Wherein, the first database is used to store all current fortune
Driving corresponding run time diagnostic message.Therefore, if the server determines exist and the vehicle in the lookup result
The run time diagnostic message of information match is searched for, then can further perform step S103, i.e., described server can further basis
Lookup result determines target vehicle, and the target vehicle is currently in operating status.Optionally, if not deposited in the lookup result
In the run time diagnostic message with the vehicle search information match, then step S104 can be further performed, i.e., in the second data
Continue to search for the historical diagnostic information of the vehicle search information match in storehouse, and there are vehicle search letters finding
During the matched historical diagnostic information of manner of breathing, the history wheelpath of target vehicle is further determined that, at this point, the target vehicle is current
It is in and treats operating status.
Wherein, the database of the server can include first database and the second database, and first data
The Query priority in storehouse is higher than the Query priority of second database, in this way, whole by user receiving police
When holding the search instruction sent, can preferentially it be determined and the vehicle to match of the vehicle search information according to the search instruction
Operating status, in order to quickly and efficiently lock corresponding target vehicle in corresponding database.
Wherein, second database is used to store the historical diagnostic information of all drivings to be shipped, the historical diagnostic
Information can include history wheelpath that GPS positioning device is uploaded (for example, can include in the history wheelpath and case
Send out time corresponding crime position and the multiple location informations passed through after the crime time), in addition, the historical diagnostic is believed
Breath can also include the history information of vehicles (for example, the information such as history speed, history running time) that diagnostic device is reported.
Wherein, the GPS positioning device and the diagnostic device are integrated in or are fixedly mounted on the vehicle-mounted end of each vehicle
In end, the car-mounted terminal can be the car-mounted terminal (for example, car-mounted terminal 3000a) in embodiment corresponding to above-mentioned Fig. 1.
Wherein, the car-mounted terminal can include host computer and slave computer;The host computer and the slave computer can lead to
Wireless network connection mode is crossed (for example, bluetooth, Wireless LAN (Wireless Local Area Networks, Wlan)
Etc. connection modes) be attached.
Wherein, the host computer can be used for providing corresponding function selection interface (for example, driver can be for driver
Performed on the host computer tested the speed to current vehicle, the feature operations such as fault detect), can be also used for receiving slave computer and passed
The diagnostic data bag of defeated next carrying diagnostic message, and the diagnostic data is wrapped and reaches the server, in addition, this is upper
Machine can be additionally used in the camera that control is connected with slave computer and gather and show the (ratio of the traffic information in current vehicle driving procedure
Such as, the image information collected when parking).
Wherein, the host computer can be the terminal device with function selection interface and camera function.
Wherein, the slave computer can be diagnostic device, for obtaining the diagnostic instruction that the host computer is sent, and according to
Corresponding data message (for example, reading data flow, read failure code etc.) is read in the diagnostic instruction from vehicle-mounted computer, and will
Then the location information of current vehicle and the diagnostic message are packaged, life by the data message as diagnostic message
The host computer is returned into corresponding diagnostic data bag, and by the diagnostic data bag, so that the host computer is examined described
Disconnected data packet is uploaded to the server.
Step S103, if in the presence of using the run time diagnostic message as targeted diagnostics information, and being examined according to the target
Disconnected information determine with the corresponding target vehicle of described search instruction, and the target vehicle is controlled to upload in the target vehicle
Image information, and according to described image information locking target object.
Specifically, the server can in the first database is detected exist in the vehicle search information
During multiple run time diagnostic message of target position data and object time data match, further obtain and believe with each operational diagnostics
Corresponding information of vehicles is ceased (for example, the vehicle identification code (Vehicle of license board information and/or vehicle
Identification Number, VIN) information), and generate alarm command corresponding with each information of vehicles;If default
It alerts in duration, does not receive alarm response corresponding with the alarm command, then will not send the vehicle of the alarm response
The run time diagnostic message of information determines and described search instruction pair as targeted diagnostics information, and according to the targeted diagnostics information
The target vehicle answered, and the diagnostic device on the target vehicle is controlled to gather and uploads the letter of the image in the target vehicle
Breath, and according to the face contour feature lock onto target object carried in described image information.
Wherein, VIN codes information often has unique identification, it is made of 17 characters, so can also be referred to as
17 codes.It contains manufacturer, age, vehicle, body model and the code, engine code and assembling place of vehicle
Etc. information.Therefore, it can uniquely determine the vehicle characteristics of the target vehicle (for example, the target vehicle by the VIN codes information
Body model etc.), so as to lock suspected vehicles.
For example, to find 3 run time diagnostic message with the vehicle search information match in first database
Exemplified by, wherein, the vehicle search information includes target position data and object time data, and the target position data is
Crime position A, when the object time data (i.e. crime time) are about 9: 30 minutes, i.e. 1 at night
There are three vehicle travelings by crime position A (for example, vehicle X once crossed the crime position set by public security department in 9: 29 timesharing
A is put, vehicle Y once crossed the crime position A set by public security department in 9: 30 timesharing, and vehicle Z was once excessively public in 9: 31 timesharing
Crime position A set by peace department).At this point, the server can be by this three vehicles (vehicle X, vehicle Y and vehicle Z) conduct
Case-involving suspect vehicle, and obtain this three vehicles information of vehicles (for example, the license plate number of vehicle X be aabb, the car plate of vehicle Y
Number for aacc, the license plate number of vehicle Z is bbcc).As it can be seen that the server only need to be according to the vehicle search information in the first number
According to being searched in storehouse, the diagnostic message without being uploaded to all vehicles is searched, so as to reduce to target carriage
Investigation difficulty.Then, the server can further generate alarm corresponding with the information of vehicles of this three vehicles and refer to
Order, and the alarm command is issued to this three vehicles respectively.I.e. described server can issue the alarm command for carrying aabb
Vehicle X is given, the alarm command for carrying aacc is handed down to vehicle Y, the alarm command for carrying bbcc is handed down to vehicle Z.With
Afterwards, the server can detect whether to receive the announcement that this 3 vehicles are returned in default alarm duration (for example, 2 minutes)
Alert response.If in this three vehicles, vehicle X and the vehicle Y-direction server return corresponding alarm response, and vehicle Z is not
Corresponding alarm response is returned to the server, then the server can be further using the run time diagnostic message of vehicle Z as mesh
Diagnostic message is marked, and a vehicle Z is determined as case-involving target vehicle, it, can be into since vehicle Z is currently in operating status
One step controls the diagnostic device on the target vehicle to gather and uploads the image information in the target vehicle (for example, can be with
The camera switching exposal model being connected with the diagnostic device is controlled, to gather the image information in vehicle Z), and according to
The face contour feature lock onto target object carried in described image information, so as to improve investigation efficiency.
Optionally, if vehicle search information includes target vehicle data, target position data and object time data, institute
State server can in first database by with target vehicle data, target position data and the mesh in the vehicle search information
The run time diagnostic message that mark time data matches, as targeted diagnostics information, and the vehicle that same target vehicle data will be carried
Be determined as with the corresponding target vehicle of described search instruction, and the diagnostic device on the target vehicle is controlled to gather and upload
Image information in the target vehicle, and according to the face contour feature lock onto target object carried in described image information.
For example, the server can directly by with the target vehicle data (for example, VIN codes information of current vehicle) phase
Matched diagnostic message is as targeted diagnostics information, and directly by the corresponding vehicle of targeted diagnostics information (for example, VIN information
For the vehicle D of ddcce) as target vehicle, to reduce investigation scope, so as to reduce the investigation difficulty to target vehicle.This
Outside, since vehicle D is currently in operating status, the diagnostic device on the target vehicle can further be controlled to gather simultaneously
The image information in the target vehicle is uploaded (for example, the camera being connected with diagnostic device switching can be controlled to take pictures
Pattern, to gather the image information in vehicle D), and mesh is locked according to the face contour feature carried in described image information
Object is marked, quickly and efficiently to improve investigation efficiency.
Optionally, the server is after execution of step S102, however, it is determined that is not present and institute in first database
The run time diagnostic message of vehicle search information match is stated, step S104 can be also further performed, i.e., be looked into the second database
The historical diagnostic information with the vehicle search information match is looked for, and is determined according to the historical diagnostic information and described search
The history wheelpath of corresponding target vehicle is instructed, and the final position of target vehicle is obtained in the history wheelpath
Information, and the final position information is sent to user terminal associated with the target vehicle.
For example, when the server determines to be not present with the vehicle search information (for example, target in first database
It is described when position data is crime position A and object time data are 30) run time diagnostic message that 9 points of crime time matches
Server can further determine that case-involving vehicle is currently in and treat operating status (for example, dead ship condition), then, the server
It can continue to search the historical diagnostic information with the vehicle search information match in the second database, if searching with the vehicle
The historical diagnostic information of rope information match is the historical diagnostic information of multiple vehicles, i.e., has at crime time 9: 30 multiple
Vehicle (for example, vehicle L and vehicle K) is driving through crime position A, at this point, the server can using vehicle L and vehicle K as
Case-involving vehicle, and the history wheelpath of the two case-involving vehicles is further obtained, and obtained in the history wheelpath
The two case-involving vehicles final position information (for example, the final position information of vehicle L be position L ', the final position of vehicle K
Information be position K '), and by the final position information be sent to user terminal associated with the target vehicle (for example,
The investigation terminal that police are currently held), in order to which police can recover stolen mesh according to the two location informations
Vehicle is marked, for example, stolen vehicle is vehicle L.I.e. in this way, the search range to target vehicle can be reduced, so as to
Reduce search difficulty.
As it can be seen that by the way that the diagnostic message of each vehicle is carried out classification storage, (vehicle that will be under operating status is examined
Disconnected information is stored to first database, will be stored in the diagnostic message for treating the vehicle under operating status to the second database), it can
Effectively to reduce the search time to target vehicle, in addition, for the target vehicle being under operating status, pass through
Obtain image information in the target vehicle can also effective lock onto target object, to improve investigation efficiency.
This implementation embodiment of the present invention carries the search instruction of vehicle search information by obtaining;Extract the vehicle search
Information, and searched whether in first database in the presence of the run time diagnostic message with the vehicle search information match;If it deposits
Then using the run time diagnostic message as targeted diagnostics information, and determined according to the targeted diagnostics information and described search
Corresponding target vehicle is instructed, and the target vehicle is controlled to upload the image information in the target vehicle, and according to described
Image information lock onto target object.It can be seen that after search instruction is received, can be searched in first database and the vehicle
The run time diagnostic message of search information match, and using the run time diagnostic message found as targeted diagnostics information, wherein,
The run time diagnostic message is in operating status for describing current goal vehicle, so as to reduce the investigation to target vehicle
Difficulty, and then shorten the time of lock onto target vehicle, in addition, the present invention also further can upload the target by control targe vehicle
Image information in vehicle, in order to further lock onto target object, to improve investigation efficiency.
Further, Fig. 3 is referred to, is that the flow of another vehicle-mounted data processing method provided in an embodiment of the present invention is shown
It is intended to.As shown in figure 3, the method may include:
Step S201 obtains the diagnostic data bag that all vehicles report respectively, and each diagnostic data bag is solved respectively
Analysis, obtains diagnostic message corresponding with each vehicle;
Specifically, the server can obtain all diagnostic datas reported with its vehicle with data connection relation
Bag;The diagnostic message of these vehicles is carried in the diagnostic data bag.Therefore, the server can to these diagnostic data bags into
Row dissection process, to obtain diagnostic message corresponding with each vehicle.
Wherein, the server can be the service terminal 2000 in embodiment corresponding to above-mentioned Fig. 1, therefore, the service
Device can be used for receiving the diagnostic data bag that the car-mounted terminal in each vehicle in embodiment corresponding to above-mentioned Fig. 1 is uploaded, and respectively examine
The diagnostic message of the vehicle accessed by diagnostic device is carried in disconnected data packet, GPS positioning device can also be carried and gathered,
And formed the current driving track of each vehicle or history wheelpath.
Wherein, the current driving track is the rail that is formed of each position information for the vehicle being under operating status
Mark;The history wheelpath can be to be in the track for treating that each position information of the vehicle under operating status is formed, this
Outside, treat operating status when vehicle is switched to by operating status, and in default switching duration when small (for example, 4), be constantly in
It, can be using each position information in its current driving track as every confidence in history wheelpath when operating status
Breath.
Wherein, the current driving track and the history wheelpath comprising target position data and can be removed simultaneously
Other positions information outside the target position data.
Wherein, the diagnostic message can be the run time diagnostic message of all vehicles when being in operating status, optional
, the diagnostic message can also be to be in the historical diagnostic information of all vehicles when operating status.
For example, as shown in Figure 1, the server 2000 can simultaneously with car-mounted terminal 3000a, car-mounted terminal 3000b ...,
Car-mounted terminal 3000n is connected, to receive the diagnostic data bag that the car-mounted terminal on each vehicle reports respectively.Wherein, car-mounted terminal
3000a, car-mounted terminal 3000b ..., car-mounted terminal 3000k (wherein, k can be positive integer less than or equal to n) for it is current just
The equipment on all vehicles under operating status, car-mounted terminal 3000 (k+1), car-mounted terminal 3000 (k+2) ... are vehicle-mounted
Terminal 3000n is currently to be in the equipment treated on all vehicles under operating status (for example, dead ship condition).
Step S202 judges whether all vehicles are in operating status according to each diagnostic message;
Specifically, whether the server can be constantly in update shape by the location information detected in each diagnostic message
State judges operating status that each vehicle is presently in, if locating with all vehicles that the server has network connection relation
In operating status, i.e., when each position information is constantly in update, step S203 can be further performed, it otherwise, then can be further
Perform step S204.
The diagnostic message of each vehicle if all vehicles are in operating status, is respectively stored in first by step S203
Database, as run time diagnostic message;
Specifically, the server can be after execution of step S202, by all vehicles under operating status
Diagnostic message be respectively stored in first database as run time diagnostic message, and by each run time diagnostic message, in order into one
Step performs step S205, to receive the search instruction that user terminal is uploaded.
Optionally, step S204, if all vehicles are not in operating status, by least one in operating status
The diagnostic message of vehicle is stored to first database, and all of operating status are treated as run time diagnostic message, and by remaining be in
The diagnostic message of vehicle is stored to the second database, as historical diagnostic information.
Specifically, the server can exist if detecting i.e. in operating status after execution of step S202
Under vehicle, there is also in the vehicle treated under operating status (i.e. dead ship condition), then can will be located according to above-mentioned steps S203
The diagnostic message of each vehicle under operating status is stored to first database as run time diagnostic message, and synchronously by residue
Diagnostic message in each vehicle treated under operating status is stored in the second database as historical diagnostic information, in order into
One step performs step S205, to receive the search instruction that user terminal is uploaded.
Of course it is to be understood that if all vehicles are in treating operating status, the server can be directly by each vehicle
Diagnostic message is respectively stored in the second database, as historical diagnostic information, in order to further perform step S205.
Step S205 obtains the search instruction for carrying vehicle search information;
Step S206 extracts the vehicle search information, and searches whether exist and the vehicle in first database
Search for the run time diagnostic message of information match;
Specifically, the server can be further extracted after above-mentioned steps S205 has been performed in described search instruction
The entrained vehicle search information, and preferentially search whether exist and the vehicle search information phase in first database
Matched run time diagnostic message, to obtain corresponding lookup result.If exist and the vehicle search information in the lookup result
The run time diagnostic message to match, then can further perform step S207, i.e., described server can be further according to lookup result
Determine target vehicle, and the target vehicle is currently in operating status.Optionally, if the server is determined in the lookup knot
There is no the run time diagnostic message with the vehicle search information match in fruit, then step S208 can be further performed, that is, is existed
Continue to search for the historical diagnostic information of the vehicle search information match in second database, and there are the vehicles finding
During the historical diagnostic information of search information match, the history wheelpath of target vehicle is further determined that, at this point, the target
Vehicle is currently in and treats operating status.
Wherein, the specific implementation of the step S206 can be found in embodiment corresponding to above-mentioned Fig. 2 to step S102
Description, will not continue to repeat here.
If in the presence of the run time diagnostic message with the vehicle search information match, the operation is examined by step S207
Disconnected information determines and the corresponding target carriage of described search instruction as targeted diagnostics information, and according to the targeted diagnostics information
, and the target vehicle is controlled to upload the image information in the target vehicle, and according to described image information locking target
Object.
Wherein, the step S207 body realization methods, which can be found in embodiment corresponding to above-mentioned Fig. 2, retouches step S103
It states, will not continue to repeat here.
Optionally, step S208, if there is no the run time diagnostic message with the vehicle search information match,
The historical diagnostic information with the vehicle search information match is searched in two databases;
Wherein, second database is used to store the historical diagnostic information of all drivings to be shipped;
Step S209 if finding the historical diagnostic information with the vehicle search information match, is gone through according to
History diagnostic message determines the history wheelpath with the corresponding target vehicle of described search instruction, and in the history wheelpath
It is middle to obtain the final position information of target vehicle, and the final position information is sent to associated with the target vehicle
User terminal.
For example, when the server determines to be not present with the vehicle search information (for example, target in first database
Position data is crime position B and object time data are 7 points of run time diagnostic message 20) to match of crime time, therefore, institute
It states server and can further determine that case-involving vehicle is currently in and treat operating status, can then be searched in the second database and institute
The historical diagnostic information of vehicle search information match is stated, if being with the historical diagnostic information of the vehicle search information match
The historical diagnostic information of multiple vehicles has multiple vehicles (to lead to for example, vehicle m and vehicle n) drives at crime time 7: 20
Crime position B is crossed, at this point, the server can be using vehicle m and vehicle n as case-involving vehicle, and the two is further obtained and relates to
The history wheelpath of case vehicle, and the final position information of target vehicle is obtained (for example, vehicle in the history wheelpath
The final position information of m is position K, and the final position information of vehicle n is position F), and the final position information is sent
The associated user terminal of the target vehicle (for example, the current all investigation terminals of police) is given, in order to police
Business personnel can recover stolen target vehicle according to the two location informations, for example, stolen vehicle is vehicle m.I.e. using this
Mode can reduce the search range to target vehicle, so as to reduce search difficulty.
Optionally, the server can also further pass through the target vehicle after above-mentioned steps S207 has been performed
On positioning device (GPS positioning device i.e. on target vehicle) obtain the present bit confidence of the target vehicle in real time
Breath, and real-time tracking is carried out to the target vehicle according to the current location information, with the driving current to the target vehicle
Track carries out real-time update.
This implementation embodiment of the present invention carries the search instruction of vehicle search information by obtaining;Extract the vehicle search
Information, and searched whether in first database in the presence of the run time diagnostic message with the vehicle search information match;If it deposits
Then using the run time diagnostic message as targeted diagnostics information, and determined according to the targeted diagnostics information and described search
Corresponding target vehicle is instructed, and the target vehicle is controlled to upload the image information in the target vehicle, and according to described
Image information lock onto target object.It can be seen that after search instruction is received, can be searched in first database and the vehicle
The run time diagnostic message of search information match, and using the run time diagnostic message found as targeted diagnostics information, wherein,
The run time diagnostic message is in operating status for describing current goal vehicle, so as to reduce the investigation to target vehicle
Difficulty, and then shorten the time of lock onto target vehicle, in addition, the present invention also further can upload the target by control targe vehicle
Image information in vehicle, in order to further lock onto target object, to improve investigation efficiency.
Further, Fig. 4 is referred to, is a kind of structure diagram of server provided in an embodiment of the present invention, such as Fig. 4 institutes
Show, the server 1 can be the service terminal 2000 in embodiment corresponding to above-mentioned Fig. 1.The server 1 can include:
Instruction acquisition module 10, the first searching module 20 and target lock-on module 30;Optionally, the server 1 can also include:The
Two searching modules 40, track determining module 50, data packet acquisition module 60, judgment module 70, the first memory module 80, second deposits
Store up module 90 and position acquisition module 100;
Described instruction acquisition module 10, for obtaining the search instruction for carrying vehicle search information;
First searching module 20, for extracting the vehicle search information entrained in described search instruction, and
The run time diagnostic message for having with the vehicle search information match is searched whether in first database;First data
Storehouse is used to store the corresponding run time diagnostic message of all current operation vehicles;
The target lock-on module 30, if in the presence of, using the run time diagnostic message as targeted diagnostics information, and
According to the targeted diagnostics information determine with the corresponding target vehicle of described search instruction, and the target vehicle is controlled to upload institute
The image information in target vehicle is stated, and according to described image information locking target object.
Wherein, the specific implementation of described instruction acquisition module 10, the first searching module 20 and target lock-on module 30
Reference can be made to the description in embodiment corresponding to above-mentioned Fig. 2 to step S101- steps S103, will not continue to repeat here.
Further, Fig. 5 is referred to, is a kind of structure diagram of target lock-on module provided in an embodiment of the present invention.
As shown in figure 5, the target lock-on module 30 can include:Alarm command generation unit 301, the first determination unit 302 and
One lock cell 303;Optionally, the target lock-on module 30 can also include:Second determination unit 304 and the second locking are single
Member 305;
Wherein, when the vehicle search information includes target position data and object time data, the target lock-on
Module 30 can include:Alarm command generation unit 301, the first determination unit 302 and the first lock cell 303;
The alarm command generation unit 301, if in the presence of with target position data in the vehicle search information and
Multiple run time diagnostic message of object time data match then obtain vehicle letter corresponding with each run time diagnostic message
Breath, and generate alarm command corresponding with each information of vehicles;
First determination unit 302, if in default alarm duration, not receiving corresponding with the alarm command
Alarm response, then will not send it is described alarm response information of vehicles run time diagnostic message as targeted diagnostics information;
First lock cell 303, it is corresponding with described search instruction for being determined according to the targeted diagnostics information
Target vehicle, and the diagnostic device on the target vehicle is controlled to gather and uploads the image information in the target vehicle, and
According to the face contour feature lock onto target object carried in described image information.
Wherein, the specific reality of the alarm command generation unit 301, the first determination unit 302 and the first lock cell 303
Existing mode can be found in the description in embodiment corresponding to above-mentioned Fig. 2 to step S103, will not continue to repeat here.
Optionally, when the vehicle search information includes target vehicle data, target position data and object time data
When, the target lock-on module 30 includes:Second determination unit 304 and the second lock cell 305;
Second determination unit 304, if in the presence of in the vehicle search information target vehicle data, target
The run time diagnostic message of position data and object time data match is then believed the run time diagnostic message as targeted diagnostics
Breath;
Second lock cell 305, for the vehicle for carrying same target vehicle data to be determined as and described search
Corresponding target vehicle is instructed, and the diagnostic device on the target vehicle is controlled to gather and uploads the figure in the target vehicle
As information, and according to the face contour feature lock onto target object carried in described image information.
Wherein, the specific implementation of 304 and second lock cell 305 of the second determination unit can be found in above-mentioned Fig. 2
To the description of step S103 in corresponding embodiment, will not continue to repeat here.
Optionally, second searching module 40, if for there is no the operations with the vehicle search information match
Diagnostic message then searches the historical diagnostic information with the vehicle search information match in the second database;
The track determining module 50, if believing for finding with the historical diagnostic of the vehicle search information match
Breath then determines history wheelpath with the corresponding target vehicle of described search instruction according to the historical diagnostic information, and
In the history wheelpath obtain target vehicle final position information, and by the final position information be sent to it is described
The associated user terminal of target vehicle.
The data packet acquisition module 60, for obtaining the diagnostic data bag that all vehicles report respectively, and to each diagnosis
Data packet is parsed respectively, obtains diagnostic message corresponding with each vehicle;
The judgment module 70, for judging whether all vehicles are in operating status according to each diagnostic message;
First memory module 80, if being in operating status for all vehicles, by the diagnostic message of each vehicle
First database is respectively stored in, as run time diagnostic message;
Second memory module 90, if not being in operating status for all vehicles, by least one in fortune
The diagnostic message of the vehicle of row state is stored to first database, and shape to be run is in as run time diagnostic message, and by residue
The diagnostic message of all vehicles of state is stored to the second database, as historical diagnostic information.
Wherein, second searching module 40, track determining module 50, data packet acquisition module 60, judgment module 70, the
One memory module 80, the specific implementation of the second memory module 90 can be found in embodiment corresponding to above-mentioned Fig. 3 to step
The description of S201- steps 209 will not continue to repeat here.
This implementation embodiment of the present invention carries the search instruction of vehicle search information by obtaining;Extract the vehicle search
Information, and searched whether in first database in the presence of the run time diagnostic message with the vehicle search information match;If it deposits
Then using the run time diagnostic message as targeted diagnostics information, and determined according to the targeted diagnostics information and described search
Corresponding target vehicle is instructed, and the target vehicle is controlled to upload the image information in the target vehicle, and according to described
Image information lock onto target object.It can be seen that after search instruction is received, can be searched in first database and the vehicle
The run time diagnostic message of search information match, and using the run time diagnostic message found as targeted diagnostics information, wherein,
The run time diagnostic message is in operating status for describing current goal vehicle, so as to reduce the investigation to target vehicle
Difficulty, and then shorten the time of lock onto target vehicle, in addition, the present invention also further can upload the target by control targe vehicle
Image information in vehicle, in order to further lock onto target object, to improve investigation efficiency.
Further, Fig. 6 is referred to, is the structure diagram of another server provided in an embodiment of the present invention, such as Fig. 6
Shown, the server 1000 can be the service terminal 2000 in embodiment corresponding to above-mentioned Fig. 1.The server 1000 can be with
Including:Processor 1001, network interface 1004 and memory 1005, in addition, the server 1000 can also include:User connects
Mouth 1003, network interface 1004 and at least one communication bus 1002.Wherein, communication bus 1002 be used to implement these components it
Between connection communication.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), optional user
Interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 can optionally include having for standard
Line interface, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or non-labile
Memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can also be to
A few storage device for being located remotely from aforementioned processor 1001.As shown in fig. 6, as a kind of storage of computer storage media
It can include operating system, network communication module, Subscriber Interface Module SIM and equipment control application program in device 1005.
In the server 1000 shown in Fig. 6, network interface 1004 can provide network communication function;And user interface 1003
It is mainly used for providing to the user the interface of input;And processor 1001 can be used for calling the equipment control stored in memory 1005
Application program processed, to realize:
Obtain the search instruction for carrying vehicle search information;
The vehicle search information is extracted, and searches whether exist and the vehicle search information phase in first database
Matched run time diagnostic message;
If in the presence of, using the run time diagnostic message as targeted diagnostics information, and it is true according to the targeted diagnostics information
It is fixed with the corresponding target vehicle of described search instruction, and the image in the target vehicle upload target vehicle is controlled to believe
Breath, and according to described image information locking target object.
In one embodiment, the vehicle search information includes target position data and object time data, the place
If it is described in the presence of using the run time diagnostic message as targeted diagnostics information, and according to the target in execution to manage device 1001
Diagnostic message determine with the corresponding target vehicle of described search instruction, and the target vehicle is controlled to upload in the target vehicle
Image information, it is specific to perform following operation and during according to described image information locking target object:
If in the presence of multiple operations with target position data and object time data match in the vehicle search information
Diagnostic message then obtains information of vehicles corresponding with each run time diagnostic message, and generates corresponding respectively with each information of vehicles
Alarm command;
If in default alarm duration, alarm response corresponding with the alarm command is not received, then will not send institute
The run time diagnostic message of the information of vehicles of alarm response is stated as targeted diagnostics information;
According to the targeted diagnostics information determine with the corresponding target vehicle of described search instruction, and control the target carriage
Diagnostic device on gathers and uploads the image information in the target vehicle, and according to the face carried in described image information
Contouring feature lock onto target object.
Optionally, in one embodiment, the vehicle search information include target vehicle data, target position data and
Object time data;If the processor 1001 is described in the presence of using the run time diagnostic message as targeted diagnostics in execution
Information, and according to the targeted diagnostics information determine with the corresponding target vehicle of described search instruction, and control the target carriage
Upload the image information in the target vehicle, and during according to described image information locking target object, it is specific perform it is following
Operation:
If in the presence of with target vehicle data, target position data and the object time data phase in the vehicle search information
Matched run time diagnostic message, then using the run time diagnostic message as targeted diagnostics information;
By the vehicle for carrying same target vehicle data be determined as with the corresponding target vehicle of described search instruction, and control
Diagnostic device on the target vehicle gathers and uploads the image information in the target vehicle, and according to described image information
The face contour feature lock onto target object of middle carrying.
Optionally, in one embodiment, the processor 1001 also performs following operation:
If there is no the run time diagnostic message with the vehicle search information match, searched in the second database with
The historical diagnostic information of the vehicle search information match;
If the historical diagnostic information with the vehicle search information match is found, according to the historical diagnostic information
It determines the history wheelpath with the corresponding target vehicle of described search instruction, and target is obtained in the history wheelpath
The final position information of vehicle, and the final position information is sent to user terminal associated with the target vehicle.
Optionally, in one embodiment, the processor 1001 is performing the acquisition carrying vehicle search information
Before search instruction, following operation is also performed:
Obtain the diagnostic data bag that all vehicles report respectively, and each diagnostic data bag parsed respectively, obtain with
The corresponding diagnostic message of each vehicle;
Judge whether all vehicles are in operating status according to each diagnostic message;
If all vehicles are in operating status, the diagnostic message of each vehicle is respectively stored in first database, is made
For run time diagnostic message;
If all vehicles are not in operating status, the diagnostic message of at least one vehicle in operating status is deposited
Storage is deposited to first database as run time diagnostic message, and by the remaining diagnostic message in all vehicles for treating operating status
Storage is to the second database, as historical diagnostic information.
It should be appreciated that in the specific implementation, the processor 1001 described in the embodiment of the present invention can perform Fig. 2 or figure above
To the description of the vehicle-mounted data processing method in embodiment corresponding to 3, also can perform in embodiment corresponding to Fig. 4 above to institute
The description of server 1 is stated, details are not described herein.
In addition, it need to be noted that be:The embodiment of the present invention additionally provides a kind of computer storage media, and the meter
The computer program performed by the server 1 being mentioned above is stored in calculation machine storage medium, and the computer program includes
Program instruction, when the processor performs described program instruction, it is right in embodiment corresponding to Fig. 2 above or Fig. 3 to be able to carry out
Therefore the description of the vehicle-mounted data processing method, will be repeated no longer here.In addition, to using the beneficial of same procedure
Effect describes, and is also no longer repeated.For the technology not disclosed in computer storage media embodiment according to the present invention
Details refer to the description of the method for the present invention embodiment.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.