Disclosure of Invention
The embodiment of the invention provides a vehicle-mounted data processing method and a server, which can reduce the difficulty in troubleshooting a target vehicle and further improve the investigation efficiency.
The first aspect of the embodiments of the present invention provides a vehicle-mounted data processing method, including:
acquiring a search instruction carrying vehicle search information;
extracting the vehicle searching information, and searching whether operation diagnosis information matched with the vehicle searching information exists in a first database;
and if the target object exists, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information.
Wherein the vehicle search information includes target location data and target time data;
if yes, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information, and the method comprises the following steps:
if a plurality of pieces of operation diagnosis information matched with the target position data and the target time data in the vehicle search information exist, vehicle information respectively corresponding to the operation diagnosis information is obtained, and warning instructions respectively corresponding to the vehicle information are generated;
if the alarm response corresponding to the alarm instruction is not received within the preset alarm duration, the operation diagnosis information of the vehicle information which does not send the alarm response is used as target diagnosis information;
and determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling diagnosis equipment on the target vehicle to acquire and upload image information in the target vehicle, and locking a target object according to facial contour features carried in the image information.
Wherein the vehicle search information includes target vehicle data, target location data, and target time data;
if yes, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information, and the method comprises the following steps:
if the running diagnosis information matched with the target vehicle data, the target position data and the target time data in the vehicle search information exists, taking the running diagnosis information as target diagnosis information;
and determining vehicles carrying the same target vehicle data as target vehicles corresponding to the search instruction, controlling diagnostic equipment on the target vehicles to acquire and upload image information in the target vehicles, and locking target objects according to facial contour features carried in the image information.
Optionally, the method further includes:
if the running diagnosis information matched with the vehicle search information does not exist, searching historical diagnosis information matched with the vehicle search information in a second database;
if the historical diagnosis information matched with the vehicle search information is found, determining the historical driving track of the target vehicle corresponding to the search instruction according to the historical diagnosis information, acquiring the final position information of the target vehicle in the historical driving track, and sending the final position information to the user terminal associated with the target vehicle.
Optionally, before the obtaining of the search instruction carrying the vehicle search information, the method further includes:
acquiring diagnostic data packets respectively reported by all vehicles, and respectively analyzing the diagnostic data packets to obtain diagnostic information respectively corresponding to all vehicles;
judging whether all vehicles are in the running state or not according to the diagnosis information;
if all the vehicles are in the running state, respectively storing the diagnosis information of each vehicle in a first database as running diagnosis information;
if all vehicles are not in the running state, storing the diagnosis information of at least one vehicle in the running state into a first database as running diagnosis information, and storing the diagnosis information of all the remaining vehicles in the to-be-run state into a second database as historical diagnosis information.
A second aspect of an embodiment of the present invention provides a server, including:
the instruction acquisition module is used for acquiring a search instruction carrying vehicle search information;
the first searching module is used for extracting the vehicle searching information and searching whether the running diagnosis information matched with the vehicle searching information exists in a first database;
and the target locking module is used for taking the operation diagnosis information as target diagnosis information if the operation diagnosis information exists, determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling the target vehicle to upload image information in the target vehicle, and locking a target object according to the image information.
Wherein the vehicle search information includes target location data and target time data;
the target locking module comprises:
the warning instruction generating unit is used for acquiring vehicle information respectively corresponding to each piece of operation diagnosis information and generating a warning instruction respectively corresponding to each piece of vehicle information if a plurality of pieces of operation diagnosis information matched with the target position data and the target time data in the vehicle searching information exist;
the first determining unit is used for taking the operation diagnosis information of the vehicle information which does not send the alarm response as target diagnosis information if the alarm response corresponding to the alarm instruction is not received within the preset alarm duration;
and the first locking unit is used for determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling diagnosis equipment on the target vehicle to acquire and upload image information in the target vehicle, and locking a target object according to facial contour features carried in the image information.
Wherein the vehicle search information includes target vehicle data, target location data, and target time data;
the target locking module comprises:
a second determination unit configured to, if there is operation diagnosis information that matches target vehicle data, target position data, and target time data in the vehicle search information, take the operation diagnosis information as target diagnosis information;
and the second locking unit is used for determining vehicles carrying the same target vehicle data as the target vehicles corresponding to the search instruction, controlling diagnostic equipment on the target vehicles to acquire and upload image information in the target vehicles, and locking the target objects according to the facial contour features carried in the image information.
Optionally, the server further includes:
the second searching module is used for searching historical diagnosis information matched with the vehicle searching information in a second database if the operation diagnosis information matched with the vehicle searching information does not exist;
and the track determining module is used for determining the historical driving track of the target vehicle corresponding to the search instruction according to the historical diagnosis information if the historical diagnosis information matched with the vehicle search information is found, acquiring the final position information of the target vehicle in the historical driving track, and sending the final position information to the user terminal associated with the target vehicle.
Optionally, the server further includes:
the data packet acquisition module is used for acquiring diagnostic data packets respectively reported by all vehicles and respectively analyzing the diagnostic data packets to obtain diagnostic information respectively corresponding to all vehicles;
the judging module is used for judging whether all vehicles are in the running state or not according to all the diagnosis information;
the first storage module is used for respectively storing the diagnosis information of each vehicle in a first database as operation diagnosis information if all vehicles are in an operation state;
and the second storage module is used for storing the diagnosis information of at least one vehicle in the running state into the first database as running diagnosis information and storing the diagnosis information of all the remaining vehicles in the to-be-run state into the second database as historical diagnosis information if all the vehicles are not in the running state.
A third aspect of an embodiment of the present invention provides a server, including: a processor, memory, and a network interface;
the processor is connected to the network interface and the memory, respectively, wherein the network interface is configured to provide a network communication function, the memory is configured to store a program code, and the processor is configured to call the program code to perform the method according to the first aspect of the embodiment of the present invention.
An embodiment of the present invention provides a computer storage medium, which stores a computer program, where the computer program includes program instructions, and when the processor executes the program instructions, the method according to the first aspect of the embodiment of the present invention is performed.
The embodiment of the invention obtains the search instruction carrying the vehicle search information; extracting the vehicle searching information, and searching whether operation diagnosis information matched with the vehicle searching information exists in a first database; and if the target object exists, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information. Therefore, after a search instruction is received, the operation diagnosis information matched with the vehicle search information can be searched in the first database, and the searched operation diagnosis information is used as target diagnosis information, wherein the operation diagnosis information is used for describing that the current target vehicle is in an operation state, so that the difficulty in troubleshooting of the target vehicle can be reduced, the time for locking the target vehicle is further shortened, and in addition, the target vehicle can be further controlled to upload image information in the target vehicle, so that the target object can be further locked, and the detection efficiency is improved.
The terms "including" and "having," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The following are detailed below.
Fig. 1 is a schematic structural diagram of a network architecture according to an embodiment of the present invention. As shown in fig. 1, the network architecture may include a service terminal 2000 and a vehicle-mounted terminal cluster; the vehicle-mounted terminal cluster may include a plurality of vehicle-mounted terminals, as shown in fig. 1, specifically including a vehicle-mounted terminal 3000a, vehicle-mounted terminals 3000b, …, and a vehicle-mounted terminal 3000 n;
the in-vehicle terminal 3000a, the in-vehicle terminals 3000b and …, and the in-vehicle terminal 3000n may be respectively connected to the service terminal 2000 via a network. Each vehicle-mounted terminal having a network connection relationship with the service terminal 2000 may include a positioning device and a diagnosis device, so as to receive driving data (i.e., diagnosis information) reported by each diagnosis device in real time (the diagnosis information may include operation diagnosis information of a vehicle currently in an operation state and historical diagnosis information of a vehicle in a to-be-operated state), and location information uploaded by each positioning device. The positioning device may be a GPS (global positioning System) positioning device, and the positioning device and the diagnostic device may be permanently attached to or installed in an in-vehicle terminal on each vehicle.
As shown in fig. 1, the service terminal 2000 may be configured to store operation diagnosis information corresponding to all currently-operating vehicles, that is, the service terminal 2000 may store the diagnosis information of all vehicles in an operating state in a first database within a preset time period (for example, within 1 day), and use each diagnosis information stored in the first database as the operation diagnosis information. Meanwhile, if it is detected that there is at least one piece of diagnosis information of the vehicle in the running state and there is also diagnosis information of the vehicle in the to-be-run state within the preset time period, the service terminal 2000 may store the diagnosis information of the vehicles in the running state to the first database as running diagnosis information, and store the diagnosis information of all the remaining vehicles in the to-be-run state to the second database as historical diagnosis information, so as to subsequently search the diagnosis information matched with the search information in the first database and/or the second database according to the received search instruction, thereby locking the target vehicle quickly.
For example, the service terminal 2000 stores diagnostic packets reported by 4 vehicle-mounted terminals (the 4 vehicle-mounted terminals may be the vehicle-mounted terminal 3000a, the vehicle-mounted terminal 3000b, the vehicle-mounted terminal 3000c, and the vehicle-mounted terminal 3000d shown in fig. 1), so that the service terminal 2000 can analyze the 4 packets to obtain diagnostic information of vehicles corresponding to the 4 vehicle-mounted terminals, and further can determine the operating states of the vehicles corresponding to the 4 vehicle-mounted terminals according to the diagnostic information. For example, the vehicle a and the vehicle B corresponding to the vehicle-mounted terminal 3000a and the vehicle-mounted terminal 3000B are currently in the running state, and the service terminal 2000 may store the diagnosis information reported by the two vehicle-mounted terminals in the first database, and continuously update the diagnosis information (for example, GPS location information) of the two vehicle-mounted terminals in the first database. Meanwhile, the service terminal 2000 may further store the diagnosis information of the vehicle C and the vehicle D (the diagnosis device on the vehicle C is the in-vehicle terminal 3000C, and the diagnosis device on the vehicle D is the in-vehicle terminal 3000D) currently in the standby state to the second database. Subsequently, when the service terminal 2000 receives the search instruction, the service terminal may search the first database and/or the second database for the diagnosis information matching the search information carried in the search instruction according to the search instruction, so that the target vehicle corresponding to the diagnosis information may be further locked (for example, the target vehicle is the vehicle a corresponding to the vehicle-mounted terminal 3000 a).
The specific process of the service terminal 2000 determining the target vehicle and locking the target object may be as follows in the embodiments corresponding to fig. 2 to 3.
Further, please refer to fig. 2, which is a flowchart illustrating a vehicle-mounted data processing method according to an embodiment of the present invention. As shown in fig. 2, the method at least comprises:
and step S101, acquiring a search instruction carrying vehicle search information.
Specifically, the server may receive a search instruction sent by the user terminal, where the search instruction carries vehicle search information. The vehicle search information may be target location data and target time data (i.e., the case time and the case location input by the user holding the user terminal), and optionally, the vehicle search information may also be target vehicle data, target location data, and target time data (i.e., vehicle information, case time, and case location related to the case vehicle).
At this time, the user may be a police officer with a legal search authority, so that before the user terminal sends the search instruction to the server, the user terminal may verify in advance whether the user using the user terminal has the search authority (for example, the user terminal may verify the validity of the user currently using the user terminal by means of voiceprint authentication or the like to ensure the privacy of corresponding information in the police system), and after the verification is passed, further establish a data connection relationship with the server, and may receive vehicle search information (for example, target location data and target time data when a case occurs) input by the user on a search interface in the police system, and generate the search instruction according to the search information, and further may pass through the data connection relationship established with the server, and sending the search instruction to the server.
The server may be the service terminal 2000 in the embodiment corresponding to fig. 1; therefore, the server may further perform step S102-step S103 according to the search instruction.
Step S102, extracting the vehicle searching information, and searching whether the running diagnosis information matched with the vehicle searching information exists in a first database.
Specifically, after the step S101 is executed, the server may further extract the vehicle search information carried in the search instruction, and preferentially search, in a first database, whether there is operation diagnosis information matched with the vehicle search information, so as to obtain a corresponding search result. The first database is used for storing operation diagnosis information corresponding to all the vehicles currently operating. Therefore, if the server determines that the operation diagnosis information matching the vehicle search information exists in the search result, step S103 may be further performed, that is, the server may further determine a target vehicle according to the search result, and the target vehicle is currently in an operation state. Optionally, if the search result does not include the operation diagnosis information matching the vehicle search information, step S104 may be further executed, that is, the historical diagnosis information matching the vehicle search information is continuously searched in the second database, and when the historical diagnosis information matching the vehicle search information is found, the historical driving track of the target vehicle is further determined, and at this time, the target vehicle is currently in the state to be operated.
The database of the server may include a first database and a second database, and the query priority of the first database is higher than that of the second database, so that when a search instruction sent by a police officer through a user terminal is received, the running state of a vehicle matched with the vehicle search information can be preferentially determined according to the search instruction, so that a corresponding target vehicle can be quickly and effectively locked in the corresponding database.
The second database is configured to store historical diagnostic information of all vehicles to be operated, where the historical diagnostic information may include a historical driving track uploaded by the GPS positioning device (for example, the historical driving track may include a scheduled position corresponding to scheduled time and a plurality of pieces of position information that pass after the scheduled time), and in addition, the historical diagnostic information may also include historical vehicle information (for example, historical vehicle speed, historical driving time, and other information) reported by the diagnostic device.
The GPS positioning device and the diagnosis device are integrated or fixedly installed in a vehicle-mounted terminal of each vehicle, and the vehicle-mounted terminal may be the vehicle-mounted terminal (for example, the vehicle-mounted terminal 3000a) in the embodiment corresponding to fig. 1.
The vehicle-mounted terminal can comprise an upper computer and a lower computer; the upper computer and the lower computer may be connected by a Wireless network connection mode (e.g., a connection mode such as bluetooth or Wireless Local Area network (Wlan)).
The upper computer can be used for providing a corresponding function selection interface for a driver (for example, the driver can perform functional operations such as speed measurement and fault detection on a current vehicle on the upper computer), receiving a diagnostic data packet which is transmitted by the lower computer and carries diagnostic information, and uploading the diagnostic data packet to the server.
The upper computer can be a terminal device with a function selection interface and a camera shooting function.
The lower computer may be a diagnostic device, and is configured to obtain a diagnostic instruction sent by the upper computer, read corresponding data information (for example, read a data stream, read a fault code, and the like) from a vehicle-mounted computer according to the diagnostic instruction, use the data information as diagnostic information, package position information of a current vehicle and the diagnostic information, generate a corresponding diagnostic data packet, and return the diagnostic data packet to the upper computer, so that the upper computer uploads the diagnostic data packet to the server.
And step S103, if the target object exists, using the operation diagnosis information as target diagnosis information, determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling the target vehicle to upload image information in the target vehicle, and locking the target object according to the image information.
Specifically, when detecting that a plurality of operation diagnosis information matched with the target position data and the target time data in the vehicle search information exists in the first database, the server may further obtain vehicle information (for example, license plate information and/or Vehicle Identification Number (VIN) information) corresponding to each operation diagnosis information, and generate an alarm instruction corresponding to each vehicle information; if the warning response corresponding to the warning instruction is not received within the preset warning duration, the operation diagnosis information of the vehicle information which does not send the warning response is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, diagnosis equipment on the target vehicle is controlled to acquire and upload image information in the target vehicle, and a target object is locked according to facial contour features carried in the image information.
The VIN code information is usually unique, and is composed of 17-bit characters, so it can be referred to as seventeen-bit code. It contains the information of the vehicle manufacturer, year, model, body type and code, engine code and assembly location, etc. Therefore, the vehicle characteristics (such as the body type of the target vehicle) of the target vehicle can be uniquely determined through the VIN code information, so that the suspected vehicle can be locked.
For example, taking the example that 3 pieces of operation diagnosis information matched with the vehicle search information are found in the first database, where the vehicle search information includes target position data and target time data, and the target position data is a scheduled position a, and the target time data (i.e., scheduled time) is about 9 pm and 30 pm, that is, three vehicles travel through the scheduled position a at 9 pm and 30 pm (for example, the vehicle X has passed the scheduled position a set by the public security department at 9 pm and 29 pm, the vehicle Y has passed the scheduled position a set by the public security department at 9 pm and 30 pm, and the vehicle Z has passed the scheduled position a set by the public security department at 9 pm and 31 pm). At this time, the server may regard the three vehicles (vehicle X, vehicle Y, and vehicle Z) as suspicious vehicles involved in the case, and obtain vehicle information of the three vehicles (for example, the license plate number of vehicle X is aabb, the license plate number of vehicle Y is aacc, and the license plate number of vehicle Z is bbcc). Therefore, the server only needs to search in the first database according to the vehicle search information, and does not need to search the diagnosis information uploaded by all vehicles, so that the difficulty in troubleshooting of the target vehicle can be reduced. Subsequently, the server may further generate warning instructions corresponding to the vehicle information of the three vehicles, respectively, and issue the warning instructions to the three vehicles, respectively. Namely, the server can issue the warning instruction carrying aabb to the vehicle X, issue the warning instruction carrying aacc to the vehicle Y, and issue the warning instruction carrying bbcc to the vehicle Z. Subsequently, the server may detect whether the warning response returned by the 3 vehicles is received within a preset warning duration (e.g., 2 minutes). If the vehicle X and the vehicle Y return corresponding warning responses to the server, and the vehicle Z does not return corresponding warning responses to the server, the server may further use the operation diagnosis information of the vehicle Z as the target diagnosis information, and determine the vehicle Z as a target vehicle involved in a case, because the vehicle Z is currently in the operation state, the diagnostic device on the target vehicle may be further controlled to collect and upload the image information in the target vehicle (for example, a camera connected to the diagnostic device may be controlled to switch a photographing mode to collect the image information in the vehicle Z), and a target object may be locked according to the facial contour features carried in the image information, thereby improving the detection efficiency.
Optionally, if the vehicle search information includes target vehicle data, target position data, and target time data, the server may determine, in the first database, operation diagnosis information that matches the target vehicle data, the target position data, and the target time data in the vehicle search information as target diagnosis information, determine a vehicle that carries the same target vehicle data as a target vehicle corresponding to the search instruction, control a diagnosis device on the target vehicle to acquire and upload image information in the target vehicle, and lock a target object according to a facial contour feature carried in the image information.
For example, the server may directly use the diagnosis information matched with the target vehicle data (e.g., VIN code information of the current vehicle) as the target diagnosis information, and directly use the vehicle corresponding to the target diagnosis information (e.g., vehicle D with VIN information being ddcce) as the target vehicle, so as to reduce the troubleshooting range, and thus, the troubleshooting difficulty of the target vehicle may be reduced. In addition, since the vehicle D is currently in a running state, the diagnostic device on the target vehicle may be further controlled to acquire and upload image information in the target vehicle (for example, a camera connected to the diagnostic device may be controlled to switch a photographing mode to acquire image information in the vehicle D), and a target object may be locked according to facial contour features carried in the image information, so as to quickly and effectively improve the detection efficiency.
Optionally, after the server performs step S102, if it is determined that the operation diagnosis information matched with the vehicle search information does not exist in the first database, step S104 may be further performed, that is, historical diagnosis information matched with the vehicle search information is searched in the second database, a historical driving track of the target vehicle corresponding to the search instruction is determined according to the historical diagnosis information, the final position information of the target vehicle is obtained in the historical driving track, and the final position information is sent to the user terminal associated with the target vehicle.
For example, when the server determines that there is no operation diagnosis information matching the vehicle search information (e.g., the target position data is the case position a and the target time data is the case time 9 point 30) in the first database, the server may further determine that the case-related vehicle is currently in a state to be operated (e.g., a parking state), and then the server may continue to search for history diagnosis information matching the vehicle search information in the second database, and if the history diagnosis information matching the vehicle search information is history diagnosis information of a plurality of vehicles (e.g., the vehicle L and the vehicle K) driving through the case position a at the case time 9 point 30, the server may regard the vehicle L and the vehicle K as the case-related vehicle and further obtain history traveling tracks of the two case-related vehicles, and acquiring final position information of the two involved vehicles in the historical driving track (for example, the final position information of the vehicle L is the position L ', and the final position information of the vehicle K is the position K'), and sending the final position information to a user terminal (for example, a detection terminal currently held by a police officer) associated with the target vehicle, so that the police officer can recover the stolen target vehicle according to the two position information, for example, the stolen vehicle is the vehicle L. Namely, by adopting the mode, the search range of the target vehicle can be narrowed, so that the search difficulty is reduced.
Therefore, the diagnosis information of each vehicle is classified and stored (namely, the diagnosis information of the vehicle in the running state is stored in the first database, and the diagnosis information of the vehicle in the to-be-run state is stored in the second database), so that the search time for the target vehicle can be effectively shortened, and for the target vehicle in the running state, the target object can be effectively locked by acquiring the image information in the target vehicle, so that the detection efficiency is improved.
The embodiment of the invention obtains the search instruction carrying the vehicle search information; extracting the vehicle searching information, and searching whether operation diagnosis information matched with the vehicle searching information exists in a first database; and if the target object exists, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information. Therefore, after a search instruction is received, the operation diagnosis information matched with the vehicle search information can be searched in the first database, and the searched operation diagnosis information is used as target diagnosis information, wherein the operation diagnosis information is used for describing that the current target vehicle is in an operation state, so that the difficulty in troubleshooting of the target vehicle can be reduced, the time for locking the target vehicle is further shortened, and in addition, the target vehicle can be further controlled to upload image information in the target vehicle, so that the target object can be further locked, and the detection efficiency is improved.
Further, please refer to fig. 3, which is a schematic flow chart of another vehicle-mounted data processing method according to an embodiment of the present invention. As shown in fig. 3, the method may include:
step S201, obtaining diagnosis data packets respectively reported by all vehicles, and respectively analyzing the diagnosis data packets to obtain diagnosis information respectively corresponding to all vehicles;
specifically, the server can obtain all diagnostic data packets reported by vehicles having a data connection relationship with the server; the diagnostic data packets carry diagnostic information for these vehicles. Therefore, the server can analyze the diagnostic packets to obtain diagnostic information corresponding to each vehicle.
The server may be the service terminal 2000 in the embodiment corresponding to fig. 1, and therefore, the server may be configured to receive the diagnostic data packets uploaded by the vehicle-mounted terminals in the vehicles in the embodiment corresponding to fig. 1, where each diagnostic data packet carries the diagnostic information of the vehicle acquired by the diagnostic device, and may also carry the current driving trajectory or the historical driving trajectory of each vehicle, which is acquired by the GPS positioning device and formed.
The current driving track is a track formed by position information of the vehicle in the running state; the historical driving track may be a track formed by position information of the vehicle in the to-be-operated state, and when the vehicle is switched from the to-be-operated state to the to-be-operated state and is in the to-be-operated state for a preset switching time (for example, 4 hours), the position information in the current driving track may be used as the position information in the historical driving track.
The current driving track and the historical driving track can both contain target position data and other position information except the target position data.
The diagnostic information may be operation diagnostic information of all vehicles in the operation state, and optionally, the diagnostic information may also be historical diagnostic information of all vehicles in the standby state.
For example, as shown in fig. 1, the server 2000 may be connected to the vehicle-mounted terminal 3000a, the vehicle-mounted terminals 3000b, …, and the vehicle-mounted terminal 3000n at the same time to receive the diagnostic data packets respectively reported by the vehicle-mounted terminals on the vehicles. The in-vehicle terminals 3000a, 3000b, …, 3000k (where k may be a positive integer less than or equal to n) are devices on all vehicles currently in a running state, the in-vehicle terminals 3000(k +1), 3000(k +2), …, and 3000n are devices on all vehicles currently in a waiting state (e.g., a parking state).
Step S202, judging whether all vehicles are in the running state or not according to all the diagnosis information;
specifically, the server may determine the current operating state of each vehicle by detecting whether the location information in each piece of diagnostic information is always in an updated state, and if all the vehicles having a network connection relationship with the server are in the operating state, that is, each piece of location information is always in an updated state, step S203 may be further performed, otherwise, step S204 may be further performed.
Step S203, if all vehicles are in the running state, the diagnosis information of each vehicle is respectively stored in a first database as running diagnosis information;
specifically, after the step S202 is executed, the server may use the diagnostic information of all vehicles in the running state as the running diagnostic information, and store the running diagnostic information in the first database, so as to further execute the step S205 to receive the search instruction uploaded by the user terminal.
Optionally, in step S204, if all the vehicles are not in the running state, the diagnostic information of at least one vehicle in the running state is stored in the first database as the running diagnostic information, and the diagnostic information of all the remaining vehicles in the to-be-run state is stored in the second database as the historical diagnostic information.
Specifically, after the step S202 is executed, if it is detected that there are both vehicles in the operating state and vehicles in the to-be-operated state (i.e., parked state), the server may store the diagnostic information of each vehicle in the operating state as the operating diagnostic information in the first database according to the step S203, and synchronously store the diagnostic information of each vehicle in the remaining to-be-operated state as the historical diagnostic information in the second database, so as to further execute the step S205 to receive the search instruction uploaded by the user terminal.
Of course, it should be understood that if all the vehicles are in the to-be-operated state, the server may directly store the diagnosis information of each vehicle in the second database as the historical diagnosis information, respectively, so as to further perform step S205.
Step S205, acquiring a search instruction carrying vehicle search information;
step S206, extracting the vehicle searching information, and searching whether the running diagnosis information matched with the vehicle searching information exists in a first database;
specifically, after the server has executed step S205, the server may further extract the vehicle search information carried in the search instruction, and preferentially search, in the first database, whether there is the operation diagnosis information matched with the vehicle search information, so as to obtain a corresponding search result. If the search result includes the operation diagnosis information matched with the vehicle search information, step S207 may be further performed, that is, the server may further determine the target vehicle according to the search result, and the target vehicle is currently in an operation state. Optionally, if the server determines that the operation diagnosis information matching the vehicle search information does not exist in the search result, step S208 may be further performed, that is, the server continues to search for the historical diagnosis information matching the vehicle search information in the second database, and further determines the historical driving track of the target vehicle when the historical diagnosis information matching the vehicle search information is found, where at this time, the target vehicle is currently in the state to be operated.
The specific implementation manner of step S206 may refer to the description of step S102 in the embodiment corresponding to fig. 2, and will not be described again.
And step S207, if the running diagnosis information matched with the vehicle search information exists, using the running diagnosis information as target diagnosis information, determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling the target vehicle to upload image information in the target vehicle, and locking a target object according to the image information.
The implementation manner of step S207 may refer to the description of step S103 in the embodiment corresponding to fig. 2, and details will not be further described here.
Optionally, in step S208, if there is no operation diagnosis information matching the vehicle search information, searching a second database for historical diagnosis information matching the vehicle search information;
wherein the second database is used for storing historical diagnosis information of all vehicles to be operated;
step S209, if the historical diagnosis information matched with the vehicle search information is found, determining the historical driving track of the target vehicle corresponding to the search instruction according to the historical diagnosis information, acquiring the final position information of the target vehicle in the historical driving track, and sending the final position information to the user terminal associated with the target vehicle.
For example, when the server determines that there is no operation diagnosis information matching the vehicle search information (for example, the target position data is the case position B and the target time data is the case time 7 point 20) in the first database, and thus, the server may further determine that the case-related vehicle is currently in a state to be operated, and may then search for history diagnosis information matching the vehicle search information in the second database, and if the history diagnosis information matching the vehicle search information is history diagnosis information of a plurality of vehicles, that is, a plurality of vehicles (for example, a vehicle m and a vehicle n) are driven through the case position B at the case time 7 point 20, the server may regard the vehicle m and the vehicle n as the case-related vehicle, and further obtain the history traveling tracks of the two case-related vehicles, and obtain final position information of the target vehicle in the history traveling tracks (for example, the final position information of the vehicle m is the position K, and the final position information of the vehicle n is the position F), and the final position information is sent to a user terminal (for example, all detection terminals currently owned by police officers) associated with the target vehicle, so that the police officers can recover the stolen target vehicle according to the two position information, for example, the stolen vehicle is the vehicle m. Namely, by adopting the mode, the search range of the target vehicle can be narrowed, so that the search difficulty is reduced.
Optionally, after the step S207 is executed, the server may further obtain the current position information of the target vehicle in real time through a positioning device on the target vehicle (i.e., a GPS positioning device located on the target vehicle), and track the target vehicle in real time according to the current position information, so as to update the current driving track of the target vehicle in real time.
The embodiment of the invention obtains the search instruction carrying the vehicle search information; extracting the vehicle searching information, and searching whether operation diagnosis information matched with the vehicle searching information exists in a first database; and if the target object exists, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information. Therefore, after a search instruction is received, the operation diagnosis information matched with the vehicle search information can be searched in the first database, and the searched operation diagnosis information is used as target diagnosis information, wherein the operation diagnosis information is used for describing that the current target vehicle is in an operation state, so that the difficulty in troubleshooting of the target vehicle can be reduced, the time for locking the target vehicle is further shortened, and in addition, the target vehicle can be further controlled to upload image information in the target vehicle, so that the target object can be further locked, and the detection efficiency is improved.
Further, please refer to fig. 4, which is a schematic structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 4, the server 1 may be a service terminal 2000 in the embodiment corresponding to fig. 1. The server 1 may include: the system comprises an instruction acquisition module 10, a first search module 20 and a target locking module 30; optionally, the server 1 may further include: a second searching module 40, a track determining module 50, a data packet obtaining module 60, a judging module 70, a first storage module 80, a second storage module 90 and a position obtaining module 100;
the instruction acquisition module 10 is configured to acquire a search instruction carrying vehicle search information;
the first searching module 20 is configured to extract the vehicle search information carried in the search instruction, and search, in a first database, whether there is operation diagnosis information matched with the vehicle search information; the first database is used for storing operation diagnosis information corresponding to all current operation vehicles respectively;
and the target locking module 30 is configured to, if the target object exists, use the operation diagnosis information as target diagnosis information, determine a target vehicle corresponding to the search instruction according to the target diagnosis information, control the target vehicle to upload image information in the target vehicle, and lock a target object according to the image information.
For specific implementation manners of the instruction obtaining module 10, the first searching module 20 and the target locking module 30, reference may be made to the description of steps S101 to S103 in the embodiment corresponding to fig. 2, and details will not be further described here.
Further, please refer to fig. 5, which is a schematic structural diagram of a targeting module according to an embodiment of the present invention. As shown in fig. 5, the targeting module 30 may include: an alert instruction generating unit 301, a first determining unit 302, and a first locking unit 303; optionally, the target locking module 30 may further include: a second determination unit 304 and a second locking unit 305;
wherein, when the vehicle search information includes the target location data and the target time data, the target locking module 30 may include: an alert instruction generating unit 301, a first determining unit 302, and a first locking unit 303;
the warning instruction generating unit 301 is configured to, if there are multiple pieces of operation diagnosis information that match target position data and target time data in the vehicle search information, obtain vehicle information that respectively corresponds to each piece of operation diagnosis information, and generate a warning instruction that respectively corresponds to each piece of vehicle information;
the first determining unit 302 is configured to, if an alarm response corresponding to the alarm instruction is not received within a preset alarm duration, use operation diagnosis information of vehicle information to which the alarm response is not sent as target diagnosis information;
the first locking unit 303 is configured to determine a target vehicle corresponding to the search instruction according to the target diagnostic information, control a diagnostic device on the target vehicle to acquire and upload image information in the target vehicle, and lock a target object according to facial contour features carried in the image information.
For specific implementation manners of the alarm instruction generating unit 301, the first determining unit 302, and the first locking unit 303, reference may be made to the description of step S103 in the embodiment corresponding to fig. 2, and details will not be described here again.
Optionally, when the vehicle search information includes target vehicle data, target position data, and target time data, the target locking module 30 includes: a second determination unit 304 and a second locking unit 305;
the second determination unit 304 is configured to, if there is operation diagnosis information that matches target vehicle data, target position data, and target time data in the vehicle search information, take the operation diagnosis information as target diagnosis information;
the second locking unit 305 is configured to determine vehicles carrying the same target vehicle data as the target vehicle corresponding to the search instruction, control a diagnostic device on the target vehicle to acquire and upload image information in the target vehicle, and lock the target object according to facial contour features carried in the image information.
For specific implementation manners of the second determining unit 304 and the second locking unit 305, reference may be made to the description of step S103 in the embodiment corresponding to fig. 2, and details will not be further described here.
Optionally, the second searching module 40 is configured to search, if there is no operation diagnosis information that matches the vehicle search information, historical diagnosis information that matches the vehicle search information in a second database;
the track determining module 50 is configured to determine, if historical diagnostic information matched with the vehicle search information is found, a historical driving track of the target vehicle corresponding to the search instruction according to the historical diagnostic information, acquire final position information of the target vehicle in the historical driving track, and send the final position information to the user terminal associated with the target vehicle.
The data packet obtaining module 60 is configured to obtain diagnostic data packets respectively reported by all vehicles, and analyze each diagnostic data packet respectively to obtain diagnostic information respectively corresponding to each vehicle;
the judging module 70 is configured to judge whether all vehicles are in a running state according to each piece of diagnosis information;
the first storage module 80 is configured to store the diagnostic information of each vehicle in the first database as the operation diagnostic information if all the vehicles are in the operation state;
the second storage module 90 is configured to, if all vehicles are not in an operating state, store the diagnostic information of at least one vehicle in the operating state in the first database as operating diagnostic information, and store the diagnostic information of all remaining vehicles in a to-be-operated state in the second database as historical diagnostic information.
For specific implementation manners of the second searching module 40, the trajectory determining module 50, the data packet obtaining module 60, the determining module 70, the first storing module 80, and the second storing module 90, reference may be made to the description of step S201 to step S209 in the embodiment corresponding to fig. 3, which will not be further described herein.
The embodiment of the invention obtains the search instruction carrying the vehicle search information; extracting the vehicle searching information, and searching whether operation diagnosis information matched with the vehicle searching information exists in a first database; and if the target object exists, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information. Therefore, after a search instruction is received, the operation diagnosis information matched with the vehicle search information can be searched in the first database, and the searched operation diagnosis information is used as target diagnosis information, wherein the operation diagnosis information is used for describing that the current target vehicle is in an operation state, so that the difficulty in troubleshooting of the target vehicle can be reduced, the time for locking the target vehicle is further shortened, and in addition, the target vehicle can be further controlled to upload image information in the target vehicle, so that the target object can be further locked, and the detection efficiency is improved.
Further, please refer to fig. 6, which is a schematic structural diagram of another server according to an embodiment of the present invention, and as shown in fig. 6, the server 1000 may be the service terminal 2000 in the embodiment corresponding to fig. 1. The server 1000 may include: a processor 1001, a network interface 1004, and a memory 1005, and the server 1000 may further include: a user interface 1003, a network interface 1004, and at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 6, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the server 1000 shown in fig. 6, the network interface 1004 may provide network communication functions; the user interface 1003 is an interface for providing a user with input; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
acquiring a search instruction carrying vehicle search information;
extracting the vehicle searching information, and searching whether operation diagnosis information matched with the vehicle searching information exists in a first database;
and if the target object exists, the operation diagnosis information is used as target diagnosis information, a target vehicle corresponding to the search instruction is determined according to the target diagnosis information, the target vehicle is controlled to upload image information in the target vehicle, and a target object is locked according to the image information.
In one embodiment, the vehicle search information includes target position data and target time data, and the processor 1001, when executing the step of, if the target position data exists, using the operation diagnosis information as target diagnosis information, determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling the target vehicle to upload image information in the target vehicle, and locking a target object according to the image information, specifically performs the following operations:
if a plurality of pieces of operation diagnosis information matched with the target position data and the target time data in the vehicle search information exist, vehicle information respectively corresponding to the operation diagnosis information is obtained, and warning instructions respectively corresponding to the vehicle information are generated;
if the alarm response corresponding to the alarm instruction is not received within the preset alarm duration, the operation diagnosis information of the vehicle information which does not send the alarm response is used as target diagnosis information;
and determining a target vehicle corresponding to the search instruction according to the target diagnosis information, controlling diagnosis equipment on the target vehicle to acquire and upload image information in the target vehicle, and locking a target object according to facial contour features carried in the image information.
Optionally, in one embodiment, the vehicle search information includes target vehicle data, target location data, and target time data; if the processor 1001 executes the above-mentioned operation, the processor 1001 takes the operation diagnosis information as target diagnosis information, determines a target vehicle corresponding to the search instruction according to the target diagnosis information, controls the target vehicle to upload image information in the target vehicle, and locks a target object according to the image information, and specifically executes the following operations:
if the running diagnosis information matched with the target vehicle data, the target position data and the target time data in the vehicle search information exists, taking the running diagnosis information as target diagnosis information;
and determining vehicles carrying the same target vehicle data as target vehicles corresponding to the search instruction, controlling diagnostic equipment on the target vehicles to acquire and upload image information in the target vehicles, and locking target objects according to facial contour features carried in the image information.
Optionally, in an embodiment, the processor 1001 further performs the following operations:
if the running diagnosis information matched with the vehicle search information does not exist, searching historical diagnosis information matched with the vehicle search information in a second database;
if the historical diagnosis information matched with the vehicle search information is found, determining the historical driving track of the target vehicle corresponding to the search instruction according to the historical diagnosis information, acquiring the final position information of the target vehicle in the historical driving track, and sending the final position information to the user terminal associated with the target vehicle.
Optionally, in an embodiment, before executing the search instruction to acquire the vehicle-carried search information, the processor 1001 further performs the following operations:
acquiring diagnostic data packets respectively reported by all vehicles, and respectively analyzing the diagnostic data packets to obtain diagnostic information respectively corresponding to all vehicles;
judging whether all vehicles are in the running state or not according to the diagnosis information;
if all the vehicles are in the running state, respectively storing the diagnosis information of each vehicle in a first database as running diagnosis information;
if all vehicles are not in the running state, storing the diagnosis information of at least one vehicle in the running state into a first database as running diagnosis information, and storing the diagnosis information of all the remaining vehicles in the to-be-run state into a second database as historical diagnosis information.
It should be understood that, in a specific implementation, the processor 1001 described in the embodiment of the present invention may perform the description on the vehicle-mounted data processing method in the embodiment corresponding to fig. 2 or fig. 3, and may also perform the description on the server 1 in the embodiment corresponding to fig. 4, which is not described herein again.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores the aforementioned computer program executed by the server 1, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the vehicle-mounted data processing method in the embodiment corresponding to fig. 2 or fig. 3 can be executed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.