Traffic information file compression and decompression method and device

A traffic information and file compression technology, which is applied in the field of traffic information, can solve problems such as heavy burden on operation and maintenance personnel, affect user experience, and low operating efficiency, and achieve the effects of reducing work burden, improving user experience, and improving efficiency

Inactive Publication Date: 2014-07-09
BEIJING TRANWISEWAY INFORMATION TECH +1
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method and device for compressing and decompressing traffic information files, so as to solve the problems of low operation efficiency of compressing and decompressing existing mass traffic information data, heavy burden on operation and maintenance personnel, and affecting user experience

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 file compression and decompression method and device
  • Traffic information file compression and decompression method and device
  • Traffic information file compression and decompression method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] refer to figure 1 , shows a flowchart of steps of a traffic information file compression method according to Embodiment 1 of the present invention.

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

[0030] Step S102: When the file compression condition is triggered, according to the preset compression period, compression range, and storage location of the compressed file, create an empty compressed file whose file name meets the set rules.

[0031] The file compression condition may be any appropriate trigger file compression condition, for example, the number of files reaches a set threshold, or the amount of data reaches a set threshold, or the current time reaches a set time point. Preferably, the file compression condition is a time point when file compression is triggered, such as 3:00 am every day. Use the time point as the trigger condition for file compression, which is simple to implement and hi...

Embodiment 2

[0042] refer to figure 2 , shows a flow chart of steps of a method for decompressing a traffic information file according to Embodiment 2 of the present invention.

[0043] The traffic information file decompression method of the present embodiment comprises the following steps:

[0044]Step S202: Receive an input traffic information access request, and determine the compressed file corresponding to the traffic information file to be accessed and the directory structure of the traffic information file stored in the compressed file according to the access request.

[0045] As described in the first embodiment, when the traffic information file is compressed, its directory structure will be packaged into the compressed file. When the user inputs an access request, and the access request needs to access a compressed traffic information file, it is necessary to determine the compressed file to be accessed and the directory structure compressed together with the traffic informati...

Embodiment 3

[0054] This embodiment fully describes the compression and decompression of traffic information files, which are divided into two parts: the compression and archiving part (that is, the traffic information file compression part), the decompression recovery part (that is, the traffic information file decompression part), and the compression / decompression is based on ZIP compression / decompression algorithm implementation. Moreover, the Servlet technology combined with the Tomcat service (that is, the Tomcat server configured with the Servlet) realizes decompressing data according to user requests.

[0055] Hereinafter, the implementation steps of the above two parts will be described in detail respectively.

[0056] Compress the archive section:

[0057] refer to image 3 , shows a flow chart of the steps of a traffic information file compression method according to Embodiment 3 of the present invention, the process includes the following steps:

[0058] Step S302: Create a c...

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 file compression and decompression method and device. The traffic information file compression method comprises creating an empty compression file according to a preset compression cycle, compression range, and compressed file storage position when the file compression conditions are triggered, wherein a file name of the empty compression file conforms to set rules; obtaining a source traffic information file to be compressed and a directory structure of the source traffic information file and performing compression on the source traffic information file; outputting the compressed traffic information file and the directory structure to the created empty compression file and storing and receiving the output compression file. According to the traffic information file compression and decompression method and device, the automatic decompression of the traffic information file is achieved and accordingly the efficiency of the decompression of traffic information data is improved.

Description

technical field [0001] The invention relates to the technical field of traffic information, in particular to a method and device for compressing and decompressing traffic information files. Background technique [0002] With the increasing popularity of vehicles and other means of transportation, traffic information data has grown geometrically and reached a massive scale. It is necessary to effectively manage massive traffic information. The storage and use of massive traffic information is an important part of traffic information management. [0003] The storage and use of massive traffic information involves the compression, storage, backup, decompression, and restoration of traffic data. Traditionally, the compression, storage, backup, decompression, and recovery of historical traffic information data files in the system are all performed manually by operation and maintenance personnel. [0004] For example, the vehicle monitoring / supervisory system generates a large nu...

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/30H03M7/30
CPCG06F16/1744
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