A kind of automobile navigation systems
Technical field
The present invention relates to intelligent transportation fields, and in particular to a kind of automobile navigation systems.
Background technique
The magnitude of traffic flow refers to the actual vehicle number for passing through a certain section of road in the unit time, is the weight for describing traffic behavior
Want characteristic parameter.The magnitude of traffic flow variation again be one in real time, higher-dimension, non-linear, non-stationary random process, correlative factor
Variation may all influence the magnitude of traffic flow of subsequent time.In the related technology, strong about prediction meanss limitation in short-term, prediction essence
Spend lower, prediction fails to achieve satisfactory results in real time, and fail to provide the selection of the Real-time Road of people and effectively suggest, from
And traffic flow forecasting largely rests on the medium- and long-term forecasting of the magnitude of traffic flow.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of automobile navigation systems.
The purpose of the present invention is realized using following technical scheme:
A kind of automobile navigation systems, including navigation system and the prediction meanss being connected with navigation system, the navigation system
System includes:
Shortcut key module, for inputting quick control instruction;
Navigation control module is connected with the shortcut key module, for controlling the input of navigation information, processing and its aobvious
Show;
Function setup module is connected with the shortcut key module and navigation control module respectively;
Cache module is connected with the navigation control module;
Display module is connected with the navigation control module and cache module respectively.
Preferably, navigation system further includes cue module, is connected respectively with the navigation control module and display module,
For prompting currently running navigation options.
Preferably, the cue module prompts currently running navigation options using unit is highlighted.
Preferably, characterized in that prediction meanss include sequentially connected acquisition module, data preprocessing module, data point
Generic module, stationary test module, related coefficient computing module, threshold setting module, temporal and spatial correlations coefficient matrix generation module,
History correlation matrix generation module, predictive factor choose module and forecast model construction module:
(1) acquisition module observes section S for acquiring in road network Si, prediction section SjThe magnitude of traffic flow of corresponding each period
Data and passage situation;
(2) data preprocessing module for carrying out data prediction to the traffic flow data, and is rejected and is not met friendship
The data of logical actual conditions;
(3) data categorization module, for carrying out classification of type, the class to by the traffic flow data of data prediction
Type includes festivals or holidays traffic flow data, weekend traffic flow data and working day traffic flow data;
(4) stationary test module, for in same type of observation section SiMagnitude of traffic flow sequence XiWith prediction
Section SjMagnitude of traffic flow sequence XjStationary test is carried out respectively, examines the auto-correlation function of stationarity are as follows:
Wherein, XxIndicate magnitude of traffic flow sequence to be tested, νiIndicate the mean value of magnitude of traffic flow sequence to be tested, Xx+τIndicate Xx
Magnitude of traffic flow sequence after time delay τ, νx+τFor Xx+τMean value, σ2For XxWith Xx+τBetween variance;
When auto-correlation function P (τ) can rapid decay level off to and 0 or fluctuate near 0, then the magnitude of traffic flow sequence to be tested
Column pass through stationary test;When auto-correlation function P (τ) is unable to rapid decay and levels off to 0 or fluctuate near 0, then to it is described to
Continue stationary test after examining magnitude of traffic flow sequence to carry out calm disposing;
(5) related coefficient computing module, for calculating the observation section S for passing through stationary testiMagnitude of traffic flow sequence Xi
With prediction section SjMagnitude of traffic flow sequence XjTime correlation coefficient ρ at time delay τij(τ) and space correlation coefficient ρij
(w), if there is N number of section in road network S, magnitude of traffic flow sequence Xi=[xi(1),xi(2),...,xi(n)], magnitude of traffic flow sequence Xj=
[xj(1),xj(2),...,xj(n)], xi(t) observation section S is indicatediIn the flow of t moment, xj(t) prediction section S is indicatedjIn t
The flow at moment, t=1,2 ... n, time correlation coefficient ρijThe calculation formula of (τ) are as follows:
Space correlation coefficient ρij(w) calculation formula are as follows:
Preferably, characterized in that prediction meanss further include:
(6) threshold setting module, for setting time delay maximum value L, temporal and spatial correlations coefficient threshold between each section
T1With history correlation coefficient threshold T2;
(7) temporal and spatial correlations coefficient matrix generation module, for the time correlation coefficient ρ according to each sectionij(τ) and space phase
Relationship number ρij(w) each observation section S is constructediWith prediction section SjPostpone the temporal and spatial correlations coefficient matrix ρ under τ in different time
(τ) ', and calculate the temporal and spatial correlations coefficient ρ in each sectionij(τ) ', wherein the value range of i ∈ [1, N] and τ ∈ [0, L], L be [8,
12], the calculation formula of temporal and spatial correlations coefficient matrix ρ (τ) ' are as follows:
Temporal and spatial correlations coefficient ρijThe calculation formula of (τ) ' are as follows:
ρij(τ) '=ρij(τ)ρij(w);
(8) history correlation matrix generation module, for generating prediction section SjHistory correlation matrix ρ (t):
Wherein, the nearly M weeks same period and same type of historical traffic are chosen as magnitude of traffic flow sequence XjHistory it is related
Sequence is denoted asThe value range of M is [3,5], the history phase
Relationship number ρjm(t) calculation formula are as follows:
(9) predictive factor chooses module, for according to the temporal and spatial correlations coefficient threshold T1With history correlation coefficient threshold T2
Choose with the relevant predictive factor of prediction target point, and according to spatial position j and time delay τ progress matrix reconstruction selected by it,
Selection principle are as follows:
If ρij(τ) ' > T1, then section S will be observediMagnitude of traffic flow sequence XiThe middle magnitude of traffic flow composition for meeting condition is new
Sequence and as the first predictive factor, be denoted as X', X'=(x1',x2',...,xp'), wherein p is the friendship for meeting condition
Through-current capacity number, if L1For the maximum value of time delay in the first predictive factor, L1=max τ | τ ∈ [0, L] and ρij(τ) ' >
T1, then the first predictive factor X' can state following matrix form as:
If ρjm(t) > T2, then by all history correlated series X for meeting conditionjm(t) it is used as the second predictive factor, is denoted as
Y', Y'={ y1',y2',...,yq', wherein q is the historical traffic number for the condition that meets, and the second predictive factor Y' can be stated as
Following matrix form:
(10) forecast model construction module, by using the first predictive factor and the second predictive factor as training sample come
Predictable section is constructed in the prediction model of the magnitude of traffic flow of subsequent time.
Wherein, in the data preprocessing module, the rule of the data of traffic actual conditions is not met described in rejecting are as follows:
In one data update cycle, the threshold range of total traffic flow data in each section is set separately, if certain collected section
Total traffic flow data fall in corresponding threshold range, then show that this group of data are reliable, retain this group of data;If collecting
Total traffic flow data in certain section fall not in corresponding threshold range, then show that this group of data are unreliable, and picked
It removes.
Wherein, the stationary test module includes following submodule:
(1) submodule is examined, for in the same type of magnitude of traffic flow sequence for observing section and prediction section
Magnitude of traffic flow sequence carries out stationary test respectively;
(2) continuity check submodule is connect, for the friendship to be tested to stationary test is not passed through with submodule is examined
Through-current capacity sequence carries out continuity check, if not meeting continuity, the continuity check submodule uses average interpolation method pair
Data carry out polishing;
(3) misarrangement submodule is connect with continuity check submodule, for deleting the data of apparent error, is used simultaneously
Average interpolation method carries out polishing to data;
(4) difference processing submodule, connection misarrangement submodule and inspection submodule, it is poor for being carried out to the data after polishing
Point processing, and by the data transmission after difference processing to inspection submodule.
The invention has the benefit that
1, data categorization module and stationarity inspection module are set, the accuracy of data is increased, and makes the prediction of construction
Model is more targeted;
2, related coefficient computing module, temporal and spatial correlations coefficient matrix generation module, history correlation matrix is arranged to generate
Module, predictive factor choose module and forecast model construction module, and wherein predictive factor directly affects precision of prediction, related coefficient
It is the index for measuring stochastic variable correlation, can helps to choose instruction of the variable closely related with future position as prediction model
Practice sample, chooses multiple related coefficients as predictive factor, eliminate the subjectivity that initial predictive factor is chosen, can increase pre-
Precision is surveyed, keeps forecast model construction module more stable and accurate;
3, the space correlation coefficient in related coefficient computing module reflects influence of the accessibility to prediction model of road network,
Time correlation coefficient can express the time sequencing of flow sequence, reflect the causality on two sequence times, to improve pre-
Survey the efficiency of predictor selection;Due to the Weekly similarity of the magnitude of traffic flow, the history phase of history correlation matrix generation module is introduced
Relationship number, is used cooperatively with time correlation coefficient and space correlation coefficient, provides more data for Accurate Prediction and supports.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings, but the embodiment in attached drawing is not constituted to any limit of the invention
System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings
Other attached drawings.
Fig. 1 is the connection schematic diagram of each module of prediction meanss of the present invention.
Fig. 2 is navigation system structural schematic diagram of the present invention.
Specific embodiment
The invention will be further described with the following Examples.
Embodiment 1
Referring to Fig. 1, Fig. 2, a kind of automobile navigation systems of the present embodiment are connected including navigation system and with navigation system
Prediction meanss, the navigation system include:
Shortcut key module, for inputting quick control instruction;
Navigation control module is connected with the shortcut key module, for controlling the input of navigation information, processing and its aobvious
Show;
Function setup module is connected with the shortcut key module and navigation control module respectively;
Cache module is connected with the navigation control module;
Display module is connected with the navigation control module and cache module respectively.
Preferably, navigation system further includes cue module, is connected respectively with the navigation control module and display module,
For prompting currently running navigation options.
Preferably, the cue module prompts currently running navigation options using unit is highlighted.
Preferably, characterized in that prediction meanss include sequentially connected acquisition module, data preprocessing module, data point
Generic module, stationary test module, related coefficient computing module, threshold setting module, temporal and spatial correlations coefficient matrix generation module,
History correlation matrix generation module, predictive factor choose module and forecast model construction module:
(1) acquisition module observes section S for acquiring in road network Si, prediction section SjThe magnitude of traffic flow of corresponding each period
Data and passage situation;
(2) data preprocessing module for carrying out data prediction to the traffic flow data, and is rejected and is not met friendship
The data of logical actual conditions;
(3) data categorization module, for carrying out classification of type, the class to by the traffic flow data of data prediction
Type includes festivals or holidays traffic flow data, weekend traffic flow data and working day traffic flow data;
(4) stationary test module, for in same type of observation section SiMagnitude of traffic flow sequence XiWith prediction
Section SjMagnitude of traffic flow sequence XjStationary test is carried out respectively, examines the auto-correlation function of stationarity are as follows:
Wherein, XxIndicate magnitude of traffic flow sequence to be tested, νiIndicate the mean value of magnitude of traffic flow sequence to be tested, Xx+τIndicate Xx
Magnitude of traffic flow sequence after time delay τ, νx+τFor Xx+τMean value, σ2For XxWith Xx+τBetween variance;
When auto-correlation function P (τ) can rapid decay level off to and 0 or fluctuate near 0, then the magnitude of traffic flow sequence to be tested
Column pass through stationary test;When auto-correlation function P (τ) is unable to rapid decay and levels off to 0 or fluctuate near 0, then to it is described to
Continue stationary test after examining magnitude of traffic flow sequence to carry out calm disposing;
(5) related coefficient computing module, for calculating the observation section S for passing through stationary testiMagnitude of traffic flow sequence Xi
With prediction section SjMagnitude of traffic flow sequence XjTime correlation coefficient ρ at time delay τij(τ) and space correlation coefficient ρij
(w), if there is N number of section in road network S, magnitude of traffic flow sequence Xi=[xi(1),xi(2),...,xi(n)], magnitude of traffic flow sequencexi(t) observation section S is indicatediIn the flow of t moment, xj(t) prediction section S is indicatedjIn t
The flow at quarter, t=1,2 ... n, time correlation coefficient ρijThe calculation formula of (τ) are as follows:
Space correlation coefficient ρij(w) calculation formula are as follows:
Preferably, characterized in that prediction meanss further include:
(6) threshold setting module, for setting time delay maximum value L, temporal and spatial correlations coefficient threshold between each section
T1With history correlation coefficient threshold T2;
(7) temporal and spatial correlations coefficient matrix generation module, for the time correlation coefficient ρ according to each sectionij(τ) and space phase
Relationship number ρij(w) each observation section S is constructediWith prediction section SjPostpone the temporal and spatial correlations coefficient matrix ρ under τ in different time
(τ) ', and calculate the temporal and spatial correlations coefficient ρ in each sectionij(τ) ', wherein the value range of i ∈ [1, N] and τ ∈ [0, L], L be [8,
12], the calculation formula of temporal and spatial correlations coefficient matrix ρ (τ) ' are as follows:
Temporal and spatial correlations coefficient ρijThe calculation formula of (τ) ' are as follows:
ρij(τ) '=ρij(τ)ρij(w);
(8) history correlation matrix generation module, for generating prediction section SjHistory correlation matrix ρ (t):
Wherein, the nearly M weeks same period and same type of historical traffic are chosen as magnitude of traffic flow sequence XjHistory it is related
Sequence is denoted asThe value range of M is [3,5], the history phase
Relationship number ρjm(t) calculation formula are as follows:
(9) predictive factor chooses module, for according to the temporal and spatial correlations coefficient threshold T1With history correlation coefficient threshold T2
Choose with the relevant predictive factor of prediction target point, and according to spatial position j and time delay τ progress matrix reconstruction selected by it,
Selection principle are as follows:
If ρij(τ) ' > T1, then section S will be observediMagnitude of traffic flow sequence XiThe middle magnitude of traffic flow composition for meeting condition is new
Sequence and as the first predictive factor, be denoted as X', X'=(x1',x2',...,xp'), wherein p is the friendship for meeting condition
Through-current capacity number, if L1For the maximum value of time delay in the first predictive factor, L1=max τ | τ ∈ [0, L] and ρij(τ) ' >
T1, then the first predictive factor X' can state following matrix form as:
If ρjm(t) > T2, then by all history correlated series X for meeting conditionjm(t) it is used as the second predictive factor, is denoted as
Y', Y'={ y1',y2',...,yq', wherein q is the historical traffic number for the condition that meets, and the second predictive factor Y' can be stated as
Following matrix form:
(10) forecast model construction module, by using the first predictive factor and the second predictive factor as training sample come
Predictable section is constructed in the prediction model of the magnitude of traffic flow of subsequent time.
Wherein, in the data preprocessing module, the rule of the data of traffic actual conditions is not met described in rejecting are as follows:
In one data update cycle, the threshold range of total traffic flow data in each section is set separately, if certain collected section
Total traffic flow data fall in corresponding threshold range, then show that this group of data are reliable, retain this group of data;If collecting
Total traffic flow data in certain section fall not in corresponding threshold range, then show that this group of data are unreliable, and picked
It removes.
Wherein, the stationary test module includes following submodule:
(1) submodule is examined, for in the same type of magnitude of traffic flow sequence for observing section and prediction section
Magnitude of traffic flow sequence carries out stationary test respectively;
(2) continuity check submodule is connect, for the friendship to be tested to stationary test is not passed through with submodule is examined
Through-current capacity sequence carries out continuity check, if not meeting continuity, the continuity check submodule uses average interpolation method pair
Data carry out polishing;
(3) misarrangement submodule is connect with continuity check submodule, for deleting the data of apparent error, is used simultaneously
Average interpolation method carries out polishing to data;
(4) difference processing submodule, connection misarrangement submodule and inspection submodule, it is poor for being carried out to the data after polishing
Point processing, and by the data transmission after difference processing to inspection submodule.
Data categorization module and stationarity inspection module is arranged in the present embodiment, increases the accuracy of data, and make to construct
Prediction model it is more targeted;Related coefficient computing module, temporal and spatial correlations coefficient matrix generation module, history phase relation are set
Matrix number generation module, predictive factor choose module and forecast model construction module, eliminate the master that initial predictive factor is chosen
The property seen, can increase precision of prediction, keep forecast model construction module more stable and accurate;The present embodiment value L=8, M=3,
Precision of prediction improves 1.5% relative to the relevant technologies.
Embodiment 2
Referring to Fig. 1, Fig. 2, a kind of automobile navigation systems of the present embodiment are connected including navigation system and with navigation system
Prediction meanss, the navigation system include:
Shortcut key module, for inputting quick control instruction;
Navigation control module is connected with the shortcut key module, for controlling the input of navigation information, processing and its aobvious
Show;
Function setup module is connected with the shortcut key module and navigation control module respectively;
Cache module is connected with the navigation control module;
Display module is connected with the navigation control module and cache module respectively.
Preferably, navigation system further includes cue module, is connected respectively with the navigation control module and display module,
For prompting currently running navigation options.
Preferably, the cue module prompts currently running navigation options using unit is highlighted.
Preferably, characterized in that prediction meanss include sequentially connected acquisition module, data preprocessing module, data point
Generic module, stationary test module, related coefficient computing module, threshold setting module, temporal and spatial correlations coefficient matrix generation module,
History correlation matrix generation module, predictive factor choose module and forecast model construction module:
(1) acquisition module observes section S for acquiring in road network Si, prediction section SjThe magnitude of traffic flow of corresponding each period
Data and passage situation;
(2) data preprocessing module for carrying out data prediction to the traffic flow data, and is rejected and is not met friendship
The data of logical actual conditions;
(3) data categorization module, for carrying out classification of type, the class to by the traffic flow data of data prediction
Type includes festivals or holidays traffic flow data, weekend traffic flow data and working day traffic flow data;
(4) stationary test module, for in same type of observation section SiMagnitude of traffic flow sequence XiWith prediction
Section SjMagnitude of traffic flow sequence XjStationary test is carried out respectively, examines the auto-correlation function of stationarity are as follows:
Wherein, XxIndicate magnitude of traffic flow sequence to be tested, νiIndicate the mean value of magnitude of traffic flow sequence to be tested, Xx+τIndicate Xx
Magnitude of traffic flow sequence after time delay τ, νx+τFor Xx+τMean value, σ2For XxWith Xx+τBetween variance;
When auto-correlation function P (τ) can rapid decay level off to and 0 or fluctuate near 0, then the magnitude of traffic flow sequence to be tested
Column pass through stationary test;When auto-correlation function P (τ) is unable to rapid decay and levels off to 0 or fluctuate near 0, then to it is described to
Continue stationary test after examining magnitude of traffic flow sequence to carry out calm disposing;
(5) related coefficient computing module, for calculating the observation section S for passing through stationary testiMagnitude of traffic flow sequence Xi
With prediction section SjMagnitude of traffic flow sequence XjTime correlation coefficient ρ at time delay τij(τ) and space correlation coefficient ρij
(w), if there is N number of section in road network S, magnitude of traffic flow sequence Xi=[xi(1),xi(2),...,xi(n)], magnitude of traffic flow sequencexi(t) observation section S is indicatediIn the flow of t moment, xj(t) prediction section S is indicatedjIn t
The flow at quarter, t=1,2 ... n, time correlation coefficient ρijThe calculation formula of (τ) are as follows:
Space correlation coefficient ρij(w) calculation formula are as follows:
Preferably, characterized in that prediction meanss further include:
(6) threshold setting module, for setting time delay maximum value L, temporal and spatial correlations coefficient threshold between each section
T1With history correlation coefficient threshold T2;
(7) temporal and spatial correlations coefficient matrix generation module, for the time correlation coefficient ρ according to each sectionij(τ) and space phase
Relationship number ρij(w) each observation section S is constructediWith prediction section SjPostpone the temporal and spatial correlations coefficient matrix ρ under τ in different time
(τ) ', and calculate the temporal and spatial correlations coefficient ρ in each sectionij(τ) ', wherein the value range of i ∈ [1, N] and τ ∈ [0, L], L be [8,
12], the calculation formula of temporal and spatial correlations coefficient matrix ρ (τ) ' are as follows:
Temporal and spatial correlations coefficient ρijThe calculation formula of (τ) ' are as follows:
ρij(τ) '=ρij(τ)ρij(w);
(8) history correlation matrix generation module, for generating prediction section SjHistory correlation matrix ρ (t):
Wherein, the nearly M weeks same period and same type of historical traffic are chosen as magnitude of traffic flow sequence XjHistory it is related
Sequence is denoted asThe value range of M is [3,5], the history phase
Relationship number ρjm(t) calculation formula are as follows:
(9) predictive factor chooses module, for according to the temporal and spatial correlations coefficient threshold T1With history correlation coefficient threshold T2
Choose with the relevant predictive factor of prediction target point, and according to spatial position j and time delay τ progress matrix reconstruction selected by it,
Selection principle are as follows:
If ρij(τ) ' > T1, then section S will be observediMagnitude of traffic flow sequence XiThe middle magnitude of traffic flow composition for meeting condition is new
Sequence and as the first predictive factor, be denoted as X', X'=(x1',x2',...,xp'), wherein p is the friendship for meeting condition
Through-current capacity number, if L1For the maximum value of time delay in the first predictive factor, L1=max τ | and τ ∈ [0, L] | and ρij(τ)'
> T1, then the first predictive factor X' can state following matrix form as:
If ρjm(t) > T2, then by all history correlated series X for meeting conditionjm(t) it is used as the second predictive factor, is denoted as
Y', Y'={ y1',y2',...,yq', wherein q is the historical traffic number for the condition that meets, and the second predictive factor Y' can be stated as
Following matrix form:
(10) forecast model construction module, by using the first predictive factor and the second predictive factor as training sample come
Predictable section is constructed in the prediction model of the magnitude of traffic flow of subsequent time.
Wherein, in the data preprocessing module, the rule of the data of traffic actual conditions is not met described in rejecting are as follows:
In one data update cycle, the threshold range of total traffic flow data in each section is set separately, if certain collected section
Total traffic flow data fall in corresponding threshold range, then show that this group of data are reliable, retain this group of data;If collecting
Total traffic flow data in certain section fall not in corresponding threshold range, then show that this group of data are unreliable, and picked
It removes.
Wherein, the stationary test module includes following submodule:
(1) submodule is examined, for in the same type of magnitude of traffic flow sequence for observing section and prediction section
Magnitude of traffic flow sequence carries out stationary test respectively;
(2) continuity check submodule is connect, for the friendship to be tested to stationary test is not passed through with submodule is examined
Through-current capacity sequence carries out continuity check, if not meeting continuity, the continuity check submodule uses average interpolation method pair
Data carry out polishing;
(3) misarrangement submodule is connect with continuity check submodule, for deleting the data of apparent error, is used simultaneously
Average interpolation method carries out polishing to data;
(4) difference processing submodule, connection misarrangement submodule and inspection submodule, it is poor for being carried out to the data after polishing
Point processing, and by the data transmission after difference processing to inspection submodule.
Data categorization module and stationarity inspection module is arranged in the present embodiment, increases the accuracy of data, and make to construct
Prediction model it is more targeted;Related coefficient computing module, temporal and spatial correlations coefficient matrix generation module, history phase relation are set
Matrix number generation module, predictive factor choose module and forecast model construction module, eliminate the master that initial predictive factor is chosen
The property seen, can increase precision of prediction, keep forecast model construction module more stable and accurate;The present embodiment value L=9, M=3,
Precision of prediction improves 2% relative to the relevant technologies.
Embodiment 3
Referring to Fig. 1, Fig. 2, a kind of automobile navigation systems of the present embodiment are connected including navigation system and with navigation system
Prediction meanss, the navigation system include:
Shortcut key module, for inputting quick control instruction;
Navigation control module is connected with the shortcut key module, for controlling the input of navigation information, processing and its aobvious
Show;
Function setup module is connected with the shortcut key module and navigation control module respectively;
Cache module is connected with the navigation control module;
Display module is connected with the navigation control module and cache module respectively.
Preferably, navigation system further includes cue module, is connected respectively with the navigation control module and display module,
For prompting currently running navigation options.
Preferably, the cue module prompts currently running navigation options using unit is highlighted.
Preferably, characterized in that prediction meanss include sequentially connected acquisition module, data preprocessing module, data point
Generic module, stationary test module, related coefficient computing module, threshold setting module, temporal and spatial correlations coefficient matrix generation module,
History correlation matrix generation module, predictive factor choose module and forecast model construction module:
(1) acquisition module observes section S for acquiring in road network Si, prediction section SjThe magnitude of traffic flow of corresponding each period
Data and passage situation;
(2) data preprocessing module for carrying out data prediction to the traffic flow data, and is rejected and is not met friendship
The data of logical actual conditions;
(3) data categorization module, for carrying out classification of type, the class to by the traffic flow data of data prediction
Type includes festivals or holidays traffic flow data, weekend traffic flow data and working day traffic flow data;
(4) stationary test module, for in same type of observation section SiMagnitude of traffic flow sequence XiWith prediction
Section SjMagnitude of traffic flow sequence XjStationary test is carried out respectively, examines the auto-correlation function of stationarity are as follows:
Wherein, XxIndicate magnitude of traffic flow sequence to be tested, νiIndicate the mean value of magnitude of traffic flow sequence to be tested, Xx+τIndicate Xx
Magnitude of traffic flow sequence after time delay τ, νx+τFor Xx+τMean value, σ2For XxWith Xx+τBetween variance;
When auto-correlation function P (τ) can rapid decay level off to and 0 or fluctuate near 0, then the magnitude of traffic flow sequence to be tested
Column pass through stationary test;When auto-correlation function P (τ) is unable to rapid decay and levels off to 0 or fluctuate near 0, then to it is described to
Continue stationary test after examining magnitude of traffic flow sequence to carry out calm disposing;
(5) related coefficient computing module, for calculating the observation section S for passing through stationary testiMagnitude of traffic flow sequence Xi
With prediction section SjMagnitude of traffic flow sequence XjTime correlation coefficient ρ at time delay τij(τ) and space correlation coefficient ρij
(w), if there is N number of section in road network S, magnitude of traffic flow sequence Xi=[xi(1),xi(2),...,xi(n)], magnitude of traffic flow sequencexi(t) observation section S is indicatediIn the flow of t moment, xj(t) prediction section S is indicatedjIn t
The flow at quarter, t=1,2 ... n, time correlation coefficient ρijThe calculation formula of (τ) are as follows:
Space correlation coefficient ρij(w) calculation formula are as follows:
Preferably, characterized in that prediction meanss further include:
(6) threshold setting module, for setting time delay maximum value L, temporal and spatial correlations coefficient threshold between each section
T1With history correlation coefficient threshold T2;
(7) temporal and spatial correlations coefficient matrix generation module, for the time correlation coefficient ρ according to each sectionij(τ) and space phase
Relationship number ρij(w) each observation section S is constructediWith prediction section SjPostpone the temporal and spatial correlations coefficient matrix ρ under τ in different time
(τ) ', and calculate the temporal and spatial correlations coefficient ρ in each sectionij(τ) ', wherein the value range of i ∈ [1, N] and τ ∈ [0, L], L be [8,
12], the calculation formula of temporal and spatial correlations coefficient matrix ρ (τ) ' are as follows:
Temporal and spatial correlations coefficient ρijThe calculation formula of (τ) ' are as follows:
ρij(τ) '=ρij(τ)ρij(w);
(8) history correlation matrix generation module, for generating prediction section SjHistory correlation matrix ρ (t):
Wherein, the nearly M weeks same period and same type of historical traffic are chosen as magnitude of traffic flow sequence XjHistory it is related
Sequence is denoted asThe value range of M is [3,5], the history phase
Relationship number ρjm(t) calculation formula are as follows:
(9) predictive factor chooses module, for according to the temporal and spatial correlations coefficient threshold T1With history correlation coefficient threshold T2
Choose with the relevant predictive factor of prediction target point, and according to spatial position j and time delay τ progress matrix reconstruction selected by it,
Selection principle are as follows:
If ρij(τ) ' > T1, then section S will be observediMagnitude of traffic flow sequence XiThe middle magnitude of traffic flow composition for meeting condition is new
Sequence and as the first predictive factor, be denoted as X', X'=(x1',x2',...,xp'), wherein p is the friendship for meeting condition
Through-current capacity number, if L1For the maximum value of time delay in the first predictive factor, L1=max τ | and τ ∈ [0, L] | and ρij(τ)'
> T1, then the first predictive factor X' can state following matrix form as:
If ρjm(t) > T2, then by all history correlated series X for meeting conditionjm(t) it is used as the second predictive factor, is denoted as
Y', Y'={ y1',y2',...,yq', wherein q is the historical traffic number for the condition that meets, and the second predictive factor Y' can be stated as
Following matrix form:
(10) forecast model construction module, by using the first predictive factor and the second predictive factor as training sample come
Predictable section is constructed in the prediction model of the magnitude of traffic flow of subsequent time.
Wherein, in the data preprocessing module, the rule of the data of traffic actual conditions is not met described in rejecting are as follows:
In one data update cycle, the threshold range of total traffic flow data in each section is set separately, if certain collected section
Total traffic flow data fall in corresponding threshold range, then show that this group of data are reliable, retain this group of data;If collecting
Total traffic flow data in certain section fall not in corresponding threshold range, then show that this group of data are unreliable, and picked
It removes.
Wherein, the stationary test module includes following submodule:
(1) submodule is examined, for in the same type of magnitude of traffic flow sequence for observing section and prediction section
Magnitude of traffic flow sequence carries out stationary test respectively;
(2) continuity check submodule is connect, for the friendship to be tested to stationary test is not passed through with submodule is examined
Through-current capacity sequence carries out continuity check, if not meeting continuity, the continuity check submodule uses average interpolation method pair
Data carry out polishing;
(3) misarrangement submodule is connect with continuity check submodule, for deleting the data of apparent error, is used simultaneously
Average interpolation method carries out polishing to data;
(4) difference processing submodule, connection misarrangement submodule and inspection submodule, it is poor for being carried out to the data after polishing
Point processing, and by the data transmission after difference processing to inspection submodule.
Data categorization module and stationarity inspection module is arranged in the present embodiment, increases the accuracy of data, and make to construct
Prediction model it is more targeted;Related coefficient computing module, temporal and spatial correlations coefficient matrix generation module, history phase relation are set
Matrix number generation module, predictive factor choose module and forecast model construction module, eliminate the master that initial predictive factor is chosen
The property seen, can increase precision of prediction, keep forecast model construction module more stable and accurate;The present embodiment value L=10, M=
4, precision of prediction improves 2.6% relative to the relevant technologies.
Embodiment 4
Referring to Fig. 1, Fig. 2, a kind of automobile navigation systems of the present embodiment are connected including navigation system and with navigation system
Prediction meanss, the navigation system include:
Shortcut key module, for inputting quick control instruction;
Navigation control module is connected with the shortcut key module, for controlling the input of navigation information, processing and its aobvious
Show;
Function setup module is connected with the shortcut key module and navigation control module respectively;
Cache module is connected with the navigation control module;
Display module is connected with the navigation control module and cache module respectively.
Preferably, navigation system further includes cue module, is connected respectively with the navigation control module and display module,
For prompting currently running navigation options.
Preferably, the cue module prompts currently running navigation options using unit is highlighted.
Preferably, characterized in that prediction meanss include sequentially connected acquisition module, data preprocessing module, data point
Generic module, stationary test module, related coefficient computing module, threshold setting module, temporal and spatial correlations coefficient matrix generation module,
History correlation matrix generation module, predictive factor choose module and forecast model construction module:
(1) acquisition module observes section S for acquiring in road network Si, prediction section SjThe magnitude of traffic flow of corresponding each period
Data and passage situation;
(2) data preprocessing module for carrying out data prediction to the traffic flow data, and is rejected and is not met friendship
The data of logical actual conditions;
(3) data categorization module, for carrying out classification of type, the class to by the traffic flow data of data prediction
Type includes festivals or holidays traffic flow data, weekend traffic flow data and working day traffic flow data;
(4) stationary test module, for in same type of observation section SiMagnitude of traffic flow sequence XiWith prediction
Section SjMagnitude of traffic flow sequence XjStationary test is carried out respectively, examines the auto-correlation function of stationarity are as follows:
Wherein, XxIndicate magnitude of traffic flow sequence to be tested, νiIndicate the mean value of magnitude of traffic flow sequence to be tested, Xx+τIndicate Xx
Magnitude of traffic flow sequence after time delay τ, νx+τFor Xx+τMean value, σ2For XxWith Xx+τBetween variance;
When auto-correlation function P (τ) can rapid decay level off to and 0 or fluctuate near 0, then the magnitude of traffic flow sequence to be tested
Column pass through stationary test;When auto-correlation function P (τ) is unable to rapid decay and levels off to 0 or fluctuate near 0, then to it is described to
Continue stationary test after examining magnitude of traffic flow sequence to carry out calm disposing;
(5) related coefficient computing module, for calculating the observation section S for passing through stationary testiMagnitude of traffic flow sequence Xi
With prediction section SjMagnitude of traffic flow sequence XjTime correlation coefficient ρ at time delay τij(τ) and space correlation coefficient ρij
(w), if there is N number of section in road network S, magnitude of traffic flow sequence Xi=[xi(1),xi(2),...,xi(n)], magnitude of traffic flow sequencexi(t) observation section S is indicatediIn the flow of t moment, xj(t) prediction section S is indicatedjIn t
The flow at quarter, t=1,2 ... n, time correlation coefficient ρijThe calculation formula of (τ) are as follows:
Space correlation coefficient ρij(w) calculation formula are as follows:
Preferably, characterized in that prediction meanss further include:
(6) threshold setting module, for setting time delay maximum value L, temporal and spatial correlations coefficient threshold between each section
T1With history correlation coefficient threshold T2;
(7) temporal and spatial correlations coefficient matrix generation module, for the time correlation coefficient ρ according to each sectionij(τ) and space phase
Relationship number ρij(w) each observation section S is constructediWith prediction section SjPostpone the temporal and spatial correlations coefficient matrix ρ under τ in different time
(τ) ', and calculate the temporal and spatial correlations coefficient ρ in each sectionij(τ) ', wherein the value range of i ∈ [1, N] and τ ∈ [0, L], L be [8,
12], the calculation formula of temporal and spatial correlations coefficient matrix ρ (τ) ' are as follows:
Temporal and spatial correlations coefficient ρijThe calculation formula of (τ) ' are as follows:
ρij(τ) '=ρij(τ)ρij(w);
(8) history correlation matrix generation module, for generating prediction section SjHistory correlation matrix ρ (t):
Wherein, the nearly M weeks same period and same type of historical traffic are chosen as magnitude of traffic flow sequence XjHistory it is related
Sequence is denoted asThe value range of M is [3,5], the history phase
Relationship number ρjm(t) calculation formula are as follows:
(9) predictive factor chooses module, for according to the temporal and spatial correlations coefficient threshold T1With history correlation coefficient threshold T2
Choose with the relevant predictive factor of prediction target point, and according to spatial position j and time delay τ progress matrix reconstruction selected by it,
Selection principle are as follows:
If ρij(τ) ' > T1, then section S will be observediMagnitude of traffic flow sequence XiThe middle magnitude of traffic flow composition for meeting condition is new
Sequence and as the first predictive factor, be denoted as X', X'=(x1',x2',...,xp'), wherein p is the friendship for meeting condition
Through-current capacity number, if L1For the maximum value of time delay in the first predictive factor, L1=max τ | τ ∈ [0, L] and ρij(τ) ' >
T1, then the first predictive factor X' can state following matrix form as:
If ρjm(t) > T2, then by all history correlated series X for meeting conditionjm(t) it is used as the second predictive factor, is denoted as
Y', Y'={ y1',y2',...,yq', wherein q is the historical traffic number for the condition that meets, and the second predictive factor Y' can be stated as
Following matrix form:
(10) forecast model construction module, by using the first predictive factor and the second predictive factor as training sample come
Predictable section is constructed in the prediction model of the magnitude of traffic flow of subsequent time.
Wherein, in the data preprocessing module, the rule of the data of traffic actual conditions is not met described in rejecting are as follows:
In one data update cycle, the threshold range of total traffic flow data in each section is set separately, if certain collected section
Total traffic flow data fall in corresponding threshold range, then show that this group of data are reliable, retain this group of data;If collecting
Total traffic flow data in certain section fall not in corresponding threshold range, then show that this group of data are unreliable, and picked
It removes.
Wherein, the stationary test module includes following submodule:
(1) submodule is examined, for in the same type of magnitude of traffic flow sequence for observing section and prediction section
Magnitude of traffic flow sequence carries out stationary test respectively;
(2) continuity check submodule is connect, for the friendship to be tested to stationary test is not passed through with submodule is examined
Through-current capacity sequence carries out continuity check, if not meeting continuity, the continuity check submodule uses average interpolation method pair
Data carry out polishing;
(3) misarrangement submodule is connect with continuity check submodule, for deleting the data of apparent error, is used simultaneously
Average interpolation method carries out polishing to data;
(4) difference processing submodule, connection misarrangement submodule and inspection submodule, it is poor for being carried out to the data after polishing
Point processing, and by the data transmission after difference processing to inspection submodule.
Data categorization module and stationarity inspection module is arranged in the present embodiment, increases the accuracy of data, and make to construct
Prediction model it is more targeted;Related coefficient computing module, temporal and spatial correlations coefficient matrix generation module, history phase relation are set
Matrix number generation module, predictive factor choose module and forecast model construction module, eliminate the master that initial predictive factor is chosen
The property seen, can increase precision of prediction, keep forecast model construction module more stable and accurate;The present embodiment value L=11, M=
5, precision of prediction improves 3.2% relative to the relevant technologies.
Embodiment 5
Referring to Fig. 1, Fig. 2, a kind of automobile navigation systems of the present embodiment are connected including navigation system and with navigation system
Prediction meanss, the navigation system include:
Shortcut key module, for inputting quick control instruction;
Navigation control module is connected with the shortcut key module, for controlling the input of navigation information, processing and its aobvious
Show;
Function setup module is connected with the shortcut key module and navigation control module respectively;
Cache module is connected with the navigation control module;
Display module is connected with the navigation control module and cache module respectively.
Preferably, navigation system further includes cue module, is connected respectively with the navigation control module and display module,
For prompting currently running navigation options.
Preferably, the cue module prompts currently running navigation options using unit is highlighted.
Preferably, characterized in that prediction meanss include sequentially connected acquisition module, data preprocessing module, data point
Generic module, stationary test module, related coefficient computing module, threshold setting module, temporal and spatial correlations coefficient matrix generation module,
History correlation matrix generation module, predictive factor choose module and forecast model construction module:
(1) acquisition module observes section S for acquiring in road network Si, prediction section SjThe magnitude of traffic flow of corresponding each period
Data and passage situation;
(2) data preprocessing module for carrying out data prediction to the traffic flow data, and is rejected and is not met friendship
The data of logical actual conditions;
(3) data categorization module, for carrying out classification of type, the class to by the traffic flow data of data prediction
Type includes festivals or holidays traffic flow data, weekend traffic flow data and working day traffic flow data;
(4) stationary test module, for in same type of observation section SiMagnitude of traffic flow sequence XiWith prediction
Section SjMagnitude of traffic flow sequence XjStationary test is carried out respectively, examines the auto-correlation function of stationarity are as follows:
Wherein, XxIndicate magnitude of traffic flow sequence to be tested, νiIndicate the mean value of magnitude of traffic flow sequence to be tested, Xx+τIndicate Xx
Magnitude of traffic flow sequence after time delay τ, νx+τFor Xx+τMean value, σ2For XxWith Xx+τBetween variance;
When auto-correlation function P (τ) can rapid decay level off to and 0 or fluctuate near 0, then the magnitude of traffic flow sequence to be tested
Column pass through stationary test;When auto-correlation function P (τ) is unable to rapid decay and levels off to 0 or fluctuate near 0, then to it is described to
Continue stationary test after examining magnitude of traffic flow sequence to carry out calm disposing;
(5) related coefficient computing module, for calculating the observation section S for passing through stationary testiMagnitude of traffic flow sequence Xi
With prediction section SjMagnitude of traffic flow sequence XjTime correlation coefficient ρ at time delay τij(τ) and space correlation coefficient ρij
(w), if there is N number of section in road network S, magnitude of traffic flow sequence Xi=[xi(1),xi(2),...,xi(n)], magnitude of traffic flow sequencexi(t) observation section S is indicatediIn the flow of t moment, xj(t) prediction section S is indicatedjIn t
The flow at quarter, t=1,2 ... n, time correlation coefficient ρijThe calculation formula of (τ) are as follows:
Space correlation coefficient ρij(w) calculation formula are as follows:
Preferably, characterized in that prediction meanss further include:
(6) threshold setting module, for setting time delay maximum value L, temporal and spatial correlations coefficient threshold between each section
T1With history correlation coefficient threshold T2;
(7) temporal and spatial correlations coefficient matrix generation module, for the time correlation coefficient ρ according to each sectionij(τ) and space phase
Relationship number ρij(w) each observation section S is constructediWith prediction section SjPostpone the temporal and spatial correlations coefficient matrix ρ under τ in different time
(τ) ', and calculate the temporal and spatial correlations coefficient ρ in each sectionij(τ) ', wherein the value range of i ∈ [1, N] and τ ∈ [0, L], L be [8,
12], the calculation formula of temporal and spatial correlations coefficient matrix ρ (τ) ' are as follows:
Temporal and spatial correlations coefficient ρijThe calculation formula of (τ) ' are as follows:
ρij(τ) '=ρij(τ)ρij(w);
(8) history correlation matrix generation module, for generating prediction section SjHistory correlation matrix ρ (t):
Wherein, the nearly M weeks same period and same type of historical traffic are chosen as magnitude of traffic flow sequence XjHistory it is related
Sequence is denoted asThe value range of M is [3,5], the history phase
Relationship number ρjm(t) calculation formula are as follows:
(9) predictive factor chooses module, for according to the temporal and spatial correlations coefficient threshold T1With history correlation coefficient threshold T2
Choose with the relevant predictive factor of prediction target point, and according to spatial position j and time delay τ progress matrix reconstruction selected by it,
Selection principle are as follows:
If ρij(τ) ' > T1, then section S will be observediMagnitude of traffic flow sequence XiThe middle magnitude of traffic flow composition for meeting condition is new
Sequence and as the first predictive factor, be denoted as X', X'=(x1',x2',...,xp'), wherein p is the friendship for meeting condition
Through-current capacity number, if L1For the maximum value of time delay in the first predictive factor, L1=max τ | τ ∈ [0, L] and ρij(τ) ' >
T1, then the first predictive factor X' can state following matrix form as:
If ρjm(t) > T2, then by all history correlated series X for meeting conditionjm(t) it is used as the second predictive factor, is denoted as
Y', Y'={ y1',y2',...,yq', wherein q is the historical traffic number for the condition that meets, and the second predictive factor Y' can be stated as
Following matrix form:
(10) forecast model construction module, by using the first predictive factor and the second predictive factor as training sample come
Predictable section is constructed in the prediction model of the magnitude of traffic flow of subsequent time.
Wherein, in the data preprocessing module, the rule of the data of traffic actual conditions is not met described in rejecting are as follows:
In one data update cycle, the threshold range of total traffic flow data in each section is set separately, if certain collected section
Total traffic flow data fall in corresponding threshold range, then show that this group of data are reliable, retain this group of data;If collecting
Total traffic flow data in certain section fall not in corresponding threshold range, then show that this group of data are unreliable, and picked
It removes.
Wherein, the stationary test module includes following submodule:
(1) submodule is examined, for in the same type of magnitude of traffic flow sequence for observing section and prediction section
Magnitude of traffic flow sequence carries out stationary test respectively;
(2) continuity check submodule is connect, for the friendship to be tested to stationary test is not passed through with submodule is examined
Through-current capacity sequence carries out continuity check, if not meeting continuity, the continuity check submodule uses average interpolation method pair
Data carry out polishing;
(3) misarrangement submodule is connect with continuity check submodule, for deleting the data of apparent error, is used simultaneously
Average interpolation method carries out polishing to data;
(4) difference processing submodule, connection misarrangement submodule and inspection submodule, it is poor for being carried out to the data after polishing
Point processing, and by the data transmission after difference processing to inspection submodule.
Data categorization module and stationarity inspection module is arranged in the present embodiment, increases the accuracy of data, and make to construct
Prediction model it is more targeted;Related coefficient computing module, temporal and spatial correlations coefficient matrix generation module, history phase relation are set
Matrix number generation module, predictive factor choose module and forecast model construction module, eliminate the master that initial predictive factor is chosen
The property seen, can increase precision of prediction, keep forecast model construction module more stable and accurate;The present embodiment value L=12, M=
5, precision of prediction improves 3.5% relative to the relevant technologies.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected
The limitation of range is protected, although explaining in detail referring to preferred embodiment to the present invention, those skilled in the art are answered
Work as understanding, it can be with modification or equivalent replacement of the technical solution of the present invention are made, without departing from the reality of technical solution of the present invention
Matter and range.