Traffic information query method and device

A traffic information and query method technology, applied in the field of traffic information query methods and devices, can solve the problems of tedious and complicated backup and maintenance of historical data, large resource occupation of relational database, performance degradation of relational database, etc., so as to achieve simple and convenient backup and maintenance, Accurate and fast search, improve the effect of user experience

Active Publication Date: 2014-07-09
BEIJING TRANWISEWAY INFORMATION TECH
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Problem 1. When the amount of historical traffic data is large (above tens of millions), the traversal and filtering query through the relational database will be very slow, and the customer experience is not good;
[0006] Question 2. The resources of the relational database are occupied a lot, which leads to the decline of the performance of the relational database;
[0007] Question 3. With the growth of data volume, the backup and maintenance of historical data will become cumbersome and complicated

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
  • Traffic information query method and device
  • Traffic information query method and device
  • Traffic information query method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] refer to figure 1 , shows a flow chart of steps of a traffic information query method according to Embodiment 1 of the present invention.

[0029] The traffic information inquiry method of the present embodiment comprises the following steps:

[0030] Step S102: Obtain the target area and target time to be queried.

[0031] For example, the user enters the target time (such as 8:00-9:00 of the day) and the target area to be queried through the traffic information query interface (such as the WEBGIS interface). The query can be entered by dragging the mouse on the corresponding interface to delineate the area, and of course, other appropriate methods can also be used, which is not limited in the present invention.

[0032] Step S104: Determine the number of the sub-area included in the target area, and the unit time included in the target time.

[0033] The area on the map is divided into multiple sub-areas in advance according to certain rules, and the target area ma...

Embodiment 2

[0041] refer to figure 2 , shows a flow chart of steps of a traffic information query method according to Embodiment 2 of the present invention.

[0042] The traffic information inquiry method of the present embodiment comprises the following steps:

[0043] Step S202: Divide the set area on the map into multiple sub-areas according to the set length, and number the multiple sub-areas.

[0044] There is a one-to-one correspondence between the subregions on the map and the actual geographic subregions. For example, a set region such as a region, a city, or a country can be divided into multiple subregions according to the actual geographic length, and then the subregions can be divided according to the scale. The divisions are mapped onto the map. Of course, it can also be divided on the map to correspond to the actual geographical area. Wherein, the set length can be appropriately selected by those skilled in the art according to the actual situation, and the present inven...

Embodiment 3

[0060] In this embodiment, it is assumed that the whole earth is straightened and expanded into a plane rectangle along the prime meridian, and this rectangular plane is divided into several small square grids (ie sub-regions) according to a fixed length (such as 20,000 meters), consisting of A grid (such as a Go board), and each grid is uniquely numbered by the serial number of the latitude and longitude coordinates. In this way, the grid where the point is located can be calculated according to any latitude and longitude point. Map this grid to the map according to the scale. When the query passes through the location points in a certain area, first calculate all the grids involved in the area, and then filter the objects in each grid.

[0061] In the specific implementation, it is divided into two parts: data structure and query algorithm, as follows: image 3 and Figure 4 shown. For the convenience of understanding, this embodiment is described by taking the applicatio...

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

The invention provides a traffic information query method and device. The traffic information query method comprises obtaining a target area and a target time to be queried; determining the numbers of subareas contained in the target area and unit times contained in the target time; obtaining one or more than one historical traffic information file according to the numbers of the subareas and the unit times, wherein the collected traffic information is stored corresponding to the numbers of the subareas every set time section according to a set directory and a set format to generate the historical traffic information file; querying the historical traffic information file according to query conditions. According to the traffic information query method and device, the traffic information can be searched accurately and rapidly, the query efficiency is high, and the backup maintenance is simple and convenient.

Description

technical field [0001] The invention relates to the technical field of traffic information, in particular to a traffic information query method and device. Background technique [0002] With the increasing popularity of vehicles and other means of transportation, it is often necessary to query historical traffic information and then perform corresponding follow-up processing. [0003] At present, the method for realizing the above-mentioned traffic information query function is to store a large amount of historical traffic information in a relational database, and use the characteristics of the relational database to filter and query according to the query conditions such as the latitude and longitude range and time range of the traffic information to be queried. [0004] However, there are several problems in this way: [0005] Problem 1. When the amount of historical traffic data is large (above tens of millions), the traversal and filtering query through the relational d...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/29
Inventor 陈晔张韬邓伟杨毅张鹤高张志平胡道生夏曙东
Owner BEIJING TRANWISEWAY INFORMATION TECH
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