CN109598963A - It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing - Google Patents

It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109598963A
CN109598963A CN201710920313.2A CN201710920313A CN109598963A CN 109598963 A CN109598963 A CN 109598963A CN 201710920313 A CN201710920313 A CN 201710920313A CN 109598963 A CN109598963 A CN 109598963A
Authority
CN
China
Prior art keywords
checked
region
gps
data
period
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201710920313.2A
Other languages
Chinese (zh)
Inventor
陈柏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201710920313.2A priority Critical patent/CN109598963A/en
Priority to PCT/CN2018/099251 priority patent/WO2019062338A1/en
Publication of CN109598963A publication Critical patent/CN109598963A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the present application provides a kind of vehicle querying method, device, electronic equipment and readable storage medium storing program for executing excessively, is applied to vehicle technology field, which comprises obtain the period to be checked in region to be checked and each region to be checked;According to the GPS data that GPS device on vehicle uploads, inquire each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data;Vehicle query result was obtained according to the GPS device inquired.Vehicle inquiry was carried out using scheme provided by the embodiments of the present application, improves search efficiency.

Description

It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing
Technical field
This application involves vehicle technology field, vehicle querying method, device, electronic equipment and readable are crossed more particularly to a kind of Storage medium.
Background technique
With the development of society, the increase of urban population, urban transportation are increasingly valued by people.And public transport It is the important component of urban transportation, bus and taxi are the main vehicles in public transport.Taxi is public Department or public transport company need to consider for the safety problem of passenger, often need to carry out vehicle inquiry, that is, when inquiring one or more snippets In Vehicular behavior in some or multiple regions, can be subsequent various problems according to the analysis of car operation situation Do follow-up study.
It is existing to cross in vehicle inquiring technology, it commonly relies on the mode registered by hand and obtains vehicle operating information, for example, needle To bus using arrive at a station register by the way of obtain bus running information, for taxi using timing report by the way of obtain Then taxi operation information carried out vehicle inquiry according to above-mentioned vehicle operating information obtained, and obtained the vehicle for needing to inquire Information.
Although can inquire the information for needing the vehicle inquired using aforesaid way under normal conditions, application is above-mentioned Time-consuming and laborious when mode carried out vehicle inquiry, the efficiency for crossing vehicle inquiry is relatively low.
Summary of the invention
The embodiment of the present application is designed to provide a kind of vehicle querying method, device, electronic equipment and readable storage medium excessively Matter, to improve the efficiency of vehicle inquiry.Specific technical solution is as follows:
The embodiment of the present application discloses a kind of vehicle querying method excessively, which comprises
Obtain the period to be checked in region to be checked and each region to be checked;
According to the GPS data that GPS device on vehicle uploads, inquire in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data;
Vehicle query result was obtained according to the GPS device inquired.
In a kind of implementation of the application, the GPS data uploaded according to GPS device on vehicle is inquired each Region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data, comprising:
Using a region in region to be checked as current queries region, the GPS number uploaded according to GPS device on vehicle According to, inquiry and the matched GPS information in both current queries region and current queries period, as inquiring basic GPS information, Wherein, the current queries period are as follows: the period to be checked in current queries region;
When there is the region not as current queries region in region to be checked, repeat: by current queries region It is updated to a region to be checked not as current queries region, based on the basic GPS information of the inquiry, inquires and currently looks into It askes the matched GPS information in both region and current queries period, and inquires what basic GPS information was updated to inquire for described GPS information, until there is no the not regions as current queries region in region to be checked;
According to the basic GPS information of the inquiry, determine in each region to be checked and in the to be checked of each region to be checked It askes in the period on and is transmitted through the GPS device of GPS data.
In a kind of implementation of the application, the GPS data uploaded according to GPS device on vehicle is inquired each Region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data, comprising:
According to the GPS data that GPS device on vehicle uploads, inquiry and each region to be checked and each region to be checked Both periods to be checked matched GPS information;
According to the GPS information shared in the GPS information inquired, determine in each region to be checked and each to be checked In the period to be checked in region on be transmitted through the GPS device of GPS data.
Period to be checked in a kind of implementation of the application, with a region to be checked and the region to be checked The matched GPS information of the two, comprising:
The GPS that GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked is set Standby list;Or
In a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked.
In a kind of implementation of the application, the GPS device that the basis inquires obtained vehicle query result, comprising:
According to the corresponding relationship of the GPS device and vehicle that are obtained ahead of time, vehicle corresponding to the GPS device inquired is determined Information of vehicles;
Each GPS device for inquiring is obtained in each region to be checked and time to be checked in each region to be checked Quantity, starting GPS data and the termination GPS data for the GPS data being transmitted through in section;
According to the quantity of the GPS device, identified information of vehicles and GPS data obtained that inquire, starting GPS Data terminate GPS data, obtain vehicle query result.
In a kind of implementation of the application, the GPS data that GPS device uploads on vehicle is stored in different numbers according to the time According in table, wherein an a tables of data corresponding period;
The GPS data uploaded according to GPS device on vehicle, is inquired in each region to be checked and each to be checked In the period to be checked in region on be transmitted through the GPS device of GPS data, comprising:
According to the period to be checked in region to be checked, the tables of data for storing target data is determined, wherein the mesh Mark data are as follows: in each region to be checked and in the GPS data of the period to be checked in each region to be checked upload;
According to the data stored in determined tables of data, inquire in each region to be checked and in each region to be checked In period to be checked on be transmitted through the GPS device of GPS data.
It is described to cross vehicle querying method in a kind of implementation of the application further include:
Obtain vehicle range to be checked;
It is described according to the data stored in determined tables of data, inquire in each region to be checked and in each area to be checked In the period to be checked in domain on be transmitted through the GPS device of GPS data, comprising:
According to the data stored in determined tables of data, in the vehicle range to be checked, inquire each to be checked Region and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
In a kind of implementation of the application, there are at least two interim tables, the latest data tables for latest data table are as follows: The tables of data that the period is the newest period is corresponded in tables of data, an interim table is corresponding with a data classification, and one is faced When table in be stored in the newest period in the GPS data that GPS device on vehicle uploads and belong to number corresponding to the interim table According to the GPS data of classification, data classification is the classification determined according to the facility information of time and/or GPS device;
The period to be checked according to region to be checked, determine the tables of data for storing target data, comprising:
When period to be checked in region to be checked belongs to the newest period, according to each period to be checked And/or in the vehicle range to be checked GPS device corresponding to vehicle facility information, determine for storing facing for target data When table;
It is described according to the data stored in determined tables of data, in the vehicle range to be checked, inquiry it is each to Query region and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data, comprising:
In identified interim table parallel query belong to the vehicle range to be checked, each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
The embodiment of the present application discloses a kind of mistake vehicle inquiry unit, and described device includes:
Information acquisition module, for obtaining the period to be checked in region to be checked and each region to be checked;
Equipment query module, the GPS data for being uploaded according to GPS device on vehicle, is inquired in each region to be checked And in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data;
As a result module is obtained, for obtaining vehicle query result according to the GPS device inquired.
In a kind of implementation of the application, the equipment query module, comprising:
The first information inquires submodule, for using a region in region to be checked as current queries region, according to The GPS data that GPS device uploads on vehicle, inquiry and the matched GPS in both current queries region and current queries period Information, as the basic GPS information of inquiry, wherein the current queries period are as follows: the period to be checked in current queries region;
Second information inquires submodule, when for there is the region not as current queries region in region to be checked, It repeats: being a not region to be checked as current queries region by current queries area update, be based on the inquiry Basic GPS information, inquiry and the matched GPS information in both current queries region and current queries period, and by the inquiry Basic GPS information is updated to the GPS information inquired, until there is no the not areas as current queries region in region to be checked Domain;
First equipment determines submodule, for according to the basic GPS information of the inquiry, determination in each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
In a kind of implementation of the application, the equipment query module, comprising:
Third information inquire submodule, for according on vehicle GPS device upload GPS data, inquiry with it is each to be checked Ask both periods to be checked in region and each region to be checked matched GPS information;
Second equipment determines submodule, for determining each according to the GPS information shared in the GPS information inquired Region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
Period to be checked in a kind of implementation of the application, with a region to be checked and the region to be checked The matched GPS information of the two, comprising:
The GPS that GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked is set Standby list;Or
In a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked.
In a kind of implementation of the application, the result obtains module, comprising:
Information determines submodule, inquires for the corresponding relationship according to the GPS device and vehicle being obtained ahead of time, determination The information of vehicles of vehicle corresponding to GPS device;
Information acquisition submodule, for obtain each GPS device inquired each region to be checked and it is each to Quantity, starting GPS data and the termination GPS data for the GPS data being transmitted through in the period to be checked of query region;
As a result obtain submodule, for according to inquire GPS device, identified information of vehicles and obtained The quantity of GPS data, terminates GPS data at starting GPS data, obtains vehicle query result.
In a kind of implementation of the application, the GPS data that GPS device uploads on vehicle is stored in different numbers according to the time According in table, wherein an a tables of data corresponding period;
The equipment query module, comprising:
Table determines submodule, for the period to be checked according to region to be checked, determines for storing target data Tables of data, wherein the target data are as follows: in each region to be checked and on the period to be checked in each region to be checked The GPS data of biography;
Equipment query submodule, for inquiring in each region to be checked according to the data stored in determined tables of data And in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
It is described to cross vehicle inquiry unit in a kind of implementation of the application further include:
Range obtains module, for obtaining vehicle range to be checked;
The equipment query module, specifically for according to the data stored in determined tables of data, in the vehicle to be checked In range, inquiry each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS number According to GPS device.
In a kind of implementation of the application, there are at least two interim tables, the latest data tables for latest data table are as follows: The tables of data that the period is the newest period is corresponded in tables of data, an interim table is corresponding with a data classification, and one is faced When table in be stored in the newest period in the GPS data that GPS device on vehicle uploads and belong to number corresponding to the interim table According to the GPS data of classification, data classification is the classification determined according to the facility information of time and/or GPS device;
The table determines submodule, belongs to the newest time specifically for the period to be checked in region to be checked Duan Shi believes according to the equipment of GPS device corresponding to vehicle in each period to be checked and/or the vehicle range to be checked Breath, determines the interim table for storing target data;
The equipment query module, specifically in identified interim table parallel query belong to the vehicle to be checked Range, each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS of GPS data and set It is standby.
The embodiment of the present application discloses a kind of electronic equipment, comprising: processor, communication interface, memory and communication bus, Wherein, the processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor realizes the embodiment of the present application institute for executing the computer program stored on the memory The method and step stated.
A kind of computer readable storage medium is stored with computer program, the computer program in the storage medium Method and step described in the embodiment of the present application is realized when being executed by processor.
It as seen from the above, when carrying out vehicle inquiry using scheme provided by the embodiments of the present application, is set according to GPS on vehicle The standby GPS data uploaded inquired vehicle information, when the GPS device on a vehicle uploads within a period in a region GPS data is crossed, then illustrates that the vehicle occurred in this region within this period, only needs the GPS on vehicle in this way Equipment reports GPS data, can be obtained vehicle operating information, it is, the GPS data that GPS device reports on vehicle can be used In progress vehicle query, thus achieve the purpose that inquire vehicle information, compared with the mode that prior art is manually registered than in, Reduce manpower consumption, improves vehicle search efficiency.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 be it is provided by the embodiments of the present application the first cross the flow diagram of vehicle querying method;
Fig. 2 is the second provided by the embodiments of the present application flow diagram for crossing vehicle querying method;
Fig. 3 is that provided by the embodiments of the present application the third crosses the flow diagram of vehicle querying method;
Fig. 4 is the 4th kind provided by the embodiments of the present application flow diagram for crossing vehicle querying method;
Fig. 5 be it is provided by the embodiments of the present application the first cross the structural schematic diagram of vehicle inquiry unit;
Fig. 6 is the second provided by the embodiments of the present application structural schematic diagram for crossing vehicle inquiry unit;
Fig. 7 is that provided by the embodiments of the present application the third crosses the structural schematic diagram of vehicle inquiry unit;
Fig. 8 is the 4th kind provided by the embodiments of the present application structural schematic diagram for crossing vehicle inquiry unit;
Fig. 9 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In daily life, for convenience of the trip of people, it usually needs understand the traffic-operating period of vehicle.Existing vehicle of crossing is looked into In inquiry technology, most car operation enterprises depend on the manual mode of registering to obtain vehicle operating information for crossing the statistics of vehicle, than Such as bus using arrive at a station register by the way of obtain bus running information, for taxi using periodically report by the way of Obtain taxi operation information etc., vehicle inquiry then carried out according to above-mentioned vehicle operating information obtained, in this way it is time-consuming again Arduously, it is lower to cross vehicle search efficiency.In order to solve the above technical problems, providing a kind of vehicle excessively in one embodiment of the application Querying method, this method comprises:
Obtain the period to be checked in region to be checked and each region to be checked;
According to the GPS data that GPS device on vehicle uploads, inquire in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data;
Vehicle query result was obtained according to the GPS device inquired.
It can be seen that being the GPS uploaded according to GPS device on vehicle when application scheme provided in this embodiment carried out vehicle inquiry Data query crosses vehicle information, when the GPS device on a vehicle is transmitted through GPS data on a region within a period, Then illustrate that the vehicle occurred in this region within this period, only needs the GPS device on vehicle to report GPS in this way Data can be obtained vehicle operating information, look into it is, the GPS data that GPS device reports on vehicle can be used for carrying out vehicle It askes, to achieve the purpose that inquire vehicle information, compared with the mode that prior art is manually registered than in, reduces manpower and disappear Consumption, improved vehicle search efficiency.
Vehicle querying method provided by the embodiments of the present application of crossing is described in detail below by specific embodiment.
Fig. 1 be it is provided by the embodiments of the present application the first cross the flow diagram of vehicle querying method, this method comprises:
S101, the period to be checked for obtaining region and each region to be checked to be checked.
Region to be checked obtained in this step can be a region, be also possible to more than one region, the application It is defined not to this.
When region to be checked obtained is more than one region, there may be overlapped area between these regions to be checked Domain, naturally it is also possible to overlapping region be not present.
S102, the GPS data uploaded according to GPS device on vehicle, are inquired in each region to be checked and each to be checked It askes in the period to be checked in region on and is transmitted through the GPS device of GPS data.
GPS device is installed, that is, a vehicle and a GPG equipment have unique corresponding relationship on vehicle.GPS Equipment by receive satellite backhaul information can determine GPS device location information (e.g., longitude, latitude, azimuth etc.), Movement speed etc., since GPS device is installed on vehicle, so, after GPS device determines above- mentioned information, can also it recognize For the location information, the movement speed that obtain vehicle where the GPS device etc. information.
It, can be by these information together with the equipment of GPS device after GPS device obtains the information such as location information, movement speed Number is uploaded to server together, these data for being sent to server can be referred to as GPS data.Above-mentioned server can be with It is interpreted as providing the equipment of vehicle query service, or the equipment for storing GPS data.
Specifically, GPS device can be according to the information of certain frequency reception satellite backhaul, correspondingly, GPS device can be with GPS data is uploaded to server according to certain frequency, for example, GPS device can upload one to server with every 10s, 20s etc. GPS data.
For each GPS device is uploaded to each GPS data of server, a uplink time can be corresponded to, this Vehicle where one uplink time can be understood as GPS device is located at the time of GPS data corresponding region.
In a kind of implementation, after server receives the GPS data of GPS device upload, GPS data can will be received Uplink time of the time as GPS data;In another implementation, the uplink time of GPS data can also be by GPS device It determines, and a part as GPS data is sent to server by GPS device.
S103, vehicle query result was obtained according to the GPS device inquired.
In a kind of situation, above-mentioned cross in vehicle query result can be only comprising the mark of the GPS device inquired;
In another case, above-mentioned cross in vehicle query result can also be comprising vehicle corresponding to the GPS device that inquires Mark, for example, the license plate number etc. of vehicle;
In the case of another, in above-mentioned vehicle query result excessively other than it may include above two information, can also include: The GPS device inquired is in region to be checked and the GPS data that is transmitted through on the corresponding period to be checked of region to be checked.
In a kind of implementation, there may be duplicate data due to crossing in vehicle query result, for example, crossing vehicle inquiry knot There are the mark of duplicate GPS device, there are duplicate GPS data etc. in fruit, effective vehicle inquiry knot is crossed to guarantee to obtain Fruit can also carry out data filtering to vehicle query result is crossed, to filter out vehicle query result after obtaining vehicle query result In repeated data.
It, can basis when obtaining vehicle query result according to the GPS device inquired in a kind of implementation of the application The corresponding relationship of the GPS device and vehicle that are obtained ahead of time determines the information of vehicles of vehicle corresponding to the GPS device inquired, obtains The each GPS device that must be inquired in each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS data quantity, starting GPS data and terminate GPS data, then according to inquire GPS device, identified vehicle Information and the quantity of GPS data obtained, terminate GPS data at starting GPS data, obtain vehicle query result.
Inquiry each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS data GPS device when, can be realized by a variety of implementations, be carried out specifically below by Fig. 2 and embodiment shown in Fig. 3 It is bright.
Fig. 2 is the second provided by the embodiments of the present application flow diagram for crossing vehicle querying method, and aforementioned shown in FIG. 1 Embodiment is compared, in the present embodiment, according on vehicle GPS device upload GPS data, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device (S102) of GPS data, comprising:
S102A, using a region in region to be checked as current queries region, uploaded according to GPS device on vehicle GPS data, inquiry with the matched GPS information in both current queries region and current queries period, as inquiry basis GPS information.
Wherein, the current queries period are as follows: the period to be checked in current queries region.
S102B, judge in region to be checked with the presence or absence of the not region as current queries region, and if it exists, execute S102C executes S102D if it does not exist.
When the region to be checked obtained in S101 is only a region, by will not in the region to be checked S102A There is the not region as current queries region again, directly execution S102D.
When the region to be checked obtained in S101 includes more than one region, area to be checked after S102A is only passed through Can also there be the not region as current queries region in domain again, guarantee to be obtained in S101 by judging and executing S102C in this way The each region to be checked obtained is traversed.
S102C, by current queries area update it is a not region to be checked as current queries region, is based on above-mentioned Basic GPS information, inquiry and the matched GPS information in both current queries region and current queries period are inquired, and will be above-mentioned It inquires basic GPS information and is updated to the GPS information inquired, return to S102B.
From the point of view of this step, in the present embodiment, after being a new region to be checked for current queries area update every time, It when inquiry is with the matched GPS information in both current queries region and current queries period, is obtained in upper primary inquiry It is inquired on the basis of the basic GPS information of inquiry, that is, with the progress of inquiry, after updating current queries region every time, is needed The data to be inquired are fewer and fewer.
S102D, according to above-mentioned inquiry basis GPS information, determine in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data.
As seen from the above, in the present embodiment, using the mode of Series poll, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data so that in entire query process, often One query needs matched data fewer and fewer, to improve search efficiency.
It is referred in above-mentioned embodiment illustrated in fig. 2, when to be checked with a region to be checked and the region to be checked Between the matched GPS information of both sections, may include following two situation.
Situation one: GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked GPS device list
Information included in the list of above-mentioned GPS device can be mark of GPS device etc. and set for distinguishing each GPS Standby information.It is illustrated for the information included in the list of GPS device is the mark of GPS device below.
In this case, above-mentioned inquiry basis GPS information is also the list of GPS device, is based on this, in above-mentioned S102C, base It, can be with when inquiry is with the matched GPS information in both current queries region and current queries period in inquiring basic GPS information Understand are as follows: from the corresponding GPS device of mark for inquiring the included GPS device of basic GPS information, determine in current queries region The GPS device of GPS data is transmitted through in the current queries period, the mark of the GPS device determined is and current queries The matched GPS information in both region and current queries period, it is available after this determined by GPS device mark shape At GPS device list.
The list basic GPS information will be inquired be updated to the GPS device of above-mentioned formation later, due to inquire next time be It has just been carried out on the basis of the basic GPS information of updated inquiry, it is, from the basic GPS information of just updated inquiry In the mark for the GPS device for being included, the mark of qualified GPS device is filtered out, in this way after gradually inquiring, inquiry The mark of GPS device included in basic GPS information is fewer and fewer, subsequent to need matched data to get over when being inquired every time Come fewer, inquiry velocity is getting faster.
In a kind of based on the above situation one implementation, it is based on inquiring basic GPS information in S102C, inquires and work as After the matched GPS information of both preceding query region and current queries period, that is, determine to exist in current queries region It is transmitted through after the GPS device of GPS data in the current queries period, each GPS device determined can also be obtained and existed Current queries region in the current queries period on be transmitted through GPS data quantity, starting GPS data and terminate GPS data.
Situation two: in a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked
In this case, above-mentioned inquiry basis GPS information is also GPS data, in S102C above-mentioned in this way, based on inquiry base Plinth GPS information, when inquiry is with the matched GPS information in both current queries region and current queries period, it is possible to understand that are as follows: really It is fixed to upload the GPS device for inquiring the included GPS data of basic GPS information, it is set for ease of description referred to herein as first kind GPS It is standby, search the GPS data that first kind GPS device is transmitted through on the current queries period in current queries region, the GPS found Data be and the matched GPS information in both current queries region and current queries period.
Basic GPS information will be inquired later and is updated to the above-mentioned GPS data found, is just due to inquiring next time It is carried out on the basis of the updated basic GPS information of inquiry, it is, from the data that the second class GPS device uploads, screening symbol The GPS data of conjunction condition, wherein the second class GPS device refers to: uploading the basic GPS information of just updated inquiry is included The GPS device of GPS data, in this way after gradually inquiring, the GPS for uploading GPS data included in the basic GPS information of inquiry is set Standby fewer and fewer, subsequent to need matched data fewer and fewer when being inquired every time, inquiry velocity is getting faster.
In a kind of based on the above situation two implementation, it is based on inquiring basic GPS information in S102C, inquires and work as After the matched GPS information of both preceding query region and current queries period, that is, determine to exist in current queries region After the GPS data uploaded in the current queries period, each third class GPS can also be obtained according to the GPS data determined Quantity, starting GPS data and the termination for the GPS data that equipment is transmitted through on current queries region is in the current queries period GPS data, third class GPS device refer to: uploading the GPS device for the GPS data determined.
Fig. 3 is that provided by the embodiments of the present application the third crosses the flow diagram of vehicle querying method, and aforementioned shown in FIG. 1 Embodiment is compared, in the present embodiment, according on vehicle GPS device upload GPS data, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device (S102) of GPS data, comprising:
S102E, the GPS data uploaded according to GPS device on vehicle, inquiry and each region to be checked and each to be checked Ask both periods to be checked in region matched GPS information.
It is the GPS data that GPS device uploads from vehicle for each region to be checked from the point of view of this step In, the matched GPS information of both inquiry and the period to be checked in this region to be checked and this region to be checked, also It is the inquiry basis in each region to be checked is identical.
The GPS information shared in the GPS information that S102F, basis inquire, determines in each region to be checked and each In the period to be checked in region to be checked on be transmitted through the GPS device of GPS data.
As seen from the above, in the present embodiment, when being inquired for each region to be checked, inquiry basis be it is identical, It is directed to the query result in a region to be checked in this way, will not influence the query result for other regions to be checked, that is, It can be inquired by the way of parallel query for each region to be checked, to improve search efficiency.
It is referred in above-mentioned embodiment illustrated in fig. 3, when to be checked with a region to be checked and the region to be checked Between the matched GPS information of both sections, may include following two situation.
Situation one: GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked GPS device list
Information included in the list of above-mentioned GPS device can be mark of GPS device etc. and set for distinguishing each GPS Standby information.It is illustrated for the information included in the list of GPS device is the mark of GPS device below.
The GPS data uploaded in S102E in this way according to GPS device on vehicle, inquiry is with each region to be checked and often When both periods to be checked in one region to be checked matched GPS information, it is possible to understand that are as follows: according in GPS device on vehicle The GPS data of biography is determined to be transmitted through GPS number in each region to be checked and on the period to be checked in each region to be checked According to GPS device, for each region to be checked, the mark for the GPS device determined is i.e. are as follows: with the region to be checked with And both periods to be checked in the region to be checked matched GPS information, available each region to be checked after this The list of corresponding GPS device.
The intersection of the mark of the GPS device separately included in all lists is taken, this intersection includes the corresponding GPS of mark Equipment, i.e., are as follows: each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS data GPS device.
Based on the above situation in a kind of one implementation, the GPS data uploaded in S102E according to GPS device on vehicle, After the matched GPS information of both inquiry and the period to be checked in each region to be checked and each region to be checked, It is exactly the GPS for determining in each region to be checked and being transmitted through on the period to be checked in each region to be checked GPS data After equipment, it can also be directed to each region to be checked, the GPS device that determines for this region to be checked is obtained and wait at this Query region and in the period to be checked in this region to be checked on be transmitted through quantity, the starting GPS data and end of GPS data Only GPS data.
Situation two: in a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked
The GPS data uploaded in S102E in this way according to GPS device on vehicle, inquiry is with each region to be checked and often When both periods to be checked in one region to be checked matched GPS information, it is possible to understand that are as follows: according in GPS device on vehicle The GPS data of biography is determined in each region to be checked and in the GPS number of the period to be checked in each region to be checked upload According to for each region to be checked, the GPS data determined is i.e. are as follows: with the region to be checked and the region to be checked Both periods to be checked matched GPS information.
The intersection for taking the GPS data determined for each region to be checked, uploads the included GPS data of this intersection GPS device, i.e., are as follows: each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS data GPS device.
Based on the above situation in a kind of two implementation, the GPS data uploaded in S102E according to GPS device on vehicle, After the matched GPS information of both inquiry and the period to be checked in each region to be checked and each region to be checked, It is exactly to determine in each region to be checked and after the GPS data that the period to be checked in each region to be checked uploads, It is also possible that obtaining the 4th the uploaded GPS data of class GPS device according to the GPS data determined for each region to be checked Quantity, starting GPS data and termination GPS data, wherein the 4th class GPS device refers to, in a region to be checked and at this The GPS device of GPS data is transmitted through in the period to be checked in region to be checked.
From the description of front it is known that the GPS device on vehicle can be according to certain time interval to server Upload GPS data, by taking a GPS device every 10 seconds upload a GPS data to server as an example, one GPS device one day The GPS data uploaded to server is 8640, then, it is to the GPS data that server uploads within 5000 GPS devices one day 43200000, it is seen that server can receive the GPS data that a large amount of GPS devices upload daily, that is, be deposited on server It is very large for storing up the amount of GPS data.In this case, it according to the GPS data stored in server, inquires each to be checked Ask region and in the period to be checked in each region to be checked on when being transmitted through the GPS device of GPS data, search efficiency meeting Under relatively low.
To improve search efficiency, in one embodiment of the application, as shown in figure 4, providing the 4th kind crosses vehicle issuer Method, in the present embodiment, the GPS data that GPS device uploads on vehicle is stored in different data table according to the time, wherein one Tables of data corresponds to a period.
Specifically, when GPS data is stored in tables of data according to the time, can be uplink time according to GPS data into Row storage, certainly, in most cases, it is believed that the uplink time and acquisition time of a GPS data are consistent, institutes With, it is understood that be stored according to the acquisition time of GPS data.The above-mentioned period can be half a day, one day, two It etc., the application are defined not to this.
Based on the above situation, according on vehicle GPS device upload GPS data, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device (102) of GPS data, comprising:
S102G, the period to be checked according to region to be checked, determine the tables of data for storing target data.
Wherein, target data are as follows: uploaded in each region to be checked and in the period to be checked in each region to be checked GPS data.
For example, the above-mentioned period to be checked may is that 13 points to 14 points etc. of on September 27th, 2017.
S102H, according to the data stored in determined tables of data, inquire in each region to be checked and each to be checked In the period to be checked in region on be transmitted through the GPS device of GPS data.
It as seen from the above, can be first according to period to be checked preliminary screening after storing GPS data in the form of tables of data Tables of data for storing target data is come, only need to be according to the tables of data of preliminary screening out in this way when carrying out GPS device inquiry The data of middle storage are inquired, and without being inquired in all data that GPS device uploads, can be greatly reduced Matched data volume is needed in GPS device query process, can greatly improve inquiry velocity.
On the basis of above-mentioned embodiment illustrated in fig. 4, in a kind of implementation of the application, vehicle to be checked can also be obtained Range, in this way it is considered that defining the range of vehicle to be checked.
For example, the range of above-mentioned vehicle to be checked can be all vehicles that No. 123 buses include, license plate number can be Taxi in a certain range etc..
Based on the above situation, it according to the data stored in determined tables of data, inquires in each region to be checked and every In the period to be checked in one region to be checked on when being transmitted through GPS device (S102) of GPS data, can be according to determined number According to the data stored in table, in above-mentioned vehicle range to be checked, inquire in each region to be checked and in each area to be checked In the period to be checked in domain on be transmitted through the GPS device of GPS data.It is, the GPS device not only required nothing more than on vehicle exists Each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS data, also require inquire GPS device corresponding to vehicle in above-mentioned vehicle range to be checked.
Due to having also obtained the range of vehicle to be checked in above-mentioned implementation, can more targetedly be in this way User provided vehicle query result.
Inventor combines the scene provided by the embodiments of the present application for crossing the application of vehicle querying method to carry out mass data analysis, It was found that when carrying out vehicle inquiry, the probability inquired within the newest period is higher, for example, inquiring the vehicle information excessively of today Probability it is higher, be based on this, in a kind of implementation of the application, there are at least two interim tables for latest data table, wherein most New data table are as follows: the tables of data that the period is the newest period, an interim table and a data classification phase are corresponded in tables of data It is corresponding, it is stored in the newest period in an interim table in the GPS data that GPS device uploads on vehicle and belongs to the interim table institute The GPS data of corresponding data classification, data classification are the classification determined according to the facility information of time and/or GPS device.
For example, it is assumed that the above-mentioned period are as follows: one day, that is, tables of data is one day corresponding, stores in a tables of data GPS data are as follows: the GPS data that the GPS device on vehicle uploads in one day.
When determining data classification according to the time, it can be and the above-mentioned period is further subdivided into smaller time subsegment, The corresponding data classification of one time subsegment then can be divided into 6 time subsegments for one day for example, the period is one day, Corresponding time subsegment of every 4 hours etc.;
When determining data classification according to the facility information of GPS device, the information such as hash value that can be identified according to GPS device Determine data classification.
Based on the above situation, according to the period to be checked in region to be checked, the data for storing target data are determined When table, when the period to be checked in region to be checked can belong to the above-mentioned newest period, according to each time to be checked The facility information of GPS device corresponding to vehicle in section and/or vehicle range to be checked, determines for storing the interim of target data Table;
According to the data stored in determined tables of data, in vehicle range to be checked, inquire in each region to be checked And in the period to be checked in each region to be checked on when being transmitted through GPS device (S102) of GPS data, identified In interim table parallel query belong to above-mentioned vehicle range to be checked, each region to be checked and each region to be checked to In query time section on be transmitted through the GPS device of GPS data.
As seen from the above, in this implementation, when the period to be checked in region to be checked belongs to the newest period, GPS device inquiry is carried out by the way of the interim table of parallel query, it is possible thereby to provide the inquiry effect of GPS device inquiry significantly Rate.
In a kind of implementation of the application, terminate when the above-mentioned newest period, it, can foundation when into subsequent time period The GPS data stored in above-mentioned each interim table generates corresponding tables of data of above-mentioned newest period, and when deleting above-mentioned newest Between the corresponding interim table of section, certainly, in another implementation, can also by GPS device within the above-mentioned newest period on The GPS data of biography had not only been stored in interim table, but also was stored in corresponding tables of data of newest period, wait enter subsequent time period When, directly delete interim table.
For example, the above-mentioned period is one day, then newest period are as follows: 0 point to 24 points of today, then when reaching 24 points of today When, one day today finished, and corresponding data today at this moment can be generated with the GPS data stored in corresponding interim table today Table.
The case where determining data classification to the hash value identified using GPS device below by specific embodiment carries out detailed Explanation.
When the hash identified using GPS device determines data classification, it is corresponding to need to preset each data classification Hash value range, and due to the corresponding interim table of a data classification, that is, each interim table and a hash value range It is corresponding, in this way after the GPS data for receiving the upload of a GPS device, calculate the hash of the device identification of this GPS device Then value determines the interim table for carrying out storing data according to the hash value being calculated, and the GPS data received is deposited Storage is into identified interim table.
It, can be to visualize boundary in order to more intuitively show the vehicle information excessively of vehicle in a kind of implementation of the application The form in face showed vehicle query result.User can intuitively check outside vehicle query result from visualization interface in this way, Region to be checked, configuration period to be checked, the range of configuration vehicle to be checked etc. can also be selected on visualization interface, So that crossing, vehicle inquiry is more convenient, and search efficiency is higher.
In addition, after obtaining vehicle query result, it can also be according to the operation obtained crossed vehicle query result and generate vehicle Track, and running track generated is shown on above-mentioned visualization interface, such user can get information about vehicle Operating condition, for example, vehicle whether on normal route operation etc..
It is corresponding with above-mentioned vehicle querying method of crossing, vehicle inquiry unit is crossed the embodiment of the present application also provides a kind of.
Fig. 5 be it is provided by the embodiments of the present application the first cross the structural schematic diagram of vehicle inquiry unit, which includes:
Information acquisition module 501, for obtaining the period to be checked in region to be checked and each region to be checked;
Equipment query module 502, the GPS data for being uploaded according to GPS device on vehicle, is inquired in each area to be checked Domain and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data;
As a result module 503 is obtained, for obtaining vehicle query result according to the GPS device inquired.
Specifically, the result acquisition module 503 may include:
Information determines submodule, inquires for the corresponding relationship according to the GPS device and vehicle being obtained ahead of time, determination The information of vehicles of vehicle corresponding to GPS device;
Information acquisition submodule, for obtain each GPS device inquired each region to be checked and it is each to Quantity, starting GPS data and the termination GPS data for the GPS data being transmitted through in the period to be checked of query region;
As a result obtain submodule, for according to inquire GPS device, identified information of vehicles and obtained The quantity of GPS data, terminates GPS data at starting GPS data, obtains vehicle query result.
It as seen from the above, is according to GPS on vehicle when carrying out vehicle inquiry using the scheme that above-mentioned each embodiment provides Equipment upload GPS data inquired vehicle information, when the GPS device on a vehicle within a period on a region It is transmitted through GPS data, then illustrates that the vehicle occurred in this region within this period, only needs on vehicle in this way GPS device reports GPS data, can be obtained vehicle operating information, it is, the GPS data that GPS device reports on vehicle can be with For carrying out vehicle query, to achieve the purpose that the mode phase inquiring vehicle information, and manually registering than in prior art Than reducing manpower consumption, improving vehicle search efficiency.
In one embodiment of the application, referring to Fig. 6, second of structural schematic diagram for crossing vehicle inquiry unit is provided, with Aforementioned embodiment illustrated in fig. 5 is compared, in the present embodiment, equipment query module 502, comprising:
The first information inquires submodule 502A, for using a region in region to be checked as current queries region, According to the GPS data that GPS device on vehicle uploads, inquire matched with both current queries region and current queries period GPS information, as the basic GPS information of inquiry, wherein the current queries period are as follows: the period to be checked in current queries region;
Second information inquires submodule 502B, for there is the not region as current queries region in region to be checked When, it repeats: being a not region to be checked as current queries region by current queries area update, looked into based on described Basic GPS information, inquiry and the matched GPS information in both current queries region and current queries period are ask, and is looked into described It askes basic GPS information and is updated to the GPS information inquired, until there is no as current queries region in region to be checked Region;
First equipment determines submodule 502C, for determining in each area to be checked according to the basic GPS information of the inquiry Domain and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
As seen from the above, in the present embodiment, using the mode of Series poll, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data so that in entire query process, often One query needs matched data fewer and fewer, to improve search efficiency.
In one embodiment of the application, referring to Fig. 7, the third structural schematic diagram for crossing vehicle inquiry unit is provided, with Aforementioned embodiment illustrated in fig. 5 is compared, in the present embodiment, equipment query module 502, comprising:
Third information inquire submodule 502D, for according on vehicle GPS device upload GPS data, inquiry with it is each Both periods to be checked in region to be checked and each region to be checked matched GPS information;
Second equipment determines submodule 502E, for determining according to the GPS information shared in the GPS information inquired Each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
As seen from the above, in the present embodiment, when being inquired for each region to be checked, inquiry basis be it is identical, It is directed to the query result in a region to be checked in this way, will not influence the query result for other regions to be checked, that is, It can be inquired by the way of parallel query for each region to be checked, to improve search efficiency.
Specifically, believing with both periods to be checked in a region to be checked and the region to be checked matched GPS Breath may include:
The GPS that GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked is set Standby list;Or
In a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked.
In one embodiment of the application, referring to Fig. 8, the 4th kind of structural schematic diagram for crossing vehicle inquiry unit is provided, with Aforementioned embodiment illustrated in fig. 5 is compared, and in the present embodiment, the GPS data that GPS device uploads on vehicle is stored in difference according to the time In tables of data, wherein an a tables of data corresponding period;
The equipment query module 502, comprising:
Table determines submodule 502F, for the period to be checked according to region to be checked, determines for storing number of targets According to tables of data, wherein the target data are as follows: in each region to be checked and time to be checked in each region to be checked The GPS data of Duan Shangchuan;
Equipment query submodule 502G, for inquiring each to be checked according to the data stored in determined tables of data Region and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
It as seen from the above, can be first according to period to be checked preliminary screening after storing GPS data in the form of tables of data Tables of data for storing target data is come, only need to be according to the tables of data of preliminary screening out in this way when carrying out GPS device inquiry The data of middle storage are inquired, and without being inquired in all data that GPS device uploads, can be greatly reduced Matched data volume is needed in GPS device query process, can greatly improve inquiry velocity.
Specifically, above-mentioned vehicle inquiry unit of crossing can also include:
Range obtains module, for obtaining vehicle range to be checked;
The equipment query submodule, specifically for according to the data stored in determined tables of data, described to be checked In vehicle range, inquiry each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS The GPS device of data.
Specifically, there are at least two interim tables, the latest data tables are as follows: correspond to the time in tables of data for latest data table Section is the tables of data of newest period, and an interim table is corresponding with a data classification, is stored in an interim table described Belong to the GPS data of data classification corresponding to the interim table in the GPS data that GPS device uploads on vehicle in the newest period, Data classification is the classification determined according to the facility information of time and/or GPS device;
The table determines submodule, belongs to the newest time specifically for the period to be checked in region to be checked Duan Shi believes according to the equipment of GPS device corresponding to vehicle in each period to be checked and/or the vehicle range to be checked Breath, determines the interim table for storing target data;
The equipment query submodule, specifically in identified interim table parallel query belong to the vehicle to be checked Range, each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS of GPS data Equipment.
The embodiment of the present application also provides a kind of electronic equipment, are the electronic equipment of the embodiment of the present application referring to Fig. 9, Fig. 9 Structure chart, comprising: processor 901, communication interface 902, memory 903 and communication bus 904, wherein processor 901, logical Letter interface 902, memory 903 complete mutual communication by communication bus 904;
Memory 903, for storing computer program;
Processor 901 when for executing the program stored on memory 903, realizes mistake provided by the embodiments of the present application The step of vehicle querying method.
It is above-mentioned to cross vehicle querying method in one embodiment of the application, comprising:
Obtain the period to be checked in region to be checked and each region to be checked;
According to the GPS data that GPS device on vehicle uploads, inquire in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data;
Vehicle query result was obtained according to the GPS device inquired.
It should be noted that above-mentioned processor 901 executes the program stored on memory 903 and that realizes crosses vehicle inquiry The other embodiments of method, identical as the embodiment that preceding method embodiment part provides, which is not described herein again.
It should be noted that the communication bus 904 that above-mentioned electronic equipment is mentioned can be PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus etc..The communication bus 904 can be divided into address bus, data/address bus, Control bus etc..Only to be indicated with a thick line in Fig. 9, it is not intended that an only bus or a seed type convenient for indicating Bus.
Communication interface 902 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 903 may include RAM (Random Access Memory, random access memory), also may include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor 901 can be general processor, comprising: CPU (Central Processing Unit, center Processor), NP (Network Processor, network processing unit) etc.;It can also be DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit, it is dedicated Integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.
As seen from the above, in scheme provided in this embodiment, electronic equipment is the GPS uploaded according to GPS device on vehicle Data query crosses vehicle information, when the GPS device on a vehicle is transmitted through GPS data on a region within a period, Then illustrate that the vehicle occurred in this region within this period, only needs the GPS device on vehicle to report GPS in this way Data can be obtained vehicle operating information, look into it is, the GPS data that GPS device reports on vehicle can be used for carrying out vehicle It askes, to achieve the purpose that inquire vehicle information, compared with the mode that prior art is manually registered than in, reduces manpower and disappear Consumption, improved vehicle search efficiency.
The embodiment of the present application also provides a kind of computer readable storage medium, it is stored in computer readable storage medium Computer program when computer program is executed by processor, realizes the step of crossing vehicle querying method provided by the embodiments of the present application.
It is above-mentioned to cross vehicle querying method in one embodiment of the application, comprising:
Obtain the period to be checked in region to be checked and each region to be checked;
According to the GPS data that GPS device on vehicle uploads, inquire in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data;
Vehicle query result was obtained according to the GPS device inquired.
It should be noted that above-mentioned processor execute the computer program stored in above-mentioned computer readable storage medium and The other embodiments for crossing vehicle querying method of realization, it is identical as the embodiment that preceding method embodiment part provides, here no longer It repeats.
As seen from the above, it in scheme provided in this embodiment, is stored by executing in above-mentioned computer readable storage medium Calculation procedure and carried out vehicle inquiry when, be according on vehicle GPS device upload GPS data inquired vehicle information, when GPS device on one vehicle is transmitted through GPS data on a region within a period, then illustrates the vehicle in this time Occurred in this region in section, and only needed the GPS device on vehicle to report GPS data in this way, and can be obtained vehicle operation Information inquired vehicle letter to reach it is, the GPS data that GPS device reports on vehicle can be used for carrying out vehicle query The purpose of breath reduces manpower consumption compared with the mode that prior art is manually registered than in, improves vehicle inquiry effect Rate.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is looked into especially for vehicle is crossed For asking device, electronic equipment and computer readable storage medium embodiment, since it is substantially similar to the method embodiment, so It is described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely the preferred embodiments of the application, are not intended to limit the protection scope of the application.It is all Any modification, equivalent replacement, improvement and so within spirit herein and principle are all contained in the protection scope of the application It is interior.

Claims (18)

1. a kind of cross vehicle querying method, which is characterized in that the described method includes:
Obtain the period to be checked in region to be checked and each region to be checked;
According to the GPS data that GPS device on vehicle uploads, inquire each region to be checked and each region to be checked to In query time section on be transmitted through the GPS device of GPS data;
Vehicle query result was obtained according to the GPS device inquired.
2. the method according to claim 1, wherein it is described according on vehicle GPS device upload GPS data, Inquire each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS of GPS data and set It is standby, comprising:
Using a region in region to be checked as current queries region, according to the GPS data that GPS device on vehicle uploads, Inquiry and the matched GPS information in both current queries region and current queries period, as inquiring basic GPS information, In, the current queries period are as follows: the period to be checked in current queries region;
When there is the region not as current queries region in region to be checked, repeat: by current queries area update For a region to be checked not as current queries region, based on the basic GPS information of the inquiry, inquiry and current queries area The matched GPS information in both domain and current queries period, and the basic GPS information of the inquiry is updated to the GPS inquired Information, until there is no the not regions as current queries region in region to be checked;
According to the basic GPS information of the inquiry, determine each region to be checked and each region to be checked it is to be checked when Between the GPS device of GPS data is transmitted through on Duan Zhongjun.
3. the method according to claim 1, wherein it is described according on vehicle GPS device upload GPS data, Inquire each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS of GPS data and set It is standby, comprising:
According to the GPS data that GPS device on vehicle uploads, inquiry and each region to be checked and each region to be checked to The matched GPS information of both query time sections;
According to the GPS information shared in the GPS information inquired, determine in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data.
4. according to the method in claim 2 or 3, which is characterized in that with a region to be checked and the region to be checked Both periods to be checked matched GPS information, comprising:
The GPS device of GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked List;Or
In a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked.
5. method according to any one of claim 1-3, which is characterized in that the GPS device that the basis inquires obtains Obtained vehicle query result, comprising:
According to the corresponding relationship of the GPS device and vehicle that are obtained ahead of time, the vehicle of vehicle corresponding to the GPS device inquired is determined Information;
The each GPS device inquired is obtained in each region to be checked and in the period to be checked in each region to be checked On be transmitted through GPS data quantity, starting GPS data and terminate GPS data;
According to the quantity of the GPS device, identified information of vehicles and GPS data obtained that inquire, starting GPS number According to, terminate GPS data, obtained vehicle query result.
6. the method according to claim 1, wherein the GPS data that GPS device uploads on vehicle is deposited according to the time Storage is in different data table, wherein an a tables of data corresponding period;
The GPS data uploaded according to GPS device on vehicle, is inquired in each region to be checked and in each region to be checked Period to be checked on be transmitted through the GPS device of GPS data, comprising:
According to the period to be checked in region to be checked, the tables of data for storing target data is determined, wherein the number of targets According to are as follows: in each region to be checked and in the GPS data of the period to be checked in each region to be checked upload;
According to the data stored in determined tables of data, inquire in each region to be checked and in the to be checked of each region to be checked It askes in the period on and is transmitted through the GPS device of GPS data.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
Obtain vehicle range to be checked;
It is described according to the data stored in determined tables of data, inquire in each region to be checked and in each region to be checked In period to be checked on be transmitted through the GPS device of GPS data, comprising:
According to the data stored in determined tables of data, in the vehicle range to be checked, inquire in each region to be checked And in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
8. the method according to the description of claim 7 is characterized in that latest data table is there are at least two interim tables, it is described most New data table are as follows: the tables of data that the period is the newest period, an interim table and a data classification phase are corresponded in tables of data It is corresponding, it is stored in the newest period in an interim table in the GPS data that GPS device uploads on vehicle and belongs to this temporarily The GPS data of data classification corresponding to table, data classification are the classification determined according to the facility information of time and/or GPS device;
The period to be checked according to region to be checked, determine the tables of data for storing target data, comprising:
When period to be checked in region to be checked belongs to the newest period, according to each period to be checked and/ Or in the vehicle range to be checked GPS device corresponding to vehicle facility information, determine for storing the interim of target data Table;
It is described according to the data stored in determined tables of data, in the vehicle range to be checked, inquire each to be checked Region and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data, comprising:
Parallel query belongs to the vehicle range to be checked, in each region to be checked and each in identified interim table In the period to be checked in region to be checked on be transmitted through the GPS device of GPS data.
9. a kind of cross vehicle inquiry unit, which is characterized in that described device includes:
Information acquisition module, for obtaining the period to be checked in region to be checked and each region to be checked;
Equipment query module, for according on vehicle GPS device upload GPS data, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data;
As a result module is obtained, for obtaining vehicle query result according to the GPS device inquired.
10. device according to claim 9, which is characterized in that the equipment query module, comprising:
The first information inquires submodule, for using a region in region to be checked as current queries region, according to vehicle The GPS data that upper GPS device uploads, inquiry and the matched GPS information in both current queries region and current queries period, As the basic GPS information of inquiry, wherein the current queries period are as follows: the period to be checked in current queries region;
Second information inquires submodule, when for there is the region not as current queries region in region to be checked, repeats It executes: being a not region to be checked as current queries region by current queries area update, based on the inquiry basis GPS information, inquiry and the matched GPS information in both current queries region and current queries period, and the inquiry is basic GPS information is updated to the GPS information inquired, until there is no the not regions as current queries region in region to be checked;
First equipment determines submodule, for determining in each region to be checked and every according to the basic GPS information of the inquiry In the period to be checked in one region to be checked on be transmitted through the GPS device of GPS data.
11. device according to claim 9, which is characterized in that the equipment query module, comprising:
Third information inquires submodule, the GPS data for being uploaded according to GPS device on vehicle, inquiry and each area to be checked Both periods to be checked in domain and each region to be checked matched GPS information;
Second equipment determines submodule, for determining each to be checked according to the GPS information shared in the GPS information inquired Ask region and in the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
12. device described in 0 or 11 according to claim 1, which is characterized in that with a region to be checked and the area to be checked Both periods to be checked in domain matched GPS information, comprising:
The GPS device of GPS data is transmitted through in a region to be checked and in the period to be checked in the region to be checked List;Or
In a region to be checked and the GPS data that is uploaded in the period to be checked in the region to be checked.
13. the device according to any one of claim 9-11, which is characterized in that the result obtains module, comprising:
Information determines submodule, for the corresponding relationship according to the GPS device and vehicle being obtained ahead of time, determines the GPS inquired The information of vehicles of vehicle corresponding to equipment;
Information acquisition submodule, for obtaining each GPS device inquired in each region to be checked and each to be checked Quantity, starting GPS data and the termination GPS data for the GPS data being transmitted through in the period to be checked in region;
As a result submodule is obtained, for according to GPS device, identified information of vehicles and the GPS number obtained inquired According to quantity, starting GPS data, terminate GPS data, obtained vehicle query result.
14. device according to claim 9, which is characterized in that the GPS data that GPS device uploads on vehicle is according to the time It is stored in different data table, wherein an a tables of data corresponding period;
The equipment query module, comprising:
Table determines submodule, for the period to be checked according to region to be checked, determines the data for storing target data Table, wherein the target data are as follows: in each region to be checked and in the upload of the period to be checked in each region to be checked GPS data;
Equipment query submodule, for according to the data stored in determined tables of data, inquiry each region to be checked and In the period to be checked in each region to be checked on be transmitted through the GPS device of GPS data.
15. device according to claim 14, which is characterized in that described device further include:
Range obtains module, for obtaining vehicle range to be checked;
The equipment query submodule, specifically for according to the data stored in determined tables of data, in the vehicle to be checked In range, inquiry each region to be checked and in the period to be checked in each region to be checked on be transmitted through GPS data GPS device.
16. device according to claim 15, which is characterized in that latest data table is described there are at least two interim tables Latest data table are as follows: the tables of data that the period is the newest period, an interim table and a data classification are corresponded in tables of data It is corresponding, it is stored in the newest period in an interim table and belongs to this in the GPS data that GPS device on vehicle uploads and face When table corresponding to data classification GPS data, data classification be according to the facility information of time and/or GPS device determine point Class;
The table determines submodule, belongs to the newest period specifically for the period to be checked in region to be checked When, according to the facility information of GPS device corresponding to vehicle in each period to be checked and/or the vehicle range to be checked, Determine the interim table for storing target data;
The equipment query submodule, specifically in identified interim table parallel query belong to the vehicle model to be checked Enclose, each region to be checked and in the period to be checked in each region to be checked on be transmitted through the GPS of GPS data and set It is standby.
17. a kind of electronic equipment characterized by comprising processor, communication interface, memory and communication bus, wherein institute It states processor, the communication interface, the memory and completes mutual communication by the communication bus;
The memory, for storing computer program;
The processor realizes that claim 1-8 is any described for executing the computer program stored on the memory Method and step.
18. a kind of computer readable storage medium, which is characterized in that computer program is stored in the storage medium, it is described Claim 1-8 any method and step is realized when computer program is executed by processor.
CN201710920313.2A 2017-09-30 2017-09-30 It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing Pending CN109598963A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710920313.2A CN109598963A (en) 2017-09-30 2017-09-30 It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing
PCT/CN2018/099251 WO2019062338A1 (en) 2017-09-30 2018-08-07 Passing vehicle query method, device, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710920313.2A CN109598963A (en) 2017-09-30 2017-09-30 It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109598963A true CN109598963A (en) 2019-04-09

Family

ID=65900587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710920313.2A Pending CN109598963A (en) 2017-09-30 2017-09-30 It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367958A (en) * 2019-11-19 2020-07-03 杭州海康威视系统技术有限公司 Data analysis method and device, electronic equipment and storage medium

Citations (9)

* 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
CN101251861A (en) * 2008-03-18 2008-08-27 北京锐安科技有限公司 Method for loading and inquiring magnanimity data
US20090172010A1 (en) * 2007-12-28 2009-07-02 Industrial Technology Research Institute Data classification system and method for building classification tree for the same
CN102937980A (en) * 2012-10-18 2013-02-20 亿赞普(北京)科技有限公司 Method for inquiring data of cluster database
CN103198151A (en) * 2013-04-24 2013-07-10 北京航空航天大学 Index inquiry system and method for running information of regional urban buses
CN203276364U (en) * 2013-06-13 2013-11-06 深圳供电局有限公司 Management information system for whole-process operation of vehicle
CN104462236A (en) * 2014-11-14 2015-03-25 浪潮(北京)电子信息产业有限公司 Accompanying vehicle recognition method and device based on big data
CN105575155A (en) * 2016-01-08 2016-05-11 上海雷腾软件股份有限公司 Method and equipment for determining vehicle driving information
CN106599121A (en) * 2016-11-30 2017-04-26 海尔优家智能科技(北京)有限公司 Data processing method and system for Internet of things

Patent Citations (9)

* 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
CN101251861A (en) * 2008-03-18 2008-08-27 北京锐安科技有限公司 Method for loading and inquiring magnanimity data
CN102937980A (en) * 2012-10-18 2013-02-20 亿赞普(北京)科技有限公司 Method for inquiring data of cluster database
CN103198151A (en) * 2013-04-24 2013-07-10 北京航空航天大学 Index inquiry system and method for running information of regional urban buses
CN203276364U (en) * 2013-06-13 2013-11-06 深圳供电局有限公司 Management information system for whole-process operation of vehicle
CN104462236A (en) * 2014-11-14 2015-03-25 浪潮(北京)电子信息产业有限公司 Accompanying vehicle recognition method and device based on big data
CN105575155A (en) * 2016-01-08 2016-05-11 上海雷腾软件股份有限公司 Method and equipment for determining vehicle driving information
CN106599121A (en) * 2016-11-30 2017-04-26 海尔优家智能科技(北京)有限公司 Data processing method and system for Internet of things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367958A (en) * 2019-11-19 2020-07-03 杭州海康威视系统技术有限公司 Data analysis method and device, electronic equipment and storage medium
CN111367958B (en) * 2019-11-19 2024-03-08 杭州海康威视系统技术有限公司 Data analysis method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2019062338A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
Ma et al. A dynamic programming approach for optimal signal priority control upon multiple high-frequency bus requests
DE102019131118A1 (en) SYSTEM AND METHOD FOR EVALUATING THE OPERATION OF ENVIRONMENTAL DETECTION SYSTEMS OF VEHICLES
US20220051032A1 (en) Road event detection method, apparatus, device and storage medium
CN100585588C (en) Optimization of temporal and spatial data processing in an object relational database system
WO2015131681A1 (en) Route planning method and device for navigation system and storage medium
CN103077604B (en) traffic sensor management method and system
CN106289298A (en) The display packing of point of interest and device, onboard navigation system
CN104572956A (en) System and method for confirming POI information effectiveness
CN111008255A (en) Method and device for identifying violation location, electronic equipment and storage medium
CN110322688A (en) A kind of method of data processing, the method for data query and relevant device
CN106487828A (en) News push method and device
CN109598963A (en) It is a kind of to cross vehicle querying method, device, electronic equipment and readable storage medium storing program for executing
CN103587556A (en) Train positioning method and system
US10809072B1 (en) Computationally efficient distance-based score approximations
CN110986992A (en) Navigation method and device for unmanned vending vehicle, electronic equipment and storage medium
CN103714632A (en) Method, device and system for monitoring tax-control terminal and tax-control terminal
WO2011120193A1 (en) Method, system and device for providing traffic information
CN111415510B (en) Traffic data obtaining method and device
CN104657354A (en) Digital certificate valid period retrieval method and equipment
CN111935772A (en) Method and device for determining value of service area
CN114627645B (en) Method, device, equipment and storage medium for determining real-time running line of vehicle
JP6658879B2 (en) Road image display program, road image display method, and road management device
CN109990791A (en) Method, apparatus, equipment and the medium that road data extracts
CN113593244A (en) Flow determination method and device, storage medium and electronic device
CN111767295A (en) Map data processing method and device, computing equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409