Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is the purpose only merely for description specific embodiment in the term that this specification uses, is not intended to be limiting this explanation
Book.The "an" of used singulative, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein is
Refer to and include one or more associated list items purposes any or all may combine.Depending on context, as made at this
Word " if " can be construed to " ... when " or " when ... " or " in response to determination ".
With the development of science and technology and the aggravation of industry competition, the control of cost, risk etc. at increase enterprise key
The necessary means of competitiveness can reduce cost and risk for the accurately prediction of operational indicator future trend.
By taking Alipay international payment business as an example.Alipay provides the consumption abroad clothes on line and under line to client at present
It is engaged in, the online shopping of website is washed in a pan in the sea such as international and similar koala nets of service You Tianmao on line, has Hong Kong, South Korea, day under line
Sheet, Southeast Asia and some other country overseas pay service face to face.Either on line or under line, client only needs payer
People's coin, but Alipay needs to settle accounts corresponding foreign currency to different businessmans, therefore there is demand of largely exchanging in Alipay.In order to the greatest extent
Amount reduces influence of the fluctuation of exchange rate to Alipay, purchase of the Alipay in need of work that morning just and on the day of counterparty's locking
Foreign exchange volume, in addition, since in weekend or festivals or holidays, open window is not traded for bank and other financial mechanism counterparty side, therefore
Such as weekend or festivals or holidays, need to be purchased in advance weekend in advance on the last one working day/festivals or holidays needed for foreign exchange, therefore it is accurately pre-
Survey business occurrence quantity, it is possible to reduce business risk and raising fund utilization ratio.
In view of the above problems, a kind of index prediction technique of this specification embodiment offer and device, first below to this theory
The operating system framework of bright book example scheme illustrates.Entity shown in Figure 1, that this specification example scheme is related to
Including:Computer equipment 100 and terminal 200, wherein terminal 200 is generated for being used in specific business scenario
Business datum, the business datum include operational indicator, for example, overseas being paid using mobile phone, are carried out using laptop
Abroad buy on behalf etc..Computer equipment 100 is used to that terminal 200 to be supported to provide corresponding business, and is carried out centainly to terminal 200
Management.Such as the business datum of the generation of each terminal 200 can be collected, it is managed and is formed through over cleaning etc. according to the business datum
Historical time sequence is predicted according to the index in the historical time sequence pair future.
The embodiment of the present invention is further introduced below in conjunction with the accompanying drawings.
Fig. 2 is the flow diagram for the index prediction technique that this specification embodiment provides.This method is suitable for computer
Equipment, as shown in Fig. 2, this method tool includes step 210-240:
S210, determined in the historical time sequence of first window respectively with isometric more of each of multiple second windows
A relatively time series.Wherein, each second window corresponds to a base time series, and each second window corresponds to different windows
The length of window of length, the first window is more than second window, the terminal of the first window and second window
It is identical.In addition, time series is the time series of index.
It is foundation using first window middle finger target historical time sequence, with second in the scheme that this specification is provided
In window on the basis of base time series, the index in third window is predicted.
In conjunction with shown in Fig. 3, first window is historical data value window, which can be time span or number
According to amount length, value can determine according to actual needs, for example, time series is the index daily counted, the first window
Starting point was before three months, and terminal is current time, and length of window is three months.Alternatively, when the starting point of the first window is current
The 60th index of history is carved, terminal is current time index, length of window 60.In addition, the first window can also be covered
All historical datas.For another example first window is 14 achievement datas shown in Fig. 3.
In one example, it can first determine that source data, the source data are history service data.The source data is carried out
Cleaning and processing, generate historical time sequence.When can select the history that first window includes in the historical time sequence
Between the foundation predicted as index of sequence.
Second window is the value window of base time series, and the benchmark which predicts as index becomes
Gesture.Wherein, second window is identical as the website of first window, and the second window is included in first window.For example, given the
After two length of window, the base time sequence of last continuous several indexs compositions of historical time sequence in first window is generally taken
Row.For example, first window shown in Fig. 3 is moment 301 to the moment 314, and the second window can be moment 311 to the moment 314.
Third window is the window for the index for needing to predict, the terminal phase of the starting point of the third window and second window
It is adjacent.For example, the terminal of the second window is current time, then the starting point of third window is subsequent time, alternatively, the second window
Terminal is last moment, then the starting point of third window is current time.The value of the third window determines according to actual needs,
For example, the third window can be two days or two, one day or one following.For example, first window is the moment as shown in Figure 3
301 to the moment 314, and the second window can be moment 311 to the moment 314, third window is moment 315 to the moment 316.
In this specification embodiment, the second window includes multiple, each corresponds to different length, specifically, Ke Yishe
The value range of the length of fixed second window, when being predicted into row index, it is thus necessary to determine that all possible in the value range to take
Second window of value.Wherein it is possible to determine the value range according to actual needs.For example, according to the need of index predictablity rate
It asks, the second length of window is typically no less than 3 data, and maximum is not more than 10 data.For example, in conjunction with shown in Fig. 3, if the second window
Mouthful value range be not less than 3, then the second window can be moment 312 to the moment 314, moment 311 to the moment 314, when
Carve 310 to the moment 314, moment 309 to the moment 314, moment 308 to the moment 314, moment 307 to the moment 314, the moment 306 to when
Carve 314, moment 305 to the moment 314, moment 304 to the moment 314, moment 303 to the moment 314, moment 302 to the moment 314 and when
Carve 301 to the moment 314.
Further, it when being predicted into row index, for each of multiple second windows, needs in historical time sequence
Middle multiple relatively time series, the comparison time series terminals for selecting length to be equal to the second length of window for length of window are adjacent
There is history index, the quantity of the adjacent history index is more than or equal to the length of third window, for example, in conjunction with shown in Fig. 3, second
When window is moment 311 to the moment 314, when needing to predict the index at lower two moment, compare time series include the moment 301 to
Any four continuous moment corresponding all time serieses in moment 312, to compare time series as moment 309 to the moment 312
For corresponding time series, the adjacent history index of the comparison time series terminal include moment 313 and moment 314 it is corresponding
Index.It is selected from the historical time sequence of first window generally in a manner of traversal.For example, first window length is 60, the
Two length of window are 3, and third length of window is 1, then, multiple relatively time serieses which is 3 are that length is 60 to go through
All combinations in history time series in all continuous 3 indexs in addition to corresponding continuous three indexs of the second window.
S220 is selected and the most similar specified number of each base time series respectively in the multiple relatively time series
The comparison time series of amount.Wherein, specified quantity is the positive integer more than or equal to 1.
For each of multiple second windows, can be selected most close in its corresponding multiple relatively time series
Specified quantity comparison time series, which can determine according to actual needs.For example, the specified quantity can be
10,20 or 30 etc..Wherein, the determination of base time series and the similarity for comparing time series may include various ways,
Such as can be determined by calculating the similarity between the vector that it is respectively formed, it can specifically be achieved by the steps of:
A base vector is determined respectively according to each base time series, and each base vector is by its corresponding Ji Shijianxuliebao
The index included is constituted;
Determine that a comparison is vectorial according to each relatively time series, it is each more vectorial by its corresponding relatively time sequence
The index that row include is constituted;
According to base vector and more vectorial similarity, determine comparison with the most similar specified quantity of each base vector to
Amount, wherein the comparison of each most similar specified quantity of base vector it is vectorial by with the most similar specified number of each base time series
The comparison time series of amount is constituted.
Wherein, the standard that is described as similarity of cosine angle between vector, it is vectorial between cosine angle to it is similar
Degree is negatively correlated.Calculate that vector is similar in addition to co sinus vector included angle value mentioned above, can also by the Euclidean distance of vector with
And absolute value of the difference of vector etc. movement description.
S230 determines the respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction result of three Window Index.Wherein, the starting point of the third window is adjacent with the terminal of the second window.
Wherein, third window is determined according to the comparison time series with the most similar specified quantity of each base time series respectively
The prediction result of mouth index at least can be in the following way:
In one example, prediction index can be determined respectively according to time series is compared, after then eliminating exceptional value,
Synthesis obtains prediction result, is based on this, this method can be achieved by the steps of:
Specified quantity is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction index of third Window Index;
Abnormal index in the corresponding specified quantity prediction index of each second window is rejected;
Determine the prediction result of third Window Index respectively according to the prediction index after rejecting.
Wherein, the adjacent history index of the terminal of time series may be considered the comparison time series trend compared with each
Corresponding actual value can be adjusted the actual value to obtain predicted value, for example, in conjunction with shown in Fig. 3, comparing time series is
When 312 corresponding time series of moment 309 to moment, multiple continuous history indexs are 314 corresponding finger of moment 313 and moment
Mark.The moment 313 and 314 corresponding index of moment are that the corresponding relatively time series trend of moment 309 to moment 312 corresponds to
Actual value.Based on this, the prediction index of third Window Index can determine as follows:
Determine the adjacent multiple continuous history indexs identical with third length of window of terminal of each relatively time series;
Proportion of utilization method is adjusted each history index, respectively obtains the corresponding specified quantity of each second window
The prediction index of third Window Index.
Wherein, rule of three is specifically as follows predicted value=actually occur value * Avg (base vector/more vectorial), and Avg is indicated
Mean function.Base vector is the corresponding vector of base time series, and more vectorial is to compare the corresponding vector of time series.
In another example, the threshold value that prediction index can be predefined according to historical time sequence, exceeds all
The prediction index of the threshold value is adjusted within the scope of this, then determines prediction result according to the prediction index after adjustment.Specifically, should
Adjustment process can be combined with aforementioned rejecting process, more accurately be predicted with realizing.Based on this, prediction result can be by as follows
Step determines:
Specified quantity is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction index of third Window Index;
Abnormal index in the corresponding specified quantity prediction index of each second window is rejected;
The prediction index for exceeding the threshold value in prediction index after rejecting is adjusted in the threshold value;
Prediction index after being adjusted according to each second window determines the prediction result of third Window Index respectively.
S240 determines the accuracy rate of each prediction result according to the historical time sequence, and selects accuracy rate highest
Prediction result is the final prediction result of the third Window Index.
The mode of land parcel change trace may be used, calculate the historical forecast accuracy rate under the second length of window.Based on this, the standard
The calculating of true rate can be achieved by the steps of:
The comparison time series pair with the most similar specified quantity of each base time series is determined according to historical time sequence
The history index answered, the history index are that the adjacent index of the terminal of time series, the history index may be considered compared with
The corresponding true value of comparison time series;
According to the corresponding history index of each second window and prediction result, the accuracy rate of each prediction result is determined.
For example, predictablity rate can be indicated with 1-abs ((prediction result-true value)/true value), which indicates absolute value
Function.
By this specification embodiment, benchmark is used as by different length of window, future services index is predicted,
And historical data is combined to calculate the corresponding predictablity rate of each length of window, select the highest window of accuracy rate corresponding with this
Prediction result reduces influence of the benchmark length of window to prediction result with this, to reduce to benchmark window and historical time sequence
The requirement of the trend consistency of row, improves the accuracy of prediction result.
This programme use vector method it is not high to the coherence request of time trend, as recent traffic fluctuation it is larger or
Rise/decline is apparent, then being adapted to property of this programme adjusts predicted value;Secondly, this programme is high for the utilization rate of historical data,
Comparing vectorial selection is selected based on full dose historical data, and can utilize has nearest similar development in full dose historical data
Trend.
Wherein, the relationship between time series can be by between vector that the corresponding continuous numerical value of time series is constituted
Relationship indicate that be based on this, as shown in figure 4, in example in this specification embodiment, this method includes following step
Suddenly.
Step 401, source data is obtained.The data source refers to the data source of historical time sequence, which is the first window
The historical data of service operation in mouthful.
Step 402, source data is cleaned and is handled, generate historical time sequence.Specifically, according to certain rule
Data cleansing (such as carrying out noise reduction process to source data) is carried out to source data, in sequence generated time sequence indicator
Value;
Step 403, threshold value is calculated according to historical time sequence.For example, historical time sequence can be utilized, with case collimation method etc.
Method substantially determines the upper limit and lower limit of predicted value.The threshold value can be adjusted according to actual needs.
Step 404, vectorial (or second window) length is set with preset rules.For example, being adjusted by way of cycle
The length of vector.Wherein, vector length here refers to base vector and the vectorial length of comparison.If base vector is by the second window
The base time series that length is 3 corresponds to index composition, then vector length is 3.
Step 405, base vector is determined according to historical time sequence.Specifically, long at given vectorial (or second window)
After degree, last continuous several indexs of historical time sequence are taken to constitute basal orientation generally according to vector (or second window) length
Amount.
Step 406, it is selected according to historical time sequence and vectorial (or second window) length more vectorial.Specifically,
Time series compared with selection is identical with base vector length from historical time sequence generally in a manner of traversal, the comparison time
The corresponding index of sequence constitutes more vectorial.
Step 407, calculate and store base vector and the vectorial similarity of each comparison.For example, with the cosine angle of vector
Standard is portrayed as similarity (similarity is generally between 0-1).It is similar in addition to vector angle mentioned above to calculate vector
Cosine value can also be described by the Euclidean distance of vector and vectorial absolute value of the difference etc. movement.
For example, execution following steps can be recycled, until it is vectorial to traverse all comparisons:
Select the comparison not being traversed vectorial, the similarity for then calculating and storing it with base vector;
Judge whether to traverse all comparisons vectorial.
Step 408, selected the comparison of most like specified quantity vectorial according to similarity.For example, can be by the phase of storage
It is ranked up from high to low like degree, base vector and more vectorial more similar is indicated closer to 1 more than similarity, can selected and basal orientation
It is vectorial to measure the most similar preceding 20 comparisons.
Step 409, it determines prediction length, that is, needs the number for the index predicted, namely determine the length of third window.Such as
Time series numerical value is to need to predict two days weekends as unit of day, then prediction length is 2, and so on.
Step 410, according to the comparison selected is vectorial and prediction length calculates each more vectorial corresponding predicted value.Example
Such as, can and prediction length vectorial according to the comparison selected first extrapolate to obtain each comparison it is vectorial after actually occur value
(number is prediction length value), then proportion of utilization method be adjusted to actually occurring value and obtain predicted value, wherein predicted value
=value * Avg (base vector/more vectorial) are actually occurred, Avg indicates mean function.
Step 411, the exceptional value in the multiple predicted values being calculated is rejected.For example, using case collimation method rejecting abnormalities value.
Step 412, using the predicted value after adjusting thresholds rejecting abnormalities value.Specifically, using calculating the upper of threshold value
Limit and lower limit, to be adjusted to the predicted value after the rejecting of case collimation method, the numerical value higher than the upper limit will be pulled down to the upper limit, low
It will be raised to lower limit in the numerical value of lower limit.
Step 413, it is calculated as according to the reference vector of the length according to the predictor calculation average value after adjustment
Prediction result.
Step 414, the accuracy rate of prediction result is calculated according to historical time sequence.For example, to the mode of same land parcel change trace,
The historical forecast accuracy rate under this vector length is calculated, wherein predictablity rate can use 1-abs ((predicted value-true value)/true value)
It portrays, abs indicates ABS function.
Step 415, the accurate of the different corresponding prediction results of length base vector is can get by adjusting vector length angle value
Rate selects the highest prediction result of accuracy rate as final result.
This specification embodiment finds in history and now most close situation in such a way that vector is similar, and according to going through
Value is actually occurred to deduce following occurrence value after in history, and is further reduced in such a way that various optimizations are filtered different
The influence to predicted value such as constant value, to ensure the reliability of prediction result.
Corresponding to above method embodiment, this specification embodiment also provides a kind of index prediction meanss, referring to Fig. 5 institutes
Show, which may include:
Determination unit 601, in the historical time sequence of first window determine respectively in multiple second windows
Each isometric multiple relatively time serieses, each second window correspond to a base time series, and each second window corresponds to not
The length of window of same length of window, the first window is more than second window, the first window and second window
The terminal of mouth is identical;
First selecting unit 602, in the multiple relatively time series, selecting and each base time series respectively
The comparison time series of most similar specified quantity;
Predicting unit 603, for according to the comparison time sequence with the most similar specified quantity of each base time series
Row determine that the prediction result of third Window Index, the starting point of the third window are adjacent with the terminal of the second window respectively;
Second selecting unit 604 for determining the accuracy rate of each prediction result according to the historical time sequence, and is selected
Select the final prediction result that the highest prediction result of accuracy rate is the third Window Index.
In one example, the first selecting unit 602 is specifically used for:
A base vector is determined respectively according to each base time series, and each base vector is by its corresponding Ji Shijianxuliebao
The index included is constituted;
Determine that a comparison is vectorial according to each relatively time series, it is each more vectorial by its corresponding relatively time sequence
The index that row include is constituted;
According to base vector and more vectorial similarity, determine comparison with the most similar specified quantity of each base vector to
Amount, the comparison of the most similar specified quantity of each base vector it is vectorial by with the most similar specified quantity of each base time series
Comparison time series constitute.
In another example, the predicting unit 603 is specifically used for:
Specified number is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction index of amount third Window Index;
Abnormal index in the corresponding specified quantity prediction index of each second window is rejected;
Determine the prediction result of third Window Index respectively according to the prediction index after rejecting.
In another example, the predicting unit 603 is specifically used for:
Determine the adjacent multiple continuous history identical with the third length of window of terminal of each relatively time series
Index;
Proportion of utilization method is adjusted each history index, respectively obtains the corresponding specified quantity of each second window
The prediction index of third Window Index;
In another example, described device further includes:
Threshold value determination unit, the threshold value for determining prediction index according to the historical time sequence.
In another example, the predicting unit 603 is specifically used for:
The prediction index for exceeding the threshold value in prediction index after rejecting is adjusted in the threshold value;
Prediction index after being adjusted according to each second window determines the prediction result of third Window Index respectively.
In another example, second selecting unit 604 is specifically used for:
The comparison time sequence with the most similar specified quantity of each base time series is determined according to the historical time sequence
Arrange corresponding history index;
According to the corresponding history index of each second window and prediction result, the accuracy rate of each prediction result is determined.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, the computer equipment can be implemented as the shape of index predictive server
Formula.Wherein, index prediction technique above-mentioned is realized when processor executes described program.This method includes at least:
Multiple ratios isometric with each of multiple second windows respectively are determined in the historical time sequence of first window
Compared with time series, each second window corresponds to a base time series, and each second window corresponds to different length of window, described
The length of window of first window is more than second window, and the first window is identical as the terminal of the second window;
The multiple relatively in time series, the ratio of selection and the most similar specified quantity of each base time series respectively
Compared with time series;
Third window is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction result of mouth index, the starting point of the third window are adjacent with the terminal of the second window;
The accuracy rate of each prediction result is determined according to the historical time sequence, and selects the highest prediction knot of accuracy rate
Fruit is the final prediction result of the third Window Index.
In one example, described in the multiple relatively time series, it selects respectively with each base time series most
The comparison time series of similar specified quantity includes:
A base vector is determined respectively according to each base time series, and each base vector is by its corresponding Ji Shijianxuliebao
The index included is constituted;
Determine that a comparison is vectorial according to each relatively time series, it is each more vectorial by its corresponding relatively time sequence
The index that row include is constituted;
According to base vector and more vectorial similarity, determine comparison with the most similar specified quantity of each base vector to
Amount, the comparison of the most similar specified quantity of each base vector it is vectorial by with the most similar specified quantity of each base time series
Comparison time series constitute.
In another example, the comparison time described in the basis with the most similar specified quantity of each base time series
Sequence determines that the prediction result of third Window Index includes respectively:
Specified number is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction index of amount third Window Index;
Abnormal index in the corresponding specified quantity prediction index of each second window is rejected;
Determine the prediction result of third Window Index respectively according to the prediction index after rejecting.
In another example, the comparison time described in the basis with the most similar specified quantity of each base time series
Sequence determines that the specified quantity prediction index of third Window Index includes respectively:
Determine the adjacent multiple continuous history identical with the third length of window of terminal of each relatively time series
Index;
Proportion of utilization method is adjusted each history index, respectively obtains the corresponding specified quantity of each second window
The prediction index of third Window Index;
In another example, the method further includes:
The threshold value of prediction index is determined according to the historical time sequence.
In another example, the prediction index according to after rejecting determines the prediction result of third Window Index respectively
Including:
The prediction index for exceeding the threshold value in prediction index after rejecting is adjusted in the threshold value;
Prediction index after being adjusted according to each second window determines the prediction result of third Window Index respectively.
In another example, described to determine that the accuracy rate of each prediction result includes according to the historical time sequence:
The comparison time sequence with the most similar specified quantity of each base time series is determined according to the historical time sequence
Arrange corresponding history index;
According to the corresponding history index of each second window and prediction result, the accuracy rate of each prediction result is determined.
Fig. 6 shows a kind of more specifically computer equipment structural schematic diagram that this specification embodiment is provided, should
Computer equipment may include:Processor 610, memory 620, input/output interface 630, communication interface 640 and bus 650.
Wherein processor 610, memory 620, input/output interface 630 and communication interface 640 pass through between the realization of bus 650
Communication connection inside equipment.
General CPU (Central Processing Unit, central processing unit), microprocessor may be used in processor 610
Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one or
The modes such as multiple integrated circuits are realized, for executing relative program, to realize technical solution that this specification embodiment is provided.
ROM (Read Only Memory, read-only memory), RAM (Random Access may be used in memory 620
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 620 can store
Operating system and other applications are realizing technical solution that this specification embodiment is provided by software or firmware
When, relevant program code is stored in memory 620, and is executed by processor 610 to call.
Input/output interface 630 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loud speaker, vibrator, indicator light etc..
Communication interface 640 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 650 includes an access, in various components (such as processor 610, memory 620, the input/output of equipment
Interface 630 and communication interface 640) between transmit information.
It should be noted that although above equipment illustrates only processor 610, memory 620, input/output interface
630, communication interface 640 and bus 650, but in specific implementation process, which can also include realizing normal operation
Necessary other assemblies.In addition, it will be appreciated by those skilled in the art that, can also only include to realize in above equipment
Component necessary to this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
Index prediction technique above-mentioned is realized when sequence is executed by processor.This method includes at least:
Multiple ratios isometric with each of multiple second windows respectively are determined in the historical time sequence of first window
Compared with time series, each second window corresponds to a base time series, and each second window corresponds to different length of window, described
The length of window of first window is more than second window, and the first window is identical as the terminal of the second window;
The multiple relatively in time series, the ratio of selection and the most similar specified quantity of each base time series respectively
Compared with time series;
Third window is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction result of mouth index, the starting point of the third window are adjacent with the terminal of the second window;
The accuracy rate of each prediction result is determined according to the historical time sequence, and selects the highest prediction knot of accuracy rate
Fruit is the final prediction result of the third Window Index.
In one example, described in the multiple relatively time series, it selects respectively with each base time series most
The comparison time series of similar specified quantity includes:
A base vector is determined respectively according to each base time series, and each base vector is by its corresponding Ji Shijianxuliebao
The index included is constituted;
Determine that a comparison is vectorial according to each relatively time series, it is each more vectorial by its corresponding relatively time sequence
The index that row include is constituted;
According to base vector and more vectorial similarity, determine comparison with the most similar specified quantity of each base vector to
Amount, the comparison of the most similar specified quantity of each base vector it is vectorial by with the most similar specified quantity of each base time series
Comparison time series constitute.
In another example, the comparison time described in the basis with the most similar specified quantity of each base time series
Sequence determines that the prediction result of third Window Index includes respectively:
Specified number is determined respectively according to the comparison time series with the most similar specified quantity of each base time series
The prediction index of amount third Window Index;
Abnormal index in the corresponding specified quantity prediction index of each second window is rejected;
Determine the prediction result of third Window Index respectively according to the prediction index after rejecting.
In another example, the comparison time described in the basis with the most similar specified quantity of each base time series
Sequence determines that the specified quantity prediction index of third Window Index includes respectively:
Determine the adjacent multiple continuous history identical with the third length of window of terminal of each relatively time series
Index;
Proportion of utilization method is adjusted each history index, respectively obtains the corresponding specified quantity of each second window
The prediction index of third Window Index;
In another example, the method further includes:
The threshold value of prediction index is determined according to the historical time sequence.
In another example, the prediction index according to after rejecting determines the prediction result of third Window Index respectively
Including:
The prediction index for exceeding the threshold value in prediction index after rejecting is adjusted in the threshold value;
Prediction index after being adjusted according to each second window determines the prediction result of third Window Index respectively.
In another example, described to determine that the accuracy rate of each prediction result includes according to the historical time sequence:
The comparison time sequence with the most similar specified quantity of each base time series is determined according to the historical time sequence
Arrange corresponding history index;
According to the corresponding history index of each second window and prediction result, the accuracy rate of each prediction result is determined.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can add the mode of required general hardware platform to realize by software.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be expressed in the form of software products the technical solution of example in other words,
The computer software product can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are making
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of arbitrary several equipment.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component explanation
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, you can to understand and implement.
The above is only the specific implementation mode of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection domain of this specification embodiment.