Vehicle information query method and apparatus

A vehicle information and query method technology, which is applied to a vehicle information query device and the field of vehicle information query, can solve the problems of low efficiency and time-consuming vehicle information query, and achieve the effect of ensuring consistency and integrity and high query efficiency

Active Publication Date: 2016-01-13
CHINA TRANSINFO TECH CORP
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the embodiments of the present invention is to provide a vehicle

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Vehicle information query method and apparatus
  • Vehicle information query method and apparatus
  • Vehicle information query method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] The vehicle information query method of the embodiment of the present invention is introduced in detail.

[0033] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a vehicle information query method according to the present invention, which may specifically include the following steps:

[0034] S102. Acquire source data according to a first time interval increment, and generate an in-memory index according to word segmentation information of the source data to establish an inverted index.

[0035] The database stores source data related to vehicle information, such as license plate number, vehicle driving license number, driver's license number and other vehicle-related data. In order to facilitate users to query data accurately and quickly, this embodiment sets index information for source data, and the index information includes: memory index and file index.

[0036] In this embodiment, the first time interval is set for incremental acqui...

Embodiment 2

[0045] The vehicle information query method of the embodiment of the present invention is introduced in detail, wherein the vehicle information query includes the establishment of an index file before query, and the query steps based on the index file.

[0046] 1) Creation of index files

[0047] refer to figure 2 , which shows a flow chart of the steps of index establishment in another embodiment of the vehicle information query method embodiment of the present invention, which may specifically include the following steps:

[0048] S202. Acquire source data according to a first time interval increment.

[0049] In this embodiment, the first time interval is set for incremental acquisition of source data to build memory indexes. The first time interval can be set according to requirements, such as 10 minutes, 1 hour and other short time intervals. After the time interval, the source data newly added in the first time interval is obtained from the database.

[0050] S204. A...

Embodiment 3

[0095] refer to Figure 5 , which shows a structural block diagram of an embodiment of a vehicle information query device in the present invention. The vehicle information query device may specifically include the following modules:

[0096] An index generation module 502 , a keyword acquisition module 504 , and a query module 506 .

[0097] The function of each module and the relationship between each module are introduced respectively below.

[0098] The index generating module 502 is configured to acquire source data incrementally according to the first time interval, and generate a memory index according to the word segmentation of the source data to establish an inverted index information, wherein the source data includes the license plate number; for according to the second time interval The source data is obtained in full, and the file index is generated according to the word segmentation of the source data to establish the inverted index information.

[0099] A keywo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present invention provide a vehicle information query method and apparatus. The method comprises: acquiring source data according to a first time interval increment, and establishing inverted index information according to word segmentation performed on the source data, so as to generate a memory index; acquiring source data according to a second time interval full amount, and establishing inverted index information according to word segmentation performed on the source data, so as to generate a file index; receiving a query request of a user, and acquiring a keyword from the query request; and separately querying the memory index and the file index according to the keyword, combining the source data queried in the memory index with the source data queried in the file index, and generating and returning a query result. By applying the vehicle information query method and apparatus provided by the present invention, the query efficiency can be improved, and the consistency and completeness of the query result can be ensured.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a vehicle information query method and a vehicle information query device. Background technique [0002] The traditional method of querying vehicles based on the keywords of the license plate number is to filter and match the query by building an index through the fields of the database table. For example: query the vehicle whose license plate number matches the keyword "Beijing A123" in the vehicle information table, query by SQL statement (such as "SELECT license plate number FROM vehicle table WHERE license plate number LIKE '% Beijing A123%';"). That is, scan the entire table according to the query statement, take out the specified field value of each row of data, and match it with the keyword. If the specified keyword is included, the piece of data will be saved to the returned result set, and if it does not contain the keyword, it will not be Save to return result set...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
CPCG06F16/901G06F16/903
Inventor 陈晔沈洪明宋智奇夏曙东
Owner CHINA TRANSINFO TECH CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products