CN109831212A - A kind of time locus expression and compression frame that can make full use of data characteristics - Google Patents
A kind of time locus expression and compression frame that can make full use of data characteristics Download PDFInfo
- Publication number
- CN109831212A CN109831212A CN201910146589.9A CN201910146589A CN109831212A CN 109831212 A CN109831212 A CN 109831212A CN 201910146589 A CN201910146589 A CN 201910146589A CN 109831212 A CN109831212 A CN 109831212A
- Authority
- CN
- China
- Prior art keywords
- time
- aux
- compression
- initial
- acceleration
- 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.)
- Granted
Links
Abstract
The present invention provides a kind of time locus expressions and compression frame that can make full use of data characteristics, are related to the compression of trace compression field, especially time locus.A large amount of and redundancy track of vehicle data result in many data storages, the expense of communication and processing aspect.Currently, initial trace is often decomposed into the time series of space path sum.Compression herein for time series proposes a set of new frame, including an expression constructor and four compressors.Specifically, we have constructed a tool first, there are four types of the time locus of element to indicate, it has lower entropy and storage;Then four kinds of compressors are constructed and compress corresponding four dvielement respectively, and improve compression efficiency.
Description
Technical field
The present invention relates to trace compression technical fields, especially relate to time locus compress technique.
Background technique
A large amount of track datas that mobile object generates will lead to data storage, the expense of communication and processing.Track of vehicle number
According to being one of typical case.But since vehicle can only travel on road network, limited with special space.In order to subtract
The light above problem, reducing its size while effectiveness (as supported inquiry) for keeping track data is a kind of very promising side
Method.Track is one group of GPS point sequence, records the space time information of move vehicle, by timestamp ti, geospatial coordinates (xi,yi) and
Instantaneous velocity viComposition.Currently, being often decomposed into the road indicated by a series of continuous side by the track that move vehicle generates
A series of space path in road network and associated by timestamp tiThe time series of expression.Decomposing trajectories ensure
There is better compression performance in terms of validity, this is proven by theory analysis.In addition, more preferable in addition to obtaining
Compression performance outside, the separation of room and time is also beneficial to inquire.For example, a common inquiry is that vehicle is when specific
Between traveling on which road.
In terms of space tracking compression, it has been proposed that many outstanding algorithms.However in terms of time locus compression,
It works with having and does not well solve problem.Firstly, good time locus expression should have small entropy (entropy) and size
(size).The smaller explanation expression of entropy contains a large amount of duplicate messages, helps further to encode compression.In addition, concision and compact
Expression facilitate reduce carrying cost.Unfortunately, for the two are required, existing work is underproof.Secondly,
Current expression cannot support some inquiries, because they have ignored some temporal informations, especially acceleration and instantaneous velocity.
These information are most important for many location based services (LBS).For example, acceleration information is in research driving behavior classification
In indispensable one of factor.Instantaneous velocity can capture fine-grained driving situation, this is for the behavioral value system that exceeds the speed limit
It is extremely important.Finally, existing many representational compression methods, such as PRESS, CCF and TED etc. all can only be biggish
Good compression effectiveness is realized in error range.
Summary of the invention
To solve the above problems, indicating and compressing the present invention provides a kind of time locus that can make full use of data characteristics
Frame constructs a kind of new time locus expression, and is effectively compressed.
Specifically, the present invention provides a kind of time locus that can make full use of data characteristics to indicate and compression frame
Scheme are as follows:
A kind of time locus expression and compression frame that can make full use of data characteristics, includes two stages.Wherein, first
A stage constructs a kind of new time locus expression, including 4 kinds of components: initial information, time series, auxiliary information sequence
Column and acceleration degree series;Second stage, for each above-mentioned component, we indicate that feature extraction is a kind of using it
Basic compressor, and compression efficiency is further increased using its potential low-level image feature.
Further, a kind of time locus that can make full use of data characteristics of the present invention indicates and first in compression frame
A stage includes following 4 steps: step 1: in j-th strip initial trace section TrjIn, by initial time stjAnd starting velocity
svjIt is saved as initial information, i.e. IIj=(stj;svj);Step 2: in j-th strip initial trace section TrjIn, it constructs corresponding
Time series TSj=< Δ t1;Δt2;…;Δtl-1>, wherein Δ tiIt is time interval;Step 3: in j-th strip initial trace section
TrjIn, acceleration sequence is expressed asWherein1≤i≤l-1, the sequential recording
Average acceleration and instantaneous velocity in section (instantaneous velocity can be combined by initial information and average acceleration to be acquired);Step
4: in j-th strip initial trace section TrjIn, auxiliary information sequence is expressed as AUXSj=< aux1;…;auxl-1>, wherein 1≤i≤l-1。
Further, a kind of time locus that can make full use of data characteristics of the present invention indicates and second in compression frame
A stage includes following 4 steps: step 1: building initial information compressor, with initial time stjjFor sequence, the is selected
One moment is as fiducial time tb, then only need to record time interval stbj(i.e.stj-tb), to reduce time letter
The digit of breath, reduces storage overhead;Step 2: building Time Series Compression device, for time series TSj=< Δ t1;Δ
t2;…;Δtl-1>, it is concentrated in quality data, almost all of time interval Δ tiIt is equal to the sampling time Δ T of GPS point,
It is compressed at this time using run length encoding;Δ t is concentrated in low quality dataiIn floating up and down for Δ T value, at this time using Kazakhstan
Fu Man coding is compressed;Step 3: building acceleration sequence compressor obtains first by the value discretization of accelerationHuffman encoding is reused to be compressed;Step 4: building auxiliary information sequence compressor,
First by the value discretization of auxiliary information, AUXS is obtainedj=< D (aux1);…;D(auxl-1) >, reuses Huffman encoding progress
Compression.
Detailed description of the invention
Fig. 1 is system framework figure of the invention;
Fig. 2 is the new expression that sample initial trace segment constructs;
Fig. 3 is the schematic diagram of Huffman encoding;
Fig. 4 is the frequency distribution of the acceleration value of different zones.
Specific embodiment
The following further describes the present invention with reference to the drawings.
Before introducing the content of present invention, 4 necessary concepts in the present invention are first introduced.
1st concept: road network, road network are a figure G (N, E), include an one group of line set E and group node set N.In E
Each element is a directed edge ei, it is associated with two nodes.Each node n is in N by the seat of a pair of of longitude and latitude
Mark combination indicates, corresponds to the spatial position of sampled point.
2nd concept: initial trace segment, initial trace segment TrjIt is a series of GPS track points, is denoted as Trj=< pi,
pi+1,…,pi+l-1>, one of GPS track point piThe space time information for having recorded vehicle, is denoted as pi=(ti,lati,loni,vi),
Parameter l controls the length of segment.
3rd concept: the average acceleration between two continuous GPS pointsIt is denoted as1≤i≤l-1。
4th concept: auxiliary information auxi, for saving the road network range information between two continuous GPS points. 1≤i≤l-1, wherein Dist (x, y) is the function for calculating road network distance.
A kind of time locus expression and compression frame that can make full use of data characteristics, takes conjunction to initial trace information
The representation of reason, and then carry out effective compression processing.Frame includes two stages, as shown in Figure 1, first stage is
Some initial trace fragment datas are given, indicate that constructor constructs a kind of new expression by time locus;Second stage
To be indicated for the time locus constructed, different components is compressed using different compressors respectively.
1, first stage includes following four step:
Step 1: in j-th strip initial trace segment TrjIn, by initial time stjJ and starting velocity svjAs initial information
It saves, i.e. IIj=(stjj;svj);
Step 2: in j-th strip initial trace section TrjIn, construct corresponding time series TSj=< Δ t1;Δt2;…;Δ
tl-1>, wherein
Step 3: in j-th strip initial trace section TrjIn, acceleration sequence is expressed asIts
In1≤i≤l-1, (instantaneous velocity can be by for average acceleration and instantaneous velocity in sequential recording section
Initial information and average acceleration, which are combined, to be acquired);
Step 4: in j-th strip initial trace section TrjIn, auxiliary information sequence is expressed as AUXSj=< aux1;…;
auxl-1>, wherein1≤i≤l-1。
By the construction of first stage, the new time locus of available one kind is indicated.As shown in Fig. 2, with an original
Beginning path segment Tr1=< p1,p2,p3,p4> for, being inputted time locus indicates constructor, obtains new being expressed as II1=
(st1;sv1), TS1=< Δ t1, Δ t2, Δ t3>,AUXS1=< aux1, aux2, aux3>。
2, second stage includes following four step:
Step 1: building initial information compressor, such as initial time sequence st1,2,3,4,5=(1545188400,
1545192000,1545195600,1545199200,1545202800) first moment 1545188400, is selected as benchmark
Time tb, then only record time interval stbj(i.e.stj-tb), then st1,2,3,4,5Be converted to stb1,2,3,4,5=(3600,
7200,10800,14400,18000), and then reduce the digit of temporal information, finally, the considerations of for information decoding, we
It is additionally arranged length mark position character string, identifies and stores each stbjEnd position;
Step 2: building Time Series Compression device, for time series TSj=< Δ t1;Δt2;…;Δtl-1>, consider with
Lower two kinds of situations.It is concentrated in quality data, almost all of time interval Δ tiAll it is identical, and is equal to adopting for GPS point
Sample time Δ T is compressed using run length encoding at this time, such as TSj=<6,6,6,6,6,6,6,6,6,7>, after compression
Result be1001011000010111 (9 6 and 17, binary representation);It is concentrated in low quality data, because of GPS signal
The relationship of delay makes Δ tiIn floating up and down for Δ T value, compressed at this time using Huffman encoding, specific example is with reference to figure
3;
Step 3: building acceleration sequence compressor, forIt will be accelerated using formula (1) first
DegreeDiscretization obtains
Then Huffman encoding pair is usedIt is compressed.To further improve compression efficiency, it is contemplated that different zones
Acceleration frequency distribution has different, as shown in Figure 4.So more Huffman trees can be constructed for different zones, together
When occupy memory space excessively in order to avoid Huffman tree number, finally used Huffman tree folding;
Step 4: building auxiliary information sequence compressor, for AUXSj=< aux1;…;auxl-1>, formula is used first
(2) by auxiliary information auxiDiscretization obtains AUXSj=< D (aux1);…;D(auxl-1)>
Then Huffman encoding pair is usedIt is compressed, finally further increases compression efficiency, due to D (auxi) have
A large amount of not repetition values, cause the Huffman tree number of plies constructed more, so that cataloged procedure is quite time-consuming, it is contemplated that traveling speed
Degree is to D (auxi) influence significantly, therefore lesser Huffman tree can be respectively constructed on the road of different speed limit types in terms of reducing
Calculate expense.
Claims (3)
1. a kind of time locus that can make full use of data characteristics indicates and compression frame, it is characterised in that include following two rank
Section: (1) in the first stage, constructing a kind of new time locus indicates, including 4 kinds of components: initial information, time series,
Auxiliary information sequence and acceleration degree series;
(2) in second stage, for each above-mentioned component, we indicate a kind of basic compression of feature extraction using it
Device, and compression efficiency is further increased using its potential low-level image feature.
2. a kind of time locus that can make full use of data characteristics according to claim 1 indicates and compression frame, special
Sign is that the first stage includes following four step:
Step 1: in j-th strip initial trace segment TrjIn, by initial time stjWith starting velocity svjIt is saved as initial information,
That is IIj=(stj;svj);
Step 2: in j-th strip initial trace section TrjIn, construct corresponding time series TSj=< Δ t1;Δt2;…;Δtl-1>,
Wherein
Step 3: in j-th strip initial trace section TrjIn, acceleration sequence is expressed asWherein (instantaneous velocity can be by first for average acceleration and instantaneous velocity in sequential recording section
Beginning information and average acceleration, which are combined, to be acquired);
Step 4: in j-th strip initial trace section TrjIn, auxiliary information sequence is expressed as AUXSj=< aux1;…;auxl-1>,
Wherein
3. a kind of time locus that can make full use of data characteristics according to claim 1 indicates and compression frame, special
Sign is that the second stage includes following four step:
Step 1: building initial information compressor, such as initial time sequence, first moment is selected as fiducial time
tb, then only record time interval stbj(i.e.stj-tb), to reduce the digit of temporal information, in addition, for information solution
The considerations of code, we are additionally arranged length mark position character string;
Step 2: building Time Series Compression device, for time series TSj=< Δ t1;Δt2;…;Δtl-1>, consider following two
Kind situation.It is concentrated in quality data, almost all of time interval Δ tiAll be identical, and be equal to GPS point sampling when
Between Δ T, compressed at this time using run length encoding;It is concentrated in low quality data, because the relationship of GPS signal delay makes
ΔtiIn floating up and down for Δ T value, compressed at this time using Huffman encoding;
Step 3: building acceleration sequence compressor, forUse formula (1) by acceleration first
Discretization obtains
Wherein δ is level of discretization --- (1)
Then Huffman encoding pair is usedIt is compressed, it is contemplated that it is certain poor that the acceleration frequency distribution of different zones has
Different, we construct more Huffman trees for different zones to improve compression efficiency, while in order to avoid Huffman tree number mistake
It occupies memory space more, has finally used Huffman tree folding;
Step 4: building auxiliary information sequence compressor, for AUXSj=< aux1;…;auxl-1>, use formula (2) will first
Auxiliary information auxiDiscretization obtains AUXSj=< D (aux1);…;D(auxl-1)>
Then Huffman encoding pair is usedIt is compressed, finally further increases compression efficiency, due to D (auxi) have greatly
Unique value is measured, the Huffman tree number of plies constructed is more, coding time, it is contemplated that travel speed is to D (auxi) influence significantly, therefore
Lesser Huffman tree can respectively be constructed on the road of different speed limit types to reduce computing cost.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910146589.9A CN109831212B (en) | 2019-02-27 | 2019-02-27 | Time track representation and compression framework capable of fully utilizing data characteristics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910146589.9A CN109831212B (en) | 2019-02-27 | 2019-02-27 | Time track representation and compression framework capable of fully utilizing data characteristics |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109831212A true CN109831212A (en) | 2019-05-31 |
CN109831212B CN109831212B (en) | 2022-02-01 |
Family
ID=66864648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910146589.9A Active CN109831212B (en) | 2019-02-27 | 2019-02-27 | Time track representation and compression framework capable of fully utilizing data characteristics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109831212B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110334170A (en) * | 2019-07-03 | 2019-10-15 | 内蒙古大学 | A kind of space-time trajectory compression algorithm |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010008564A1 (en) * | 2000-01-18 | 2001-07-19 | Kouichiro Hirao | Pattern matching coding device and method thereof |
CN103795418A (en) * | 2014-01-22 | 2014-05-14 | 复旦大学 | Lossless compression method of road network track |
US20140229094A1 (en) * | 2013-02-13 | 2014-08-14 | The Boeing Company | Secure transmission of an aircraft trajectory |
CN108111173A (en) * | 2017-12-27 | 2018-06-01 | 东软集团股份有限公司 | Trace compression method, apparatus, storage medium and electronic equipment |
-
2019
- 2019-02-27 CN CN201910146589.9A patent/CN109831212B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010008564A1 (en) * | 2000-01-18 | 2001-07-19 | Kouichiro Hirao | Pattern matching coding device and method thereof |
US20140229094A1 (en) * | 2013-02-13 | 2014-08-14 | The Boeing Company | Secure transmission of an aircraft trajectory |
CN103795418A (en) * | 2014-01-22 | 2014-05-14 | 复旦大学 | Lossless compression method of road network track |
CN108111173A (en) * | 2017-12-27 | 2018-06-01 | 东软集团股份有限公司 | Trace compression method, apparatus, storage medium and electronic equipment |
Non-Patent Citations (2)
Title |
---|
YAN DING: "An Online Trajectory Compression System Applied to Resource-Constrained GPS Devices in Vehicles", 《2018 15TH ANNUAL IEEE INTERNATIONAL CONFERENCE ON SENSING, COMMUNICATION, AND NETWORKING (SECON)》 * |
YAN DING: "GreenPlanner: Planning personalized fuel-efficient driving routes using multi-sourced urban data", 《2017 IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS (PERCOM)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110334170A (en) * | 2019-07-03 | 2019-10-15 | 内蒙古大学 | A kind of space-time trajectory compression algorithm |
CN110334170B (en) * | 2019-07-03 | 2021-04-20 | 内蒙古大学 | Space-time trajectory compression method |
Also Published As
Publication number | Publication date |
---|---|
CN109831212B (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102436465B (en) | Telemetry data compression storage and rapid query method of ontrack spacecraft | |
CN102306194B (en) | Methods for storing and querying GPS (global positioning system) data | |
US9510155B2 (en) | Transporting residue of vehicle position data via wireless network | |
CN111046049B (en) | Truck GPS track data compression method | |
AU2015295944A1 (en) | Aggregate query method and system for traffic data flows | |
CN1948990A (en) | Method of compressing GPS positioning information | |
CN103425669B (en) | Number section and the coded method of ownership place and system, attribution inquiry method and system | |
CN104318327A (en) | Predictive parsing method for track of vehicle | |
CN111190891A (en) | Multi-semantic track data segmented storage method | |
CN1781012A (en) | Route information transmitting method and device | |
CN109831212A (en) | A kind of time locus expression and compression frame that can make full use of data characteristics | |
CN112819000A (en) | Streetscape image semantic segmentation system, streetscape image semantic segmentation method, electronic equipment and computer readable medium | |
CN103795418A (en) | Lossless compression method of road network track | |
Rakhmanov et al. | Compression of GNSS data with the aim of speeding up communication to autonomous vehicles | |
US20150293232A1 (en) | System and Method for Compressing GPS Data | |
CN106407378B (en) | Method for re-representing road network track data | |
CN110543536A (en) | space-time trajectory vector construction method, terminal device and computer storage medium | |
CN112182132B (en) | Subway user identification method, system, equipment and storage medium | |
CN110411450A (en) | It is a kind of for compressing the map-matching method of track | |
CN104242949B (en) | A kind of trace compression and decompression method | |
CN110097074B (en) | Vehicle track compression method based on sequence similarity | |
Lovell | Lossless compression of all vehicle trajectories in a common roadway segment | |
CN112312070A (en) | Digital retina cloud software scheduling method | |
CN106649341B (en) | Data processing method and device | |
Lovell | Kinematics-enabled lossless compression of freeway and arterial vehicle trajectories |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |