WO2019062338A1 - 一种过车查询方法、装置、电子设备及可读存储介质 - Google Patents

一种过车查询方法、装置、电子设备及可读存储介质 Download PDF

Info

Publication number
WO2019062338A1
WO2019062338A1 PCT/CN2018/099251 CN2018099251W WO2019062338A1 WO 2019062338 A1 WO2019062338 A1 WO 2019062338A1 CN 2018099251 W CN2018099251 W CN 2018099251W WO 2019062338 A1 WO2019062338 A1 WO 2019062338A1
Authority
WO
WIPO (PCT)
Prior art keywords
queried
gps
area
data
time period
Prior art date
Application number
PCT/CN2018/099251
Other languages
English (en)
French (fr)
Inventor
陈柏
Original Assignee
杭州海康威视系统技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视系统技术有限公司 filed Critical 杭州海康威视系统技术有限公司
Publication of WO2019062338A1 publication Critical patent/WO2019062338A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/02Details of the space or ground control segments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/03Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers
    • G01S19/05Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers providing aiding data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/202Dispatching vehicles on the basis of a location, e.g. taxi dispatching

Definitions

  • the present application relates to the field of in-vehicle technology, and in particular, to a method, device, electronic device, and readable storage medium for in-vehicle inquiry.
  • the vehicle operation information is generally obtained by means of a manual check-in method.
  • the bus operation information is obtained by means of a station-to-station check-in for the bus
  • the taxi operation is obtained by means of a regular report for the taxi.
  • the information is then queried according to the obtained vehicle running information to obtain information of the vehicle that needs to be queried.
  • the purpose of the embodiment of the present application is to provide a method, device, electronic device and readable storage medium for querying the vehicle to improve the efficiency of the query.
  • the specific technical solutions are as follows:
  • the embodiment of the present application discloses a method for querying a vehicle, and the method includes:
  • the query result is obtained.
  • the GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried according to the GPS data uploaded by the GPS device on the vehicle.
  • the GPS information matching the current query area and the current query time period is queried as the basic GPS information for query, wherein the current query The time period is: the time period to be queried in the current query area;
  • the execution is repeated: updating the current query area to a pending query area that is not the current query area, based on the query basic GPS information, the query and the current query area and the current Querying the matched GPS information of the time period, and updating the query basic GPS information to the queried GPS information, until there is no area in the to-be-queried area that is not the current query area;
  • the GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried according to the GPS data uploaded by the GPS device on the vehicle.
  • a GPS device Based on the GPS information shared in the queried GPS information, a GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is determined.
  • the GPS information that matches the to-be-queried area and the to-be-queried time period of the to-be-queried area includes:
  • GPS data uploaded in a to-be-queried area and in a to-be-queried time period of the to-be-queried area are GPS data uploaded in a to-be-queried area and in a to-be-queried time period of the to-be-queried area.
  • the obtaining, by the queried GPS device, the result of the query of the vehicle including:
  • the overtaking query result is obtained.
  • the GPS data uploaded by the GPS device on the vehicle is stored in different data tables according to time, wherein one data table corresponds to a time period;
  • the GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area according to the GPS data uploaded by the GPS device on the vehicle includes:
  • a data table for storing the target data where the target data is: GPS data uploaded in each to-be-queried area and in a to-be-queried time period of each to-be-queried area;
  • the GPS device that has uploaded the GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried.
  • the method for querying by the vehicle further includes:
  • a GPS device that has uploaded GPS data in each to-be-queried area and in a time period to be queried in each to-be-queried area, including:
  • a GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried.
  • the latest data table has at least two temporary tables, where the latest data table is: a data table in the data table corresponding to the latest time period, and a temporary table corresponds to a data category.
  • a temporary table stores GPS data belonging to the data category corresponding to the temporary table in the GPS data uploaded by the GPS device on the vehicle in the latest time period, and the data is classified into a classification determined according to time and/or device information of the GPS device;
  • a data table for storing target data including:
  • the device data for storing the target data is determined according to each time period to be inquired and/or device information of the GPS device corresponding to the vehicle within the to-be-queried vehicle range.
  • the GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried in the to-be-queried vehicle range according to the data stored in the determined data table.
  • a GPS device that belongs to the to-be-queried vehicle range, in each of the to-be-queried regions, and in which the GPS data is uploaded in the to-be-queried time period of each to-be-queried region is queried in parallel in the determined temporary table.
  • the embodiment of the present application discloses a passing inquiry device, and the device includes:
  • An information obtaining module configured to obtain a to-be-queried area and a to-be-queried time period of each to-be-queried area
  • the device querying module is configured to query, according to the GPS data uploaded by the GPS device on the vehicle, the GPS device that has uploaded the GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area;
  • the result obtaining module is configured to obtain a query result of the vehicle according to the queried GPS device.
  • the device query module includes:
  • the first information query sub-module is configured to use the area in the area to be queried as the current query area, and query the GPS information that matches the current query area and the current query time period according to the GPS data uploaded by the GPS device on the vehicle, as Query basic GPS information, where the current query time period is: the time period to be queried in the current query area;
  • the second information query sub-module is configured to: when the area that is not the current query area exists in the to-be-queried area, perform the following: update the current query area to a to-be-queried area that is not the current query area, based on the query basic GPS And querying the GPS information that matches the current query area and the current query time period, and updating the query basic GPS information to the queried GPS information, until there is no area in the to-be-queried area that is not the current query area;
  • the first device determining submodule is configured to determine, according to the query basic GPS information, a GPS device that has uploaded GPS data in each to-be-queried region and in a to-be-queried time period of each to-be-queried region.
  • the device query module includes:
  • the third information query sub-module is configured to query, according to the GPS data uploaded by the GPS device on the vehicle, the GPS information that matches each of the to-be-queried regions and the to-be-queried time segment of each to-be-queried region;
  • the second device determining submodule is configured to determine, according to the GPS information shared in the queried GPS information, a GPS device that has uploaded GPS data in each to-be-queried region and in each to-be-queried time period of each to-be-queried region.
  • the GPS information that matches the to-be-queried area and the to-be-queried time period of the to-be-queried area includes:
  • GPS data uploaded in a to-be-queried area and in a to-be-queried time period of the to-be-queried area are GPS data uploaded in a to-be-queried area and in a to-be-queried time period of the to-be-queried area.
  • the result obtaining module includes:
  • An information determining submodule configured to determine, according to a pre-obtained correspondence between the GPS device and the vehicle, vehicle information of the vehicle corresponding to the queried GPS device;
  • the information obtaining sub-module is configured to obtain the quantity of GPS data, the starting GPS data, and the ending GPS data that are uploaded by each GPS device in each to-be-queried area and in the to-be-queried time period of each to-be-queried area. ;
  • the result obtaining sub-module is configured to obtain a query result of the vehicle based on the queried GPS device, the determined vehicle information, and the obtained number of GPS data, the starting GPS data, and the terminated GPS data.
  • the GPS data uploaded by the GPS device on the vehicle is stored in different data tables according to time, wherein one data table corresponds to a time period;
  • the device query module includes:
  • a table determining sub-module configured to determine a data table for storing target data according to a to-be-queried time period of the to-be-queried area, where the target data is: a to-be-queried time in each to-be-queried area and in each to-be-queried area GPS data uploaded by the segment;
  • the device query sub-module is configured to query, according to the data stored in the determined data table, a GPS device that has uploaded GPS data in each to-be-queried region and in the to-be-queried time period of each to-be-queried region.
  • the overtaking query device further includes:
  • a range obtaining module for obtaining a range of vehicles to be inquired
  • the device querying module is specifically configured to upload, in the to-be-queried vehicle range, the query in each to-be-queried area and in the to-be-queried time period of each to-be-queried area according to the data stored in the determined data table.
  • GPS device with GPS data.
  • the latest data table has at least two temporary tables, where the latest data table is: a data table in the data table corresponding to the latest time period, and a temporary table corresponds to a data category.
  • a temporary table stores GPS data belonging to the data category corresponding to the temporary table in the GPS data uploaded by the GPS device on the vehicle in the latest time period, and the data is classified into a classification determined according to time and/or device information of the GPS device;
  • the table determining sub-module is specifically configured to: when the time period to be queried of the to-be-queried area belongs to the latest time period, according to each time period to be queried and/or the GPS device corresponding to the vehicle within the range of the vehicle to be queried Device information, determining a temporary table for storing target data;
  • the device querying module is configured to query, in the determined temporary table, the GPS data that belongs to the to-be-queried vehicle range, in each to-be-queried area, and in the to-be-queried time period of each to-be-queried area. GPS device.
  • the embodiment of the present application discloses an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • the memory is configured to store a computer program
  • the processor is configured to execute a computer program stored on the memory, and implement the method steps described in the embodiments of the present application.
  • the embodiment of the present application discloses a computer readable storage medium, where the computer program is stored in the storage medium, and when the computer program is executed by the processor, the method steps described in the embodiments of the present application are implemented.
  • the embodiment of the present application discloses an application program, which is used to execute the method steps described in the embodiments of the present application at runtime.
  • the vehicle information is inquired according to the GPS data uploaded by the GPS device on the vehicle, and the GPS device on a vehicle is uploaded in an area during a period of time.
  • the GPS data indicates that the vehicle has appeared in this area during this time period, so that only the GPS device on the vehicle reports the GPS data, and the vehicle operation information can be obtained, that is, the GPS data reported by the GPS device on the vehicle.
  • It can be used for vehicle inquiry, so as to achieve the purpose of querying the vehicle information, compared with the manual signing method in the prior art, the manpower consumption is reduced, and the query efficiency of the vehicle is improved.
  • FIG. 1 is a schematic flowchart diagram of a first method for querying a vehicle according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a second method for querying a vehicle according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart diagram of a third method for querying a vehicle according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a fourth method for querying a vehicle according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a first in-vehicle inquiry device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a second overtaking query device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a third overtaking query device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a fourth overtaking query device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • a method for querying a vehicle includes:
  • the query result is obtained.
  • the vehicle information is inquired according to the GPS data uploaded by the GPS device on the vehicle.
  • the GPS device on a vehicle uploads the GPS data in an area within a time period, It indicates that the vehicle has appeared in this area during this time period, so that only the GPS device on the vehicle reports the GPS data, and the vehicle operation information can be obtained, that is, the GPS data reported by the GPS device on the vehicle can be used for performing.
  • the vehicle query in order to achieve the purpose of querying the vehicle information, reduces the labor consumption and improves the efficiency of the vehicle query compared with the manual signing method in the prior art.
  • FIG. 1 is a schematic flowchart of a first method for querying a vehicle according to an embodiment of the present application, where the method includes:
  • the area to be queried is the area that needs to be inquired for the vehicle.
  • the area to be queried in this step may be one area or more than one area. This is not limited.
  • the obtained to-be-queried area is more than one area, there may be overlapping portions between the to-be-queried areas, and of course, there may be no overlapping parts.
  • a GPS (Global Positioning System) device is installed on the vehicle, that is, a vehicle has a unique correspondence with a GPG device.
  • the GPS device can determine the location information, the moving speed, and the like of the GPS device by receiving the information returned by the satellite, wherein the location information may include information such as longitude, latitude, azimuth, and the like. Since the GPS device is installed on the vehicle, after the GPS device determines the above information, it can be considered that the location information, the moving speed, and the like of the vehicle where the GPS device is located are obtained.
  • the GPS device After the GPS device obtains information such as location information and moving speed, the information may be uploaded to the server together with the device number of the GPS device.
  • the data sent to the server may be referred to as GPS data.
  • the above server can be understood as a device for providing a vehicle inquiry service or a device for storing GPS data.
  • the GPS device can receive the satellite backhaul information according to a certain frequency. Accordingly, the GPS device can upload the GPS data to the server according to a certain frequency. For example, the GPS device can upload a message to the server every 10 seconds, 20 seconds, and the like. GPS data.
  • each GPS device For each GPS data uploaded by each GPS device to the server, there will be an upload time, which can be understood as the time when the GPS device is located in the corresponding area of the GPS data.
  • the server may use the time of receiving the GPS data as the upload time of the GPS data; in another implementation manner, the upload time of the GPS data may also be determined by the GPS device. And sent to the server by the GPS device as part of the GPS data.
  • the above-mentioned passing query result may only include the identifier of the queried GPS device
  • the above-mentioned passing query result may further include the identifier of the vehicle corresponding to the queried GPS device, for example, the license plate number of the vehicle, and the like;
  • the above-mentioned passing query result may include: the above two kinds of information, and may also include: the GPS data that the queried GPS device has uploaded in the to-be-queried area and the to-be-queried time period corresponding to the to-be-queried area. .
  • duplicate data may exist in the query result of the overtaking, for example, there are duplicate GPS device identifiers in the query result of the overtaking, and there are repeated GPS data, etc., in order to obtain an effective check query.
  • the data of the query result can be filtered to filter out the duplicate data in the query result.
  • the vehicle information of the vehicle corresponding to the queried GPS device may be determined according to the corresponding relationship between the GPS device and the vehicle obtained in advance, and the query is obtained.
  • the number of GPS data uploaded by each GPS device in each area to be queried and in the time period to be queried in each area to be queried, the starting GPS data and the terminating GPS data, and then according to the queried GPS device, The determined vehicle information and the obtained number of GPS data, the starting GPS data, the terminated GPS data, and the passing query result are obtained.
  • the GPS device is: a GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area. Then, according to the queried GPS device, the vehicle query result is obtained, so that the vehicle information and the GPS data of the vehicle to be inquired in each of the to-be-queried regions can be obtained, thereby obtaining the running condition of the vehicle.
  • Querying the GPS device that has uploaded the GPS data in each of the to-be-queried areas and in the to-be-queried time period of each of the to-be-queried areas can be implemented in various implementation manners. The following embodiments are shown in FIG. 2 and FIG. Detailed instructions are given.
  • FIG. 2 is a schematic flowchart of a second method for querying the vehicle according to the embodiment of the present invention.
  • the query is based on the GPS data uploaded by the GPS device on the vehicle.
  • a GPS device that has been in the query area and has uploaded GPS data in the to-be-queried time period of each to-be-queried area (step S102), including:
  • S102A Taking an area in the to-be-queried area as the current query area, and querying GPS information that matches the current query area and the current query time period according to the GPS data uploaded by the GPS device on the vehicle, as the query basic GPS information.
  • the current query time period is: the time period to be queried in the current query area.
  • step S102B Determine whether there is an area in the to-be-queried area that is not the current query area. If yes, go to step S102C. If not, go to step S102D.
  • step S102A When the to-be-queried area obtained in step S101 is only one area, step S102A does not exist in the area to be queried in step S102A, and step S102D is directly executed.
  • step S101 When the area to be queried obtained in the step S101 includes more than one area, only the area that is not the current query area exists in the area to be queried after the step S102A, so that the step S101C is determined and executed in step S101. Each area to be queried is traversed.
  • S102C Update the current query area to a to-be-queried area that is not the current query area, and query the GPS information that matches the current query area and the current query time period based on the above-mentioned query basic GPS information, and query the basic GPS information.
  • the GPS information is updated to the queried, and the flow returns to step S102B.
  • the query and current After updating the current query area to a new to-be-queried area, that is, updating the current query area to a non-queried area that is not the current query area, the query and current
  • the GPS information matching both the query area and the current query time period is based on the query basic GPS information obtained in the previous query, that is, as the query progresses, each time the current query area is updated, the query needs to be performed.
  • the data is getting less and less.
  • the to-be-queried area is A, B, and C, and the corresponding to-be-queried time segments are a, b, and c.
  • the to-be-queried area is A as the current query area
  • the query and the to-be-queried area are
  • the query base GPS information matching the A and the query time period a is S1.
  • the area to be queried is B as the current query area, and based on the query basic GPS information S1, the query and the to-be-queried area are B.
  • the GPS information matching both the time period b to be queried is assumed to be the GPS information S2, and then the above-described inquiry basic GPS information is updated to the GPS information S2.
  • the next query is based on the GPS information S2, and the data to be queried is getting less and less.
  • S102D Determine, according to the query basic GPS information, a GPS device that has uploaded GPS data in each to-be-queried area and in a to-be-queried time period of each to-be-queried area.
  • a serial query method is adopted, and a GPS device that has uploaded GPS data in each to-be-queried area and in a to-be-queried time period of each to-be-queried area is queried, so that the entire query is made.
  • each query needs less and less matching data, which improves query efficiency.
  • the GPS information that is matched in the embodiment shown in FIG. 2 and that matches the to-be-queried area and the to-be-queried time period of the to-be-queried area may include the following two cases.
  • Case 1 A list of GPS devices that have uploaded GPS data in a to-be-queried area and in the to-be-queried time period of the to-be-queried area.
  • the information included in the list of the above GPS devices may be information for distinguishing the respective GPS devices, such as the identification of the GPS device.
  • the query basic GPS information is also a list of GPS devices.
  • step S102C when the GPS information matching the current query area and the current query time period is queried based on the query basic GPS information, it is understood that: a GPS device that has uploaded GPS data in the current query area and in the current query time period is determined from the GPS device corresponding to the identifier of the GPS device included in the query basic GPS information.
  • the identified GPS device identification is GPS information that matches both the current query area and the current query time period, after which a list of GPS devices formed by the identified GPS device identification can be obtained.
  • the query basic GPS information is updated to the list of the GPS devices formed above, since the next query is performed on the basis of the query-based GPS information just after the update, that is, from the newly updated query base GPS information.
  • the identifier of the GPS device that meets the conditions is filtered out, so that after successive inquiry, the identifier of the GPS device included in the query basic GPS information is less and less, and the data to be matched each subsequent query is more The less you come, the faster the query is.
  • the current query is determined in the current query region.
  • the GPS device that has uploaded the GPS data in the time period
  • the determined number of GPS data uploaded by the respective GPS devices in the current query period in the current query period the starting GPS data, and the terminated GPS data may also be obtained.
  • Case 2 GPS data uploaded in a to-be-queried area and in the to-be-queried time period of the to-be-queried area.
  • the above-mentioned query basic GPS information is also GPS data, so that in the above step S102C, based on the query basic GPS information, when the GPS information matching the current query area and the current query time period is queried, it can be understood as: Uploading the GPS device that queries the GPS data contained in the basic GPS information, for convenience of description, referred to as the first type of GPS device, and finds the GPS data uploaded by the first type of GPS device in the current query area and in the current query time period, and finds The GPS data is the GPS information that matches both the current query area and the current query time period.
  • the query basic GPS information is updated to the above-mentioned GPS data, and the next query is performed on the basis of the newly-inquired basic GPS information, that is, the data uploaded from the second type of GPS device is matched.
  • Conditional GPS data wherein the second type of GPS device refers to: a GPS device that uploads GPS data contained in the base GPS information after the update.
  • the current query is determined in the current query area.
  • the number of GPS data uploaded by the third type of GPS device in the current query time period, the starting GPS data, and the termination GPS may be obtained according to the determined GPS data.
  • Data, wherein the third type of GPS device refers to a GPS device that uploads the determined GPS data.
  • FIG. 3 is a schematic flowchart of a third method for querying the vehicle according to the embodiment of the present invention.
  • the query is performed in each a GPS device that has been in the query area and has uploaded GPS data in the to-be-queried time period of each to-be-queried area (step S102), including:
  • S102E Query, according to the GPS data uploaded by the GPS device on the vehicle, the GPS information that matches each of the to-be-queried regions and the to-be-queried time segment of each to-be-queried region.
  • each area to be queried it is the GPS data uploaded from the GPS device on the vehicle, and the query matches the to-be-queried area and the to-be-queried time period of the to-be-queried area.
  • the GPS information that is, the query basis of each area to be queried is the same.
  • S102F Determine, according to the GPS information shared in the queried GPS information, a GPS device that has uploaded GPS data in each to-be-queried area and in a to-be-queried time period of each to-be-queried area.
  • the query basis is the same, so that the query result for one area to be queried does not affect the query result for other areas to be queried, that is,
  • Each of the to-be-queried areas can be queried by means of parallel query, thereby improving query efficiency.
  • the GPS information that is matched with the to-be-queried area and the to-be-queried time period of the to-be-queried area mentioned in the foregoing embodiment of FIG. 3 may include the following two cases.
  • Case 1 A list of GPS devices that have uploaded GPS data in a to-be-queried area and in the to-be-queried time period of the to-be-queried area.
  • the information included in the list of the above GPS devices may be information for distinguishing the respective GPS devices, such as the identification of the GPS device.
  • the GPS information matching each of the to-be-queried regions and the to-be-queried time segment of each to-be-queried region is queried, it can be understood as: uploading according to the GPS device on the vehicle.
  • the GPS data determines a GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area.
  • the identified GPS device identifier is: GPS information that matches both the to-be-queried region and the to-be-queried time segment of the to-be-queried region, after which each query is obtained.
  • a list of GPS devices corresponding to the region is: GPS information that matches both the to-be-queried region and the to-be-queried time segment of the to-be-queried region, after which each query is obtained.
  • intersection of the identifiers of the GPS devices respectively included in the list is included, and the intersection includes the GPS device corresponding to the identifier, that is, each of the to-be-queried regions and the GPS is uploaded in the to-be-queried time period of each to-be-queried region.
  • GPS device for data is included, and the intersection includes the GPS device corresponding to the identifier, that is, each of the to-be-queried regions and the GPS is uploaded in the to-be-queried time period of each to-be-queried region.
  • the GPS device uploads the amount of GPS data, the starting GPS data, and the terminating GPS data in the to-be-queried area and in the to-be-queried time period of the to-be-queried area.
  • Case 2 GPS data uploaded in a to-be-queried area and in the to-be-queried time period of the to-be-queried area.
  • step S102E according to the GPS data uploaded by the GPS device on the vehicle, when the GPS information matching each of the to-be-queried regions and the to-be-queried time segment of each to-be-queried region is queried, it can be understood as: uploading according to the GPS device on the vehicle.
  • the GPS data is determined by the GPS data uploaded in each to-be-queried area and in the to-be-queried time period of each to-be-queried area. For each to-be-queried area, the determined GPS data is: GPS information that matches both the area and the time period to be queried of the area to be queried.
  • the fourth type of GPS may be obtained according to the GPS data determined for each to-be-queried area.
  • the GPS device on the vehicle can upload GPS data to the server at a certain time interval.
  • a GPS device uploads a GPS data to the server every 10 seconds, and a GPS device is used one day.
  • the GPS data uploaded by the server is 8,640.
  • the GPS data uploaded by the 5,000 GPS devices to the server is 432 million, which means that the server receives a large amount of GPS data uploaded by the GPS device every day, that is, the amount of GPS data stored on the server. It is very large.
  • the query efficiency is relatively low.
  • a fourth method for querying the vehicle is provided.
  • the GPS data uploaded by the GPS device on the vehicle is stored in different data tables according to time. , wherein one data table corresponds to a time period.
  • the GPS data when the GPS data is stored in the data table according to time, it may be stored according to the upload time of the GPS data.
  • the upload time of one GPS data may be consistent with the acquisition time, so It can also be understood that it is stored according to the acquisition time of the GPS data.
  • the above time period may be half day, one day, two days, etc., and the application does not limit this.
  • step S102 the GPS device that has uploaded the GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried (step S102), including:
  • S102G Determine a data table for storing target data according to the to-be-queried time period of the to-be-queried area.
  • the target data is: GPS data uploaded in each to-be-queried area and in a to-be-queried time period of each to-be-queried area.
  • the time period to be queried may be: 13:00 to 14:00 on September 27, 2017, and the like.
  • S102H Query, according to the data stored in the determined data table, a GPS device that has uploaded GPS data in each to-be-queried area and in a time period to be queried in each to-be-queried area.
  • the data table for storing the target data can be initially screened according to the time period to be queried, so that when the GPS device is queried, only the data determined by the preliminary screening is needed.
  • the data stored in the table can be queried without having to query all the data uploaded by the GPS device, which can greatly reduce the amount of data that needs to be matched during the GPS device query process, and can greatly improve the query speed.
  • the range of the vehicle to be inquired can also be obtained, so that the range of the vehicle to be inquired can be considered to be limited.
  • the range of the vehicle to be inquired may be all vehicles included in the 123 bus, and may be a taxi with a license plate number within a certain range.
  • step S102 when the GPS device that has uploaded the GPS data in each to-be-queried region and in the to-be-queried time period of each to-be-queried region is queried (step S102),
  • the data stored in the determined data table, in the range of the vehicle to be queried queries the GPS device that has uploaded GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area.
  • the GPS device on the vehicle is required to upload GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area, but also the vehicle corresponding to the inquired GPS device is in the above-mentioned waiting period. Check the vehicle range.
  • the range of the vehicle to be inquired is also obtained, so that the user can provide the vehicle query result more specifically.
  • the latest data table has at least two temporary tables, wherein the latest data table is: a data table in the data table whose corresponding time period is the latest time period.
  • a temporary table corresponds to a data classification, and a temporary table stores GPS data belonging to the data classification corresponding to the temporary table in the GPS data uploaded by the GPS device on the vehicle in the latest time period, and the data is classified according to time and/or GPS.
  • the classification of the device information determined by the device.
  • the GPS data stored in one data table is: GPS data uploaded by the GPS device on the vehicle in one day.
  • the time period may be further subdivided into smaller time sub-segments, and one time sub-segment corresponds to one data classification. For example, if the time period is one day, the day may be divided into six time sub-children. Segment, every 4 hours corresponds to a time subsection and so on.
  • the data classification When the data classification is determined according to the device information of the GPS device, the data classification may be determined according to information such as a hash (Hash Function) value of the GPS device identifier.
  • a hash Hash Function
  • the time period to be queried in the to-be-queried area may belong to the latest time period, according to each time period to be queried. / or device information of the GPS device corresponding to the vehicle within the range of the vehicle to be inquired, and determining a temporary table for storing the target data;
  • the GPS device that has uploaded the GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area is queried (step S102). And in the determined temporary table, the GPS devices belonging to the above-mentioned vehicle range to be inquired, the GPS data are uploaded in each of the to-be-queried regions and in the to-be-queried time period of each to-be-queried region.
  • the GPS device query is performed by using the parallel query temporary table, thereby greatly providing the query efficiency of the GPS device query.
  • the data table corresponding to the latest time period may be generated according to the GPS data stored in each temporary table, and the latest time is deleted.
  • the temporary table corresponding to the segment of course, in another implementation manner, the GPS data uploaded by the GPS device in the latest time period may be stored in the temporary table and stored in the data table corresponding to the latest time period. When you enter the next time period, you can delete the temporary table directly.
  • the latest time period is: 0:00 to 24:00 today, when it reaches 24 today, the day is over, and then the GPS data stored in the corresponding temporary table can be used to generate today. Corresponding data table.
  • each temporary table corresponds to a hash value range.
  • the passing query result may be displayed in the form of a visual interface.
  • the user can intuitively view the results of the query from the visual interface, and can also select the area to be queried, configure the time period to be queried, configure the range of the vehicle to be queried, and the like on the visual interface, so that the query is more convenient and quick.
  • the query is more efficient.
  • the running track of the vehicle may be generated according to the obtained query result of the vehicle, and the generated running track is displayed on the above visual interface, so that the user can intuitively understand the running condition of the vehicle. For example, whether the vehicle is running on a normal line, and so on.
  • the embodiment of the present application further provides a passing inquiry device.
  • FIG. 5 is a schematic structural diagram of a first in-vehicle inquiry device according to an embodiment of the present application, where the device includes:
  • the information obtaining module 501 is configured to obtain a to-be-queried area and a to-be-queried time period of each to-be-queried area;
  • the device querying module 502 is configured to query, according to the GPS data uploaded by the GPS device on the vehicle, the GPS device that has uploaded the GPS data in each to-be-queried area and in the to-be-queried time period of each to-be-queried area;
  • the result obtaining module 503 is configured to obtain a query result of the vehicle according to the queried GPS device.
  • the result obtaining module 503 can include:
  • An information determining submodule configured to determine, according to a pre-obtained correspondence between the GPS device and the vehicle, vehicle information of the vehicle corresponding to the queried GPS device;
  • the information obtaining sub-module is configured to obtain the quantity of GPS data, the starting GPS data, and the ending GPS data that are uploaded by each GPS device in each to-be-queried area and in the to-be-queried time period of each to-be-queried area. ;
  • the result obtaining sub-module is configured to obtain a query result of the vehicle based on the queried GPS device, the determined vehicle information, and the obtained number of GPS data, the starting GPS data, and the terminated GPS data.
  • the vehicle information is inquired according to the GPS data uploaded by the GPS device on the vehicle, and the GPS device on a vehicle is uploaded in an area during a period of time.
  • the GPS data indicates that the vehicle has appeared in this area during this time period, so that only the GPS device on the vehicle reports the GPS data, and the vehicle operation information can be obtained, that is, the GPS data reported by the GPS device on the vehicle.
  • It can be used for vehicle inquiry, so as to achieve the purpose of querying the vehicle information, compared with the manual signing method in the prior art, the manpower consumption is reduced, and the query efficiency of the vehicle is improved.
  • the device query module 502 includes:
  • the first information query sub-module 502A is configured to use one of the areas to be queried as the current query area, and query the GPS information that matches the current query area and the current query time period according to the GPS data uploaded by the GPS device on the vehicle.
  • the current query time period is: the time period of the current query area to be queried;
  • the second information query sub-module 502B is configured to: when the area that is not the current query area exists in the to-be-queried area, perform the following: update the current query area to a to-be-queried area that is not the current query area, based on the query basis.
  • the GPS information is used to query the GPS information that matches the current query area and the current query time period, and the query basic GPS information is updated to the queried GPS information until there is no area in the to-be-queried area that is not the current query area. ;
  • the first device determining submodule 502C is configured to determine, according to the query basic GPS information, a GPS device that has uploaded GPS data in each to-be-queried region and in a to-be-queried time period of each to-be-queried region.
  • a serial query method is adopted, and a GPS device that has uploaded GPS data in each to-be-queried area and in a to-be-queried time period of each to-be-queried area is queried, so that the entire query is made.
  • each query needs less and less matching data, which improves query efficiency.
  • the device query module 502 includes:
  • the third information query sub-module 502D is configured to query, according to the GPS data uploaded by the GPS device on the vehicle, the GPS information that matches each of the to-be-queried regions and the to-be-queried time segment of each to-be-queried region;
  • the second device determining submodule 502E is configured to determine, according to the GPS information shared in the queried GPS information, a GPS device that has uploaded GPS data in each to-be-queried region and in each to-be-queried time period of each to-be-queried region. .
  • the query basis is the same, so that the query result for one area to be queried does not affect the query result for other areas to be queried, that is,
  • Each of the to-be-queried areas can be queried by means of parallel query, thereby improving query efficiency.
  • the GPS information that matches both the to-be-queried area and the to-be-queried time period of the to-be-queried area may include:
  • GPS data uploaded in a to-be-queried area and in a to-be-queried time period of the to-be-queried area are GPS data uploaded in a to-be-queried area and in a to-be-queried time period of the to-be-queried area.
  • FIG. 8 a schematic structural diagram of a fourth overtaking query device is provided.
  • the GPS data uploaded by the GPS device on the vehicle is in accordance with The time is stored in different data tables, wherein one data table corresponds to a time period;
  • the device query module 502 includes:
  • the table determining sub-module 502F is configured to determine a data table for storing target data according to the to-be-queried time period of the to-be-queried area, where the target data is: to be queried in each to-be-queried area and in each to-be-queried area. GPS data uploaded during the time period;
  • the device query sub-module 502G is configured to query, according to the data stored in the determined data table, a GPS device that has uploaded GPS data in each to-be-queried region and in a to-be-queried time period of each to-be-queried region.
  • the data table for storing the target data can be initially screened according to the time period to be queried, so that when the GPS device is queried, only the preliminary screening is needed.
  • the data stored in the data table can be queried without having to query all the data uploaded by the GPS device, which can greatly reduce the amount of data that needs to be matched during the GPS device query process, and can greatly improve the query speed.
  • the above-mentioned passing inquiry device may further include:
  • a range obtaining module for obtaining a range of vehicles to be inquired
  • the device query sub-module is specifically configured to: in the to-be-queried vehicle range, query in each to-be-queried area and in each to-be-queried time period of each to-be-queried area according to the data stored in the determined data table. GPS device that has uploaded GPS data.
  • the latest data table has at least two temporary tables, wherein the latest data table is: a data table in the data table corresponding to the latest time period, a temporary table corresponding to a data category, and a temporary table stored therein
  • the GPS data uploaded by the GPS device on the vehicle in the latest time period belongs to the GPS data corresponding to the data classification corresponding to the temporary table, and the data is classified into the classification determined according to the time and/or the device information of the GPS device;
  • the table determining sub-module is specifically configured to: when the time period to be queried of the to-be-queried area belongs to the latest time period, according to each time period to be queried and/or the GPS device corresponding to the vehicle within the range of the vehicle to be queried Device information, determining a temporary table for storing target data;
  • the device query sub-module is specifically configured to query, in the determined temporary table, the GPS that belongs to the to-be-queried vehicle range, and to upload the GPS in each to-be-queried region and in each to-be-queried time period of each to-be-queried region. GPS device for data.
  • FIG. 9 is a structural diagram of an electronic device according to an embodiment of the present application, including: a processor 901, a communication interface 902, a memory 903, and a communication bus 904.
  • the device 901, the communication interface 902, and the memory 903 complete communication with each other through the communication bus 904;
  • a memory 903, configured to store a computer program
  • the processor 901 is configured to implement the step of the inquiry query method provided by the embodiment of the present application when the program stored in the memory 903 is executed.
  • the foregoing query method includes:
  • the query result is obtained.
  • the communication bus 904 mentioned by the above electronic device may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus.
  • the communication bus 904 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 902 is used for communication between the above electronic device and other devices.
  • the memory 903 may include a RAM (Random Access Memory), and may also include a non-volatile memory such as at least one disk storage.
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the processor 901 may be a general-purpose processor, including: a CPU (Central Processing Unit), an NP (Network Processor), or the like; or a DSP (Digital Signal Processing).
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • other programmable logic device discrete gate or transistor logic device, discrete hardware component.
  • the electronic device queries the vehicle information according to the GPS data uploaded by the GPS device on the vehicle.
  • the GPS device on a vehicle uploads the GPS data in an area within a time period, It indicates that the vehicle has appeared in this area during this time period, so that only the GPS device on the vehicle reports the GPS data, and the vehicle operation information can be obtained, that is, the GPS data reported by the GPS device on the vehicle can be used for performing.
  • the vehicle query in order to achieve the purpose of querying the vehicle information, reduces the labor consumption and improves the efficiency of the vehicle query compared with the manual signing method in the prior art.
  • the embodiment of the present application further provides a computer readable storage medium.
  • the computer readable storage medium stores a computer program.
  • the steps of the method for querying the vehicle provided by the embodiment of the present application are implemented.
  • the foregoing query method includes:
  • the query result is obtained.
  • the vehicle information is inquired according to the GPS data uploaded by the GPS device on the vehicle.
  • the GPS device on the vehicle uploads GPS data in an area during a period of time, indicating that the vehicle has appeared in this area during this time period, so that only the GPS device on the vehicle reports GPS data, and the vehicle can be obtained.
  • the operation information that is, the GPS data reported by the GPS device on the vehicle can be used for vehicle inquiry, thereby achieving the purpose of querying the information of the vehicle, and reducing the labor consumption and improving the compared with the manual signing method in the prior art. Car query efficiency.
  • the application also provides an application for performing the steps of the overtaking query method provided by the embodiment of the present application at runtime.
  • the foregoing query method includes:
  • the query result is obtained.
  • the vehicle information is inquired according to the GPS data uploaded by the GPS device on the vehicle, and the GPS device on a vehicle is in a time.
  • the GPS data is uploaded in an area in the segment, indicating that the vehicle has appeared in this area during this time period, so that only the GPS device on the vehicle is required to report the GPS data, and the vehicle operation information can be obtained, that is, on the vehicle.
  • the GPS data reported by the GPS device can be used for vehicle inquiry, so as to achieve the purpose of querying the vehicle information, compared with the manual signing method in the prior art, the manpower consumption is reduced, and the query efficiency of the vehicle is improved.

Abstract

本申请实施例提供了一种过车查询方法、装置、电子设备及可读存储介质,应用于车载技术领域,所述方法包括:获得待查询区域和每一待查询区域的待查询时间段;根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;根据查询到的GPS设备获得过车查询结果。应用本申请实施例提供的方案进行过车查询,提高了查询效率。

Description

一种过车查询方法、装置、电子设备及可读存储介质
本申请要求于2017年9月30日提交中国专利局、申请号为201710920313.2、发明名称为“一种过车查询方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及车载技术领域,特别是涉及一种过车查询方法、装置、电子设备及可读存储介质。
背景技术
随着社会的发展,城市人口的增加,城市交通越来越受到人们的重视。而公共交通是城市交通的重要组成部分,公共汽车和出租车是公共交通中主要的交通工具。出租车公司或公交公司需要为乘客的安全问题考虑,时常需要进行过车查询,即,查询一段或多段时间内某一个或多个区域内的车辆运行情况,根据车辆运行情况的分析可为事后的各种问题做追踪调查。
现有的过车查询技术中,一般依赖于手工签到的方式获得车辆运行信息,例如,针对公交车采用到站签到的方式获得公交车运行信息,针对出租车采用定时汇报的方式获得出租车运行信息,然后根据所获得的上述车辆运行信息进行过车查询,得到需要查询的车辆的信息。
虽然通常情况下应用上述方式能够查询到需要查询的车辆的信息,但是应用上述方式进行过车查询时,费时又费力,过车查询的效率比较低。
发明内容
本申请实施例的目的在于提供一种过车查询方法、装置、电子设备及可读存储介质,以提高过车查询的效率。具体技术方案如下:
本申请实施例公开了一种过车查询方法,所述方法包括:
获得待查询区域和每一待查询区域的待查询时间段;
根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
根据查询到的GPS设备获得过车查询结果。
本申请的一种实现方式中,所述根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
将待查询区域中的一个区域作为当前查询区域,根据车辆上GPS设备上传的GPS数据,查询与当前查询区域以及当前查询时间段两者匹配的GPS信息,作为查询基础GPS信息,其中,当前查询时间段为:当前查询区域的待查询时间段;
在待查询区域中存在未作为当前查询区域的区域时,重复执行:将当前查询区域更新为未作为当前查询区域的一个待查询区域,基于所述查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息,并将所述查询基础GPS信息更新为查询到的GPS信息,直至待查询区域中不存在未作为当前查询区域的区域;
根据所述查询基础GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,所述根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息;
根据查询到的GPS信息中共有的GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,包括:
在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表;或
在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
本申请的一种实现方式中,所述根据查询到的GPS设备获得过车查询结果, 包括:
根据预先获得的GPS设备与车辆的对应关系,确定查询到的GPS设备所对应车辆的车辆信息;
获得查询到的每一GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据;
根据查询到的GPS设备、所确定的车辆信息以及所获得的GPS数据的数量、起始GPS数据、终止GPS数据,获得过车查询结果。
本申请的一种实现方式中,车辆上GPS设备上传的GPS数据按照时间存储在不同数据表中,其中,一个数据表对应一个时间段;
所述根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
根据待查询区域的待查询时间段,确定用于存储目标数据的数据表,其中,所述目标数据为:在各个待查询区域且在各个待查询区域的待查询时间段上传的GPS数据;
根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,所述过车查询方法还包括:
获得待查询车辆范围;
所述根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,最新数据表存在至少两个临时表,所述最新数据表为:数据表中对应时间段为最新时间段的数据表,一个临时表与一个数据分类相对应,一个临时表中存储有所述最新时间段内车辆上GPS设备上传 的GPS数据中属于该临时表所对应数据分类的GPS数据,数据分类为根据时间和/或GPS设备的设备信息确定的分类;
所述根据待查询区域的待查询时间段,确定用于存储目标数据的数据表,包括:
在待查询区域的待查询时间段均属于所述最新时间段时,根据各个待查询时间段和/或所述待查询车辆范围内车辆所对应GPS设备的设备信息,确定用于存储目标数据的临时表;
所述根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
在所确定的临时表中并行查询属于所述待查询车辆范围、在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请实施例公开了一种过车查询装置,所述装置包括:
信息获得模块,用于获得待查询区域和每一待查询区域的待查询时间段;
设备查询模块,用于根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
结果获得模块,用于根据查询到的GPS设备获得过车查询结果。
本申请的一种实现方式中,所述设备查询模块,包括:
第一信息查询子模块,用于将待查询区域中的一个区域作为当前查询区域,根据车辆上GPS设备上传的GPS数据,查询与当前查询区域以及当前查询时间段两者匹配的GPS信息,作为查询基础GPS信息,其中,当前查询时间段为:当前查询区域的待查询时间段;
第二信息查询子模块,用于在待查询区域中存在未作为当前查询区域的区域时,重复执行:将当前查询区域更新为未作为当前查询区域的一个待查询区域,基于所述查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息,并将所述查询基础GPS信息更新为查询到的GPS信息, 直至待查询区域中不存在未作为当前查询区域的区域;
第一设备确定子模块,用于根据所述查询基础GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,所述设备查询模块,包括:
第三信息查询子模块,用于根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息;
第二设备确定子模块,用于根据查询到的GPS信息中共有的GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,包括:
在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表;或
在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
本申请的一种实现方式中,所述结果获得模块,包括:
信息确定子模块,用于根据预先获得的GPS设备与车辆的对应关系,确定查询到的GPS设备所对应车辆的车辆信息;
信息获得子模块,用于获得查询到的每一GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据;
结果获得子模块,用于根据查询到的GPS设备、所确定的车辆信息以及所获得的GPS数据的数量、起始GPS数据、终止GPS数据,获得过车查询结果。
本申请的一种实现方式中,车辆上GPS设备上传的GPS数据按照时间存储在不同数据表中,其中,一个数据表对应一个时间段;
所述设备查询模块,包括:
表确定子模块,用于根据待查询区域的待查询时间段,确定用于存储目 标数据的数据表,其中,所述目标数据为:在各个待查询区域且在各个待查询区域的待查询时间段上传的GPS数据;
设备查询子模块,用于根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,所述过车查询装置还包括:
范围获得模块,用于获得待查询车辆范围;
所述设备查询模块,具体用于根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请的一种实现方式中,最新数据表存在至少两个临时表,所述最新数据表为:数据表中对应时间段为最新时间段的数据表,一个临时表与一个数据分类相对应,一个临时表中存储有所述最新时间段内车辆上GPS设备上传的GPS数据中属于该临时表所对应数据分类的GPS数据,数据分类为根据时间和/或GPS设备的设备信息确定的分类;
所述表确定子模块,具体用于在待查询区域的待查询时间段均属于所述最新时间段时,根据各个待查询时间段和/或所述待查询车辆范围内车辆所对应GPS设备的设备信息,确定用于存储目标数据的临时表;
所述设备查询模块,具体用于在所确定的临时表中并行查询属于所述待查询车辆范围、在每一待查询区域且在每一待查询区域的待查询时间段中上传过GPS数据的GPS设备。
本申请实施例公开了一种电子设备,包括:处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口、所述存储器通过所述通信总线完成相互间的通信;
所述存储器,用于存放计算机程序;
所述处理器,用于执行所述存储器上所存放的计算机程序,实现本申请实施例所述的方法步骤。
本申请实施例公开了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例所述的方法步骤。
本申请实施例公开了一种应用程序,所述应用程序用于在运行时执行本申请实施例所述的方法步骤。
由以上可见,应用本申请实施例提供的方案进行过车查询时,是根据车辆上GPS设备上传的GPS数据查询过车信息的,当一车辆上的GPS设备在一时间段内在一个区域上传过GPS数据,则说明该车辆在这一时间段内在这一区域中出现过,这样只需要车辆上的GPS设备上报GPS数据,即可获得车辆运行信息,也就是,车辆上GPS设备上报的GPS数据可以用于进行车辆查询,从而达到查询过车信息的目的,与现有技术中人工签到的方式相比,减少了人力消耗,提高了过车查询效率。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的第一种过车查询方法的流程示意图;
图2为本申请实施例提供的第二种过车查询方法的流程示意图;
图3为本申请实施例提供的第三种过车查询方法的流程示意图;
图4为本申请实施例提供的第四种过车查询方法的流程示意图;
图5为本申请实施例提供的第一种过车查询装置的结构示意图;
图6为本申请实施例提供的第二种过车查询装置的结构示意图;
图7为本申请实施例提供的第三种过车查询装置的结构示意图;
图8为本申请实施例提供的第四种过车查询装置的结构示意图;
图9为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
在日常生活中,为方便人们的出行,通常需要了解车辆的运营情况。现有的过车查询技术中,多数车辆运营企业对于过车的统计依赖于手工签到方式获得车辆运行信息,比如针对公交车采用到站签到的方式获得公交车运行信息,针对出租车采用定时汇报的方式获得出租车运行信息等,然后根据所获得的上述车辆运行信息进行过车查询,这样费时又费力,过车查询效率较低。为解决上述技术问题,本申请的一个实施例中,提供了一种过车查询方法,该方法包括:
获得待查询区域和每一待查询区域的待查询时间段;
根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
根据查询到的GPS设备获得过车查询结果。
可见应用本实施例提供的方案进行过车查询时,是根据车辆上GPS设备上传的GPS数据查询过车信息的,当一车辆上的GPS设备在一时间段内在一个区域上传过GPS数据,则说明该车辆在这一时间段内在这一区域中出现过,这样只需要车辆上的GPS设备上报GPS数据,即可获得车辆运行信息,也就是,车辆上GPS设备上报的GPS数据可以用于进行车辆查询,从而达到查询过车信息的目的,与现有技术中人工签到的方式相比,减少了人力消耗,提高了过车查询效率。
下面通过具体实施例对本申请实施例提供的过车查询方法进行详细说明。
图1为本申请实施例提供的第一种过车查询方法的流程示意图,该方法包括:
S101、获得待查询区域和每一待查询区域的待查询时间段。
其中,上述区域为根据地理位置划分的区域,待查询区域即为需要进行过车查询的地理位置区域,本步骤中所获得的待查询区域可以是一个区域,也可以是一个以上区域,本申请并不对此进行限定。
当所获得的待查询区域为一个以上区域时,这些待查询区域之间可以存在重合部分,当然也可以不存在重合部分。
S102、根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
车辆上安装有GPS(Global Positioning System,全球定位系统)设备,也就是一个车辆与一个GPG设备具有唯一的对应关系。GPS设备通过接收卫星回传的信息可以确定出GPS设备的位置信息、移动速度等等,其中,位置信息可以包括例如经度、纬度、方位角等信息。由于GPS设备安装于车辆上,所以,GPS设备确定出上述信息后,也就可以认为获得了该GPS设备所在车辆的位置信息、移动速度等等信息。
GPS设备获得位置信息、移动速度等信息后,可以将这些信息连同GPS设备的设备编号一并上传至服务器,这些被发送至服务器的数据可以称之为GPS数据。上述服务器可以理解为用于提供过车查询服务的设备,或用于存储GPS数据的设备。
具体的,GPS设备可以按照一定的频率接收卫星回传的信息,相应的,GPS设备可以按照一定的频率向服务器上传GPS数据,例如,GPS设备可以每10秒、20秒等等向服务器上传一条GPS数据。
对于每一GPS设备上传至服务器的每一GPS数据而言,均会对应一个上传时间,这一上传时间可以理解为GPS设备所在车辆位于GPS数据对应区域的时间。
一种实现方式中,服务器接收到GPS设备上传的GPS数据后,可以将接收到GPS数据的时间作为GPS数据的上传时间;另一种实现方式中,GPS数据的上传时间还可以由GPS设备确定,并作为GPS数据的一部分由GPS设备发送至服务器。
S103、根据查询到的GPS设备获得过车查询结果。
一种情况下,上述过车查询结果中可以仅仅包含查询到的GPS设备的标识;
另一种情况下,上述过车查询结果中还可以包含查询到的GPS设备所对应车辆的标识,例如,车辆的车牌号等等;
再一种情况下,上述过车查询结果中除了可以包含上述两种信息外,还可以包含:查询到的GPS设备在待查询区域且在待查询区域对应的待查询时间段上传过的GPS数据。
一种实现方式中,由于过车查询结果中可能会存在重复的数据,例如,过车查询结果中存在重复的GPS设备的标识、存在重复的GPS数据等等,为保证获得有效的过车查询结果,在获得过车查询结果后,还可以对过车查询结果进行数据过滤,以过滤掉过车查询结果中的重复数据。
本申请的一种实现方式中,根据查询到的GPS设备获得过车查询结果时,可以根据预先获得的GPS设备与车辆的对应关系,确定查询到的GPS设备所对应车辆的车辆信息,获得查询到的每一GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据,然后根据查询到的GPS设备、所确定的车辆信息以及所获得的GPS数据的数量、起始GPS数据、终止GPS数据,获得过车查询结果。
由于用户进行过车查询的目的往往是希望通过过车查询结果了解车辆的运行情况,例如,车辆是否在正常的线路上运行、车辆运行轨迹,等等,因此,在上述过车查询方法中查询的GPS设备为:在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。进而根据查询到的GPS设备获得过车查询结果,这样便可以获得车辆在各待查询区域的待查询时间段的车辆信息及GPS数据,进而获得车辆运行情况。
查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备时,可以通过多种实现方式实现,下面通过图2和图3所示的实施例进行详细说明。
图2为本申请实施例提供的第二种过车查询方法的流程示意图,与前述图1所示的实施例相比,本实施例中,根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备(步骤S102),包括:
S102A、将待查询区域中的一个区域作为当前查询区域,根据车辆上GPS设备上传的GPS数据,查询与当前查询区域以及当前查询时间段两者匹配的GPS信息,作为查询基础GPS信息。
其中,当前查询时间段为:当前查询区域的待查询时间段。
S102B、判断待查询区域中是否存在未作为当前查询区域的区域,若存在,执行步骤S102C,若不存在,执行步骤S102D。
当步骤S101中所获得的待查询区域仅仅为一个区域时,经过步骤S102A待查询区域中不会再存在未作为当前查询区域的区域,直接执行步骤S102D。
当步骤S101中所获得的待查询区域包含一个以上区域时,仅仅经过步骤S102A后待查询区域中还会再存在未作为当前查询区域的区域,这样通过判断并执行步骤S102C保证步骤S101中所获得的每一待查询区域均被遍历。
S102C、将当前查询区域更新为未作为当前查询区域的一个待查询区域,基于上述查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息,并将上述查询基础GPS信息更新为查询到的GPS信息,返回步骤S102B。
从本步骤来看,本实施例中,每次将当前查询区域更新为一个新的待查询区域后,也就是将当前查询区域更新为未作为当前查询区域的一个待查询区域后,查询与当前查询区域和当前查询时间段两者匹配的GPS信息时,均是在上一次查询得到的查询基础GPS信息基础上进行查询,也就是随着查询的进行,每次更新当前查询区域后,需要查询的数据越来越少。
例如,待查询区域为A、B、C三个区域,分别对应的待查询时间段为a、b、c,在上述步骤S102A将待查询区域为A作为当前查询区域,查询与待查询区域为A以及查询时间段a两者匹配的查询基础GPS信息为S1,那么,在本步骤中,将待查询区域为B作为当前查询区域,基于上述查询基础GPS信息S1, 查询与待查询区域为B和待查询时间段b两者匹配的GPS信息,假设其为GPS信息S2,那么便将上述查询基础GPS信息更新为GPS信息S2。下一次查询时便在GPS信息S2基础上进行查询,需要查询的数据越来越少。
S102D、根据上述查询基础GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,本实施例中,采用的是串行查询的方式,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,使得整个查询过程中,每一次查询需要匹配的数据越来越少,从而提高查询效率。
上述图2所示实施例中提及的,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,可以包含以下两种情况。
情况一:在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表。
上述GPS设备的列表中所包含的信息可以是GPS设备的标识等用于区分各个GPS设备的信息。下面以GPS设备的列表中所包含的信息为GPS设备的标识为例进行说明。
这种情况下,上述查询基础GPS信息也为GPS设备的列表,基于此,上述步骤S102C中,基于查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息时,可以理解为:从查询基础GPS信息所包含GPS设备的标识对应的GPS设备中,确定在当前查询区域且在当前查询时间段中上传过GPS数据的GPS设备。确定出的GPS设备的标识即为与当前查询区域和当前查询时间段两者匹配的GPS信息,在此之后可以得到所确定的GPS设备的标识形成的GPS设备的列表。
之后将查询基础GPS信息更新为上述形成的GPS设备的列表,由于下一次查询是在刚刚更新后的查询基础GPS信息基础上进行的,也就是,从刚刚更新后的查询基础GPS信息所包含的GPS设备的标识中,筛选出符合条件的GPS设备的标识,这样经过逐次查询后,查询基础GPS信息中所包含的GPS设备的标识越来越少,后续每次进行查询时需要匹配的数据越来越少,查询速度越来 越快。
在基于上述情况一的一种实现方式中,在步骤S102C基于查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息之后,也就是确定出在当前查询区域在当前查询时间段中上传过GPS数据的GPS设备之后,还可以获得所确定出的各个GPS设备在当前查询区域在当前查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据。
情况二:在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
这种情况下,上述查询基础GPS信息也为GPS数据,这样上述步骤S102C中,基于查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息时,可以理解为:确定上传查询基础GPS信息所包含GPS数据的GPS设备,为便于描述这里称之为第一类GPS设备,查找第一类GPS设备在当前查询区域且在当前查询时间段上传过的GPS数据,查找到的GPS数据即为与当前查询区域和当前查询时间段两者匹配的GPS信息。
之后将查询基础GPS信息更新为上述查找到的GPS数据,由于下一次查询是在刚刚更新后的查询基础GPS信息基础上进行的,也就是,从第二类GPS设备上传的数据中,筛选符合条件的GPS数据,其中,第二类GPS设备是指:上传刚刚更新后的查询基础GPS信息所包含GPS数据的GPS设备。这样经过逐次查询后,上传查询基础GPS信息中所包含GPS数据的GPS设备越来越少,后续每次进行查询时需要匹配的数据越来越少,查询速度越来越快。
在基于上述情况二的一种实现方式中,在步骤S102C基于查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息之后,也就是确定出在当前查询区域在当前查询时间段中上传的GPS数据之后,还可以依据确定出的GPS数据,获得各个第三类GPS设备在当前查询区域在当前查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据,其中,第三类GPS设备是指:上传确定出的GPS数据的GPS设备。
图3为本申请实施例提供的第三种过车查询方法的流程示意图,与前述图 1所示的实施例相比,本实施例中,根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备(步骤S102),包括:
S102E、根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息。
从本步骤来看,对于每一待查询区域而言,均是从车辆上GPS设备上传的GPS数据中,查询与这一待查询区域以及这一待查询区域的待查询时间段两者匹配的GPS信息,也就是各个待查询区域的查询基础是相同的。
S102F、根据查询到的GPS信息中共有的GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,本实施例中,针对每一待查询区域进行查询时,查询基础是相同的,这样针对一个待查询区域的查询结果,不会影响针对其他待查询区域的查询结果,也就是针对各个待查询区域可以采用并行查询的方式进行查询,从而提高查询效率。
上述图3所示实施例中提及的,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,可以包含以下两种情况。
情况一:在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表。
上述GPS设备的列表中所包含的信息可以是GPS设备的标识等用于区分各个GPS设备的信息。下面以GPS设备的列表中所包含的信息为GPS设备的标识为例进行说明。
这样步骤S102E中根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息时,可以理解为:依据车辆上GPS设备上传的GPS数据,确定出在每一待查询区域且在每一待查询区域的待查询时间段上传过GPS数据的GPS设备。对于每一待查询区域而言,确定出的GPS设备的标识即为:与该待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,在此之后可以得到每一待查询区域对应的GPS设备的列表。
取所有列表中分别包含的GPS设备的标识的交集,这一交集所包含标识对应的GPS设备,即为:每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
基于上述情况一的一种实现方式中,步骤S102E中根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息之后,也就是,确定出在每一待查询区域且在每一待查询区域的待查询时间段上传过GPS数据的GPS设备之后,还可以针对每一待查询区域,获得针对这一待查询区域确定的GPS设备在这一待查询区域且在这一待查询区域的待查询时间段中上传过GPS数据的数量、起始GPS数据和终止GPS数据。
情况二:在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
这样步骤S102E中根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息时,可以理解为:依据车辆上GPS设备上传的GPS数据,确定出在每一待查询区域且在每一待查询区域的待查询时间段上传的GPS数据,对于每一待查询区域而言,确定出的GPS数据即为:与该待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息。
取针对每一待查询区域确定出的GPS数据的交集,上传这一交集所包含GPS数据的GPS设备,即为:每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
基于上述情况二的一种实现方式中,步骤S102E中根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息之后,也就是,确定出在每一待查询区域且在每一待查询区域的待查询时间段上传的GPS数据之后,还可以,根据针对每一待查询区域确定出的GPS数据,获得第四类GPS设备所上传GPS数据的数量、起始GPS数据和终止GPS数据,其中,第四类GPS设备是指,在一个待查询区域且在这一待查询区域的待查询时间段中上传过GPS数据的GPS设备。
从前面的描述可以得知,车辆上的GPS设备可以是按照一定的时间间隔向服务器上传GPS数据的,以一台GPS设备每10秒向服务器上传一条GPS数据为例,一台GPS设备一天向服务器上传的GPS数据为8640条,那么,5000台GPS设备一天向服务器上传的GPS数据是43200000条,可见服务器每天会接收到大量GPS设备上传的GPS数据,也就是服务器上所存储GPS数据的量是非常庞大的。这种情况下,依据服务器中存储的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备时,查询效率会比较低下。
为提高查询效率,本申请的一个实施例中,如图4所示,提供了第四种过车查询方法,本实施例中,车辆上GPS设备上传的GPS数据按照时间存储在不同数据表中,其中,一个数据表对应一个时间段。
具体的,按照时间在数据表中存储GPS数据时,可以是按照GPS数据的上传时间进行存储的,当然,大多数情况下,可以认为一条GPS数据的上传时间与采集时间是一致的,所以,也可以理解为是按照GPS数据的采集时间进行存储的。上述时间段可以是半天、一天、两天等等,本申请并不对此进行限定。
基于上述情况,根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备(步骤S102),包括:
S102G、根据待查询区域的待查询时间段,确定用于存储目标数据的数据表。
其中,目标数据为:在各个待查询区域且在各个待查询区域的待查询时间段上传的GPS数据。
例如,上述待查询时间段可以是:2017年9月27日的13点至14点等等。
S102H、根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,以数据表的形式存储GPS数据后,可以先根据待查询时间段 初步筛查用于存储目标数据的数据表,这样在进行GPS设备查询时,只需依据初步筛查出的数据表中存储的数据进行查询即可,而不必在GPS设备上传的所有数据中进行查询,可以大大减少GPS设备查询过程中需要匹配的数据量,能够大大提高查询速度。
在上述图4所示实施例的基础上,本申请的一种实现方式中,还可以获得待查询车辆范围,这样可以认为限定了待查询车辆的范围。
例如,上述待查询车辆的范围可以是123路公交车包含的所有车辆,可以是车牌号在一定范围内的出租车等等。
基于上述情况,根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备(步骤S102)时,可以根据所确定数据表中存储的数据,在上述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。也就是,不仅仅要求车辆上的GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据,还要求查询到的GPS设备所对应的车辆在上述待查询车辆范围内。
由于上述实现方式中,还获得了待查询车辆的范围,这样能够更加有针对性的为用户提供过车查询结果。
发明人结合本申请实施例提供的过车查询方法应用的场景进行了大量数据分析,发现在进行过车查询时,在最新时间段内进行查询的概率较高,例如,查询今天的过车信息的概率较高,基于此,本申请的一种实现方式中,最新数据表存在至少两个临时表,其中,最新数据表为:数据表中对应时间段为最新时间段的数据表。一个临时表与一个数据分类相对应,一个临时表中存储有最新时间段内车辆上GPS设备上传的GPS数据中属于该临时表所对应数据分类的GPS数据,数据分类为根据时间和/或GPS设备的设备信息确定的分类。
例如,假设上述时间段为:一天,也就是一个数据表对应一天,一个数 据表中存储的GPS数据为:车辆上的GPS设备在一天中上传的GPS数据。
根据时间确定数据分类时,可以是将上述时间段进一步细分为更小的时间子段,一个时间子段对应一个数据分类,例如,时间段为一天,则可以将一天划分为6个时间子段,每4个小时对应一个时间子段等等。
根据GPS设备的设备信息确定数据分类时,可以依据GPS设备标识的hash(Hash Function,哈希)值等信息确定数据分类。
基于上述情况,根据待查询区域的待查询时间段,确定用于存储目标数据的数据表时,可以在待查询区域的待查询时间段均属于上述最新时间段时,根据各个待查询时间段和/或待查询车辆范围内车辆所对应GPS设备的设备信息,确定用于存储目标数据的临时表;
根据所确定数据表中存储的数据,在待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备(步骤S102)时,在所确定的临时表中并行查询属于上述待查询车辆范围、在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,本实现方式中,在待查询区域的待查询时间段均属于最新时间段时,采用并行查询临时表的方式进行GPS设备查询,由此可以大大提供GPS设备查询的查询效率。
本申请的一种实现方式中,当上述最新时间段结束,进入下一时间段时,可以依据上述各个临时表中存储的GPS数据,生成上述最新时间段对应的数据表,并删除上述最新时间段对应的临时表,当然,另一种实现方式中,也可以在将GPS设备在上述最新时间段内上传的GPS数据既存储在临时表中,又存储在最新时间段对应的数据表中,待进入下一时间段时,直接删除临时表即可。
例如,上述时间段为一天,则最新时间段为:今天0点至24点,则当达到今天24点时,今天一天结束了,这时可以用今天对应的临时表中存储的GPS数据生成今天对应的数据表。
下面通过具体实施例对利用GPS设备标识的hash值确定数据分类的情况 进行详细说明。
在利用GPS设备标识的hash值确定数据分类时,需要预先设定每一数据分类对应的hash值范围,又由于一个数据分类对应一个临时表,也就是每一临时表与一个hash值范围相对应,这样在接收到一台GPS设备上传的GPS数据后,计算这一GPS设备的设备标识的hash值,然后根据计算得到的hash值确定用于进行存储数据的临时表,并将接收到的GPS数据存储至所确定的临时表中。
本申请的一种实现方式中,为了更直观地显示车辆的过车信息,可以以可视化界面的形式显示过车查询结果。这样用户可以从可视化界面上直观的查看过车查询结果外,还可以在可视化界面上选定待查询区域、配置待查询时间段、配置待查询车辆的范围等等,使得过车查询更加方便快捷,查询效率更高。
另外,获得过车查询结果后,还可以根据所获得的过车查询结果生成车辆的运行轨迹,并在上述可视化界面上展示所生成的运行轨迹,这样用户能够直观的了解到车辆的运行情况,例如,车辆是否在正常的线路上运行等等。
与上述过车查询方法相对应,本申请实施例还提供了一种过车查询装置。
图5为本申请实施例提供的第一种过车查询装置的结构示意图,该装置包括:
信息获得模块501,用于获得待查询区域和每一待查询区域的待查询时间段;
设备查询模块502,用于根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
结果获得模块503,用于根据查询到的GPS设备获得过车查询结果。
具体的,所述结果获得模块503可以包括:
信息确定子模块,用于根据预先获得的GPS设备与车辆的对应关系,确定查询到的GPS设备所对应车辆的车辆信息;
信息获得子模块,用于获得查询到的每一GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据;
结果获得子模块,用于根据查询到的GPS设备、所确定的车辆信息以及所获得的GPS数据的数量、起始GPS数据、终止GPS数据,获得过车查询结果。
由以上可见,应用上述各个实施例提供的方案进行过车查询时,是根据车辆上GPS设备上传的GPS数据查询过车信息的,当一车辆上的GPS设备在一时间段内在一个区域上传过GPS数据,则说明该车辆在这一时间段内在这一区域中出现过,这样只需要车辆上的GPS设备上报GPS数据,即可获得车辆运行信息,也就是,车辆上GPS设备上报的GPS数据可以用于进行车辆查询,从而达到查询过车信息的目的,与现有技术中人工签到的方式相比,减少了人力消耗,提高了过车查询效率。
本申请的一个实施例中,参见图6,提供了第二种过车查询装置的结构示意图,与前述图5所示实施例相比,本实施例中,设备查询模块502,包括:
第一信息查询子模块502A,用于将待查询区域中的一个区域作为当前查询区域,根据车辆上GPS设备上传的GPS数据,查询与当前查询区域以及当前查询时间段两者匹配的GPS信息,作为查询基础GPS信息,其中,当前查询时间段为:当前查询区域的待查询时间段;
第二信息查询子模块502B,用于在待查询区域中存在未作为当前查询区域的区域时,重复执行:将当前查询区域更新为未作为当前查询区域的一个待查询区域,基于所述查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息,并将所述查询基础GPS信息更新为查询到的GPS信息,直至待查询区域中不存在未作为当前查询区域的区域;
第一设备确定子模块502C,用于根据所述查询基础GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,本实施例中,采用的是串行查询的方式,查询在每一待查 询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,使得整个查询过程中,每一次查询需要匹配的数据越来越少,从而提高查询效率。
本申请的一个实施例中,参见图7,提供了第三种过车查询装置的结构示意图,与前述图5所示实施例相比,本实施例中,设备查询模块502,包括:
第三信息查询子模块502D,用于根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息;
第二设备确定子模块502E,用于根据查询到的GPS信息中共有的GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,本实施例中,针对每一待查询区域进行查询时,查询基础是相同的,这样针对一个待查询区域的查询结果,不会影响针对其他待查询区域的查询结果,也就是针对各个待查询区域可以采用并行查询的方式进行查询,从而提高查询效率。
具体的,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息可以包括:
在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表;或
在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
本申请的一个实施例中,参见图8,提供了第四种过车查询装置的结构示意图,与前述图5所示实施例相比,本实施例中,车辆上GPS设备上传的GPS数据按照时间存储在不同数据表中,其中,一个数据表对应一个时间段;
所述设备查询模块502,包括:
表确定子模块502F,用于根据待查询区域的待查询时间段,确定用于存储目标数据的数据表,其中,所述目标数据为:在各个待查询区域且在各个待查询区域的待查询时间段上传的GPS数据;
设备查询子模块502G,用于根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
由以上可见,以数据表的形式存储GPS数据后,可以先根据待查询时间段初步筛查用于存储目标数据的数据表来,这样在进行GPS设备查询时,只需依据初步筛查出的数据表中存储的数据进行查询即可,而不必在GPS设备上传的所有数据中进行查询,可以大大减少GPS设备查询过程中需要匹配的数据量,能够大大提高查询速度。
具体的,上述过车查询装置还可以包括:
范围获得模块,用于获得待查询车辆范围;
所述设备查询子模块,具体用于根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
具体的,最新数据表存在至少两个临时表,所述最新数据表为:数据表中对应时间段为最新时间段的数据表,一个临时表与一个数据分类相对应,一个临时表中存储有所述最新时间段内车辆上GPS设备上传的GPS数据中属于该临时表所对应数据分类的GPS数据,数据分类为根据时间和/或GPS设备的设备信息确定的分类;
所述表确定子模块,具体用于在待查询区域的待查询时间段均属于所述最新时间段时,根据各个待查询时间段和/或所述待查询车辆范围内车辆所对应GPS设备的设备信息,确定用于存储目标数据的临时表;
所述设备查询子模块,具体用于在所确定的临时表中并行查询属于所述 待查询车辆范围、在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
本申请实施例还提供了一种电子设备,参见图9,图9为本申请实施例的电子设备的结构图,包括:处理器901、通信接口902、存储器903和通信总线904,其中,处理器901、通信接口902、存储器903通过通信总线904完成相互间的通信;
存储器903,用于存放计算机程序;
处理器901,用于执行存储器903上所存放的程序时,实现本申请实施例提供的过车查询方法的步骤。
本申请的一个实施例中,上述过车查询方法,包括:
获得待查询区域和每一待查询区域的待查询时间段;
根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
根据查询到的GPS设备获得过车查询结果。
需要说明的是,上述处理器901执行存储器903上所存放的程序而实现的过车查询方法的其他实施例,与前述方法实施例部分提供的实施例相同,这里不再赘述。
需要说明的是,上述电子设备提到的通信总线904可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。该通信总线904可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口902用于上述电子设备与其他设备之间的通信。
存储器903可以包括RAM(Random Access Memory,随机存取存储器),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。 可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器901可以是通用处理器,包括:CPU(Central Processing Unit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(Digital Signal Processing,数字信号处理器)、ASIC(Application Specific Integrated Circuit,专用集成电路)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
由以上可见,本实施例提供的方案中,电子设备是根据车辆上GPS设备上传的GPS数据查询过车信息的,当一车辆上的GPS设备在一时间段内在一个区域上传过GPS数据,则说明该车辆在这一时间段内在这一区域中出现过,这样只需要车辆上的GPS设备上报GPS数据,即可获得车辆运行信息,也就是,车辆上GPS设备上报的GPS数据可以用于进行车辆查询,从而达到查询过车信息的目的,与现有技术中人工签到的方式相比,减少了人力消耗,提高了过车查询效率。
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质内存储有计算机程序,计算机程序被处理器执行时,实现本申请实施例提供的过车查询方法的步骤。
本申请的一个实施例中,上述过车查询方法,包括:
获得待查询区域和每一待查询区域的待查询时间段;
根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
根据查询到的GPS设备获得过车查询结果。
需要说明的是,上述处理器执行上述计算机可读存储介质中存储的计算机程序而实现的过车查询方法的其他实施例,与前述方法实施例部分提供的实施例相同,这里不再赘述。
由以上可见,本实施例提供的方案中,通过执行上述计算机可读存储介 质中存储的计算程序而进行过车查询时,是根据车辆上GPS设备上传的GPS数据查询过车信息的,当一车辆上的GPS设备在一时间段内在一个区域上传过GPS数据,则说明该车辆在这一时间段内在这一区域中出现过,这样只需要车辆上的GPS设备上报GPS数据,即可获得车辆运行信息,也就是,车辆上GPS设备上报的GPS数据可以用于进行车辆查询,从而达到查询过车信息的目的,与现有技术中人工签到的方式相比,减少了人力消耗,提高了过车查询效率。
本申请还提供了一种应用程序,该应用程序用于在运行时执行本申请实施例提供的过车查询方法的步骤。
本申请的一个实施例中,上述过车查询方法,包括:
获得待查询区域和每一待查询区域的待查询时间段;
根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
根据查询到的GPS设备获得过车查询结果。
需要说明的是,上述应用程序在运行时实现的过车查询方法的其他实施例,与前述方法实施例部分提供的实施例相同,这里不再赘述。
由以上可见,本实施例提供的方案中,通过运行上述应用程序而进行过车查询时,是根据车辆上GPS设备上传的GPS数据查询过车信息的,当一车辆上的GPS设备在一时间段内在一个区域上传过GPS数据,则说明该车辆在这一时间段内在这一区域中出现过,这样只需要车辆上的GPS设备上报GPS数据,即可获得车辆运行信息,也就是,车辆上GPS设备上报的GPS数据可以用于进行车辆查询,从而达到查询过车信息的目的,与现有技术中人工签到的方式相比,减少了人力消耗,提高了过车查询效率。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要 素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于过车查询装置、电子设备及计算机可读存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (19)

  1. 一种过车查询方法,其特征在于,所述方法包括:
    获得待查询区域和每一待查询区域的待查询时间段;
    根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
    根据查询到的GPS设备获得过车查询结果。
  2. 根据权利要求1所述的方法,其特征在于,所述根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
    将待查询区域中的一个区域作为当前查询区域,根据车辆上GPS设备上传的GPS数据,查询与当前查询区域以及当前查询时间段两者匹配的GPS信息,作为查询基础GPS信息,其中,当前查询时间段为:当前查询区域的待查询时间段;
    在待查询区域中存在未作为当前查询区域的区域时,重复执行:将当前查询区域更新为未作为当前查询区域的一个待查询区域,基于所述查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息,并将所述查询基础GPS信息更新为查询到的GPS信息,直至待查询区域中不存在未作为当前查询区域的区域;
    根据所述查询基础GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  3. 根据权利要求1所述的方法,其特征在于,所述根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
    根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息;
    根据查询到的GPS信息中共有的GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  4. 根据权利要求2或3所述的方法,其特征在于,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,包括:
    在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表;或
    在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
  5. 根据权利要求1-3中任一项所述的方法,其特征在于,所述根据查询到的GPS设备获得过车查询结果,包括:
    根据预先获得的GPS设备与车辆的对应关系,确定查询到的GPS设备所对应车辆的车辆信息;
    获得查询到的每一GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据;
    根据查询到的GPS设备、所确定的车辆信息以及所获得的GPS数据的数量、起始GPS数据、终止GPS数据,获得过车查询结果。
  6. 根据权利要求1所述的方法,其特征在于,车辆上GPS设备上传的GPS数据按照时间存储在不同数据表中,其中,一个数据表对应一个时间段;
    所述根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
    根据待查询区域的待查询时间段,确定用于存储目标数据的数据表,其中,所述目标数据为:在各个待查询区域且在各个待查询区域的待查询时间段上传的GPS数据;
    根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    获得待查询车辆范围;
    所述根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
    根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  8. 根据权利要求7所述的方法,其特征在于,最新数据表存在至少两个临时表,所述最新数据表为:数据表中对应时间段为最新时间段的数据表,一个临时表与一个数据分类相对应,一个临时表中存储有所述最新时间段内车辆上GPS设备上传的GPS数据中属于该临时表所对应数据分类的GPS数据,数据分类为根据时间和/或GPS设备的设备信息确定的分类;
    所述根据待查询区域的待查询时间段,确定用于存储目标数据的数据表,包括:
    在待查询区域的待查询时间段均属于所述最新时间段时,根据各个待查询时间段和/或所述待查询车辆范围内车辆所对应GPS设备的设备信息,确定用于存储目标数据的临时表;
    所述根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备,包括:
    在所确定的临时表中并行查询属于所述待查询车辆范围、在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  9. 一种过车查询装置,其特征在于,所述装置包括:
    信息获得模块,用于获得待查询区域和每一待查询区域的待查询时间段;
    设备查询模块,用于根据车辆上GPS设备上传的GPS数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备;
    结果获得模块,用于根据查询到的GPS设备获得过车查询结果。
  10. 根据权利要求9所述的装置,其特征在于,所述设备查询模块,包括:
    第一信息查询子模块,用于将待查询区域中的一个区域作为当前查询区域,根据车辆上GPS设备上传的GPS数据,查询与当前查询区域以及当前查询 时间段两者匹配的GPS信息,作为查询基础GPS信息,其中,当前查询时间段为:当前查询区域的待查询时间段;
    第二信息查询子模块,用于在待查询区域中存在未作为当前查询区域的区域时,重复执行:将当前查询区域更新为未作为当前查询区域的一个待查询区域,基于所述查询基础GPS信息,查询与当前查询区域和当前查询时间段两者匹配的GPS信息,并将所述查询基础GPS信息更新为查询到的GPS信息,直至待查询区域中不存在未作为当前查询区域的区域;
    第一设备确定子模块,用于根据所述查询基础GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  11. 根据权利要求9所述的装置,其特征在于,所述设备查询模块,包括:
    第三信息查询子模块,用于根据车辆上GPS设备上传的GPS数据,查询与每一待查询区域以及每一待查询区域的待查询时间段两者匹配的GPS信息;
    第二设备确定子模块,用于根据查询到的GPS信息中共有的GPS信息,确定在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  12. 根据权利要求10或11所述的装置,其特征在于,与一个待查询区域以及该待查询区域的待查询时间段两者匹配的GPS信息,包括:
    在一个待查询区域且在该待查询区域的待查询时间段中上传过GPS数据的GPS设备的列表;或
    在一个待查询区域且在该待查询区域的待查询时间段中上传的GPS数据。
  13. 根据权利要求9-11中任一项所述的装置,其特征在于,所述结果获得模块,包括:
    信息确定子模块,用于根据预先获得的GPS设备与车辆的对应关系,确定查询到的GPS设备所对应车辆的车辆信息;
    信息获得子模块,用于获得查询到的每一GPS设备在每一待查询区域且在每一待查询区域的待查询时间段中上传过的GPS数据的数量、起始GPS数据和终止GPS数据;
    结果获得子模块,用于根据查询到的GPS设备、所确定的车辆信息以及所获得的GPS数据的数量、起始GPS数据、终止GPS数据,获得过车查询结果。
  14. 根据权利要求9所述的装置,其特征在于,车辆上GPS设备上传的GPS数据按照时间存储在不同数据表中,其中,一个数据表对应一个时间段;
    所述设备查询模块,包括:
    表确定子模块,用于根据待查询区域的待查询时间段,确定用于存储目标数据的数据表,其中,所述目标数据为:在各个待查询区域且在各个待查询区域的待查询时间段上传的GPS数据;
    设备查询子模块,用于根据所确定数据表中存储的数据,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  15. 根据权利要求14所述的装置,其特征在于,所述装置还包括:
    范围获得模块,用于获得待查询车辆范围;
    所述设备查询子模块,具体用于根据所确定数据表中存储的数据,在所述待查询车辆范围中,查询在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  16. 根据权利要求15所述的装置,其特征在于,最新数据表存在至少两个临时表,所述最新数据表为:数据表中对应时间段为最新时间段的数据表,一个临时表与一个数据分类相对应,一个临时表中存储有所述最新时间段内车辆上GPS设备上传的GPS数据中属于该临时表所对应数据分类的GPS数据,数据分类为根据时间和/或GPS设备的设备信息确定的分类;
    所述表确定子模块,具体用于在待查询区域的待查询时间段均属于所述最新时间段时,根据各个待查询时间段和/或所述待查询车辆范围内车辆所对应GPS设备的设备信息,确定用于存储目标数据的临时表;
    所述设备查询子模块,具体用于在所确定的临时表中并行查询属于所述待查询车辆范围、在每一待查询区域且在每一待查询区域的待查询时间段中均上传过GPS数据的GPS设备。
  17. 一种电子设备,其特征在于,包括:处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口、所述存储器通过所述通信总线完成相互间的通信;
    所述存储器,用于存放计算机程序;
    所述处理器,用于执行所述存储器上所存放的计算机程序,实现权利要求1-8任一所述的方法步骤。
  18. 一种计算机可读存储介质,其特征在于,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-8任一所述的方法步骤。
  19. 一种应用程序,其特征在于,所述应用程序用于在运行时执行权利要求1-8任一项所述的方法步骤。
PCT/CN2018/099251 2017-09-30 2018-08-07 一种过车查询方法、装置、电子设备及可读存储介质 WO2019062338A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710920313.2A CN109598963A (zh) 2017-09-30 2017-09-30 一种过车查询方法、装置、电子设备及可读存储介质
CN201710920313.2 2017-09-30

Publications (1)

Publication Number Publication Date
WO2019062338A1 true WO2019062338A1 (zh) 2019-04-04

Family

ID=65900587

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099251 WO2019062338A1 (zh) 2017-09-30 2018-08-07 一种过车查询方法、装置、电子设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN109598963A (zh)
WO (1) WO2019062338A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367958B (zh) * 2019-11-19 2024-03-08 杭州海康威视系统技术有限公司 一种数据分析方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009277A1 (en) * 2001-07-03 2003-01-09 Fan Rodric C. Using location data to determine traffic information
US20090172010A1 (en) * 2007-12-28 2009-07-02 Industrial Technology Research Institute Data classification system and method for building classification tree for the same
CN103198151A (zh) * 2013-04-24 2013-07-10 北京航空航天大学 区域性城市公交车辆运行信息的索引查询系统及方法
CN203276364U (zh) * 2013-06-13 2013-11-06 深圳供电局有限公司 一种车辆全过程运行管理信息系统
CN105575155A (zh) * 2016-01-08 2016-05-11 上海雷腾软件股份有限公司 用于确定车辆行驶信息的方法和设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101251861B (zh) * 2008-03-18 2010-04-21 北京锐安科技有限公司 一种海量数据加载和查询的方法
CN102937980B (zh) * 2012-10-18 2016-04-13 亿赞普(北京)科技有限公司 一种集群数据库数据查询方法
CN104462236A (zh) * 2014-11-14 2015-03-25 浪潮(北京)电子信息产业有限公司 一种基于大数据的伴随车辆识别方法和装置
CN106599121B (zh) * 2016-11-30 2020-11-10 海尔优家智能科技(北京)有限公司 一种用于物联网的数据处理方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009277A1 (en) * 2001-07-03 2003-01-09 Fan Rodric C. Using location data to determine traffic information
US20090172010A1 (en) * 2007-12-28 2009-07-02 Industrial Technology Research Institute Data classification system and method for building classification tree for the same
CN103198151A (zh) * 2013-04-24 2013-07-10 北京航空航天大学 区域性城市公交车辆运行信息的索引查询系统及方法
CN203276364U (zh) * 2013-06-13 2013-11-06 深圳供电局有限公司 一种车辆全过程运行管理信息系统
CN105575155A (zh) * 2016-01-08 2016-05-11 上海雷腾软件股份有限公司 用于确定车辆行驶信息的方法和设备

Also Published As

Publication number Publication date
CN109598963A (zh) 2019-04-09

Similar Documents

Publication Publication Date Title
US8930123B2 (en) Systems and methods for determining traffic intensity using information obtained through crowdsourcing
WO2019205020A1 (zh) 一种路况识别方法、装置及设备
US11302195B2 (en) Traffic service obtaining method and related device
CN112579718B (zh) 一种城市用地功能的识别方法、装置及终端设备
CN115617938B (zh) 基于时空历史比对的车辆轨迹重复校验方法及装置
CN111325428A (zh) 一种工单推送方法、装置及存储介质
CN111369797A (zh) 车辆监测方法、电子围栏的构建方法、电子围栏及装置
WO2019062338A1 (zh) 一种过车查询方法、装置、电子设备及可读存储介质
CN116311969A (zh) 一种获取车流量的数据处理系统
CN116168541A (zh) 一种获取道路通行状态的数据处理系统
CN111415510B (zh) 一种交通数据的获得方法及装置
CN110017842B (zh) 货运车辆导航方法、终端设备及存储介质
CN110706481A (zh) 提高交通拥堵发现和处理速度的控制方法及装置
CN112863223B (zh) 公交车信息提示方法、装置、存储介质及程序产品
CN113282638B (zh) 一种城建用车识别方法和装置
US20180197142A1 (en) Trailer tracking system using mobile device
Kumarmanas et al. An innovative device for monitoring and controlling vehicular movement in a Smart city
CN111414437B (zh) 线路轨迹的生成方法及装置
CN115499499A (zh) 管理信息的推送方法、服务器及存储介质
CN112466143A (zh) 一种基于区块链的路程分段提醒方法、装置及系统
CN113821735B (zh) 识别非法加油站点的方法、装置、设备及存储介质
US10144434B2 (en) Method and apparatus for identifying a cause for a fuel inefficiency of a vehicle via a network
CN114461933B (zh) 基于周边搜索的车辆推荐方法、装置、设备及存储介质
CN111294919B (zh) 一种伪基站定位方法、装置、电子设备及存储介质
CN115574828B (zh) 一种垃圾回收点位确定方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18862851

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18862851

Country of ref document: EP

Kind code of ref document: A1