Provided is a method and
system for rapidly positioning a vehicle going into town for the first time. The method comprises the steps that received passing vehicle data are put into a data receiving
queue by monitoring passing vehicle information of an inspection spot; a datum obtained from the data receiving
queue, is firstly compared with a town-into inspection spot serial number in stored data, and if the inspection spot serial number does not exist, early warning is not generated, the
processing of the datum is finished, and the
processing of the next datum is started; if the inspection spot serial number exists, whether a plate number in the
record exists in the stored data is compared, if the comparison result is yes, the
processing of the datum is finished, otherwise, real-time early-warning information is generated, meanwhile, the plate number is added to the stored data, and
information data related to the vehicle passing the inspection spot are recorded into a
database for the vehicles going into town for the first time; in the
database, each motor vehicle has only one
record, and the data storage amount is largely lowered. The method and
system for rapidly positioning the vehicles going into town for the first time solve the problem that a traditional vehicle-passing
information data size is large, the vehicles going into town for the first time can not be positioned in real time, and historical inquiry is slow, and enable a user to rapidly find the information of the vehicles going into town for the first time.