CN104123214B - The method and system of tasks carrying progress metrics and displaying based on runtime data - Google Patents

The method and system of tasks carrying progress metrics and displaying based on runtime data Download PDF

Info

Publication number
CN104123214B
CN104123214B CN201310150738.1A CN201310150738A CN104123214B CN 104123214 B CN104123214 B CN 104123214B CN 201310150738 A CN201310150738 A CN 201310150738A CN 104123214 B CN104123214 B CN 104123214B
Authority
CN
China
Prior art keywords
subtask
progress
runtime data
data
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310150738.1A
Other languages
Chinese (zh)
Other versions
CN104123214A (en
Inventor
冯照临
刘中胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201310150738.1A priority Critical patent/CN104123214B/en
Publication of CN104123214A publication Critical patent/CN104123214A/en
Priority to HK15101700.2A priority patent/HK1201343A1/en
Application granted granted Critical
Publication of CN104123214B publication Critical patent/CN104123214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application is related to the method and system of a kind of tasks carrying progress metrics based on runtime data and displaying, and this method includes:Execution based on the task before this subtask and each subtask therein and the runtime data that generates measure the implementation progress of this subtask and its each subtask, and control shows that each subtask of the real-time progress that each subtask of this subtask performs and this subtask performs the position that schedule is proceeded to.Predicted using a large amount of runtime datas and self study, progress bar error, accurate implementation progress and the fitting of time of task, lifting system precision of prediction, realization accurately measurement and displaying are measured in the amendment of continuous renewal runtime data.

Description

The method and system of tasks carrying progress metrics and displaying based on runtime data
Technical field
Present patent application is related to the tasks carrying progress metrics of field of distributed type and the time sequence of displaying and its optimization Row prediction, more particularly in tasks carrying progress metrics and displaying, and tasks carrying progress metrics based on runtime data Self study time series forecasting based on runtime data.
Background technology
Distributed system(distributed system)It is built upon the software systems on network.Exactly because its is soft The characteristic of part, so distributed system has the cohesion and the transparency of height.Therefore, the area between network and distributed system It is not more high layer software(Particularly operating system), rather than hardware.
Cohesion refers to each database distribution node high degree of autonomy, there is local data base management system.
The transparency refers to that each database distribution node is transparent for the application of user, does not see it being local Or it is long-range.
In distributed data base system, the imperceptible data of user are distributions, i.e., user is not necessary to whether know relation Split, whether there is duplicate, data and be stored in which website and affairs and performed on which website etc..Distributed system includes client End, the computing environment of centralized server end composition.With the growth of whole business datum scale, for some operations in system When data gradually tend to a constant value, for example:Alipay water power coal is paid the fees.Wherein the portfolio of each mechanism is also continuous Increase, its total amount is also constantly increasing, and each institution business amount proportion shared in total amount also tends to be constant in fluctuation, this Steady state value levels off to the market share of the mechanism, and system is needed by substantial amounts of historical data under some application scenarios, can Made prediction with the value to future time point, as time series forecasting.
Time series forecasting is a kind of statistical prediction methods(Algorithm), the time series data obtained according to systematic observation, By curve matching and parameter Estimation come founding mathematical models, its trend that changes with time is analyzed, prediction target is carried out outer The quantitative forecasting technique pushed away.Time Series Forecasting Methods are commonly used in such as national economy macro-control, enterprise operation and management, market Latent amount prediction, in terms of weather forecast.Conventional Time Series Forecasting Methods include:Rolling average, exponential smoothing, linearly become Gesture, secondary trend etc..But in a distributed system, with this prediction algorithm, its accuracy predicted depends on measured data Collection, and the collection of measured data is often very slow, and dependent on the operation of client.
At present, usually used " time series forecasting " method of traditional software systems, be usually using historical data as Enter ginseng and certain index next time point is predicted by conventional rolling average, exponential smoothing, linear trend, secondary trend scheduling algorithm Predicted value.But for constantly producing the distributed system of runtime data in a large amount of clients in, its predictablity rate is also Need further raising.
Runtime data refers generally to the system or business datum that software is operationally produced, such as certain task run institute's used time Between, task weights, the record entry, etc. increased newly in certain tables of data unit interval.
Further, in the development process of software and internet program, it is frequently encountered serial task implementation progress measurement The problem of with displaying, the demonstration tool being typically used for is " progress bar ".
Progress bar, i.e. computer are in process task, in real time, with the speed of visual pattern display processing task, complete It is proportional, remaining abortive size and treatment time may be needed, typically be shown with rectangle strip.
The displaying progress for the progress bar that each client is seen depends on the weights of each subtask.
Task weights, are often referred to computer task(Such as task j1、j2…jn)In serial process, individual task is real Border performs time T(ji)(1≤i≤n)Account for the percentage of whole tasks carrying deadlines, referred to as task weights Wi=T(ji)/(T (j1)+T(j2)+…+T(jn))*100%.
These weights may tend to steady state value with the development fluctuation of business, and in other words steady state value represents weights fluctuation Trend, implementation progress is shown if the precision predicted it is higher and the fitting precision of time also can be higher.
At present, usual progress bar is (to have completed number of tasks/general assignment number * based on the serial completed percentage for performing task 100%), the exhibition scheme of remaining time is usually:Remaining time=residue task amount/instantaneous velocity, this mode can be used to The ratio that measurement task is completed, but there are the following problems:
If these tasks is of different sizes, the time for completing each task is also different, and the implementation progress that user is concerned about It is time-based, for the serial execution of the uneven task of one group of size, displaying of the progress bar to its implementation progress must be Inaccurate.
This method can not accurately provide the time that the required time and general assignment of the task of being not carried out are performed, here it is a lot The reason for installation process of software can not provide one accurate " remaining time ".
The calculating of remaining time is for dependent on external environment condition(Such as network environment)Not science for stronger task, because " instantaneous velocity " can be directly influenced for the change of external environment condition, often occurs that the gangster of similar " remaining time is more and more longer " razes The phenomenon thought.
In the development process of software and internet program, it is frequently encountered what serial task implementation progress was measured and shown Problem, the demonstration tool being typically used for is " progress bar ", and from the angle of user, we also will often find that, many progresses The progress of bar displaying often has larger error, such as the progress bar of the installation process of some softwares, quickly reached 99%, but Last 1% has used for a long time, and Consumer's Experience is excessively poor.If high precision can be provided to the displaying of certain form of progress bar Implementation progress and the fitting of time, time Estimate and monitoring will be performed to Consumer's Experience, serial multi-task and had greatly improved.
The content of the invention
For the technological deficiency of above prior art, the present patent application technical problem to be solved is to provide a kind of base In the system and method for the tasks carrying progress metrics and displaying of runtime data, produced for distributed system client is scattered It is the characteristics of runtime data, server centered processing data, pre- using the self study time series of the distributed system more optimized The method of survey, the fitting of the implementation progress and event that provide high precision is shown to certain form of progress bar, so as to user Experience, serial multi-task, which perform time Estimate and monitoring, very big lifting, improves the degree of accuracy of tasks carrying measurement and reality, and The overall precision of prediction of raising system.
This application provides a kind of tasks carrying progress metrics based on runtime data and the system of displaying, including:Enter Degree measurement and control exhibiting device, are configured to:Execution based on the task before this subtask and each subtask therein and The runtime data of generation, measures the implementation progress of this subtask and its each subtask, and controls to show each son of this subtask The real-time progress of tasks carrying and control show that each subtask of this subtask performs the position that schedule is proceeded to.
This application provides a kind of tasks carrying progress metrics based on runtime data and the system of displaying, including:Clothes It is engaged in device end, collecting each subtask in multiple client kth subtask and performing the runtime data produced, number during based on history run The runtime data produced according to being performed with each subtask in kth subtask, carries out time series forecasting, update for measure kth+ The runtime data of 1 subtask and its each subtask implementation progress, and the runtime data after updating is sent to the multiple visitor Family end;The natural number of wherein k >=2.
This application provides a kind of tasks carrying progress metrics based on runtime data and the method for displaying, including:Base The execution of task and each subtask therein before this subtask and the runtime data generated, measure this subtask and The implementation progress of its each subtask, and control to show the real-time progress of each subtask execution of this subtask and control displaying originally Each subtask of subtask performs the position that schedule is proceeded to.
This application provides a kind of tasks carrying progress metrics based on runtime data and the method for displaying, including:Receive Collect each subtask in multiple client kth subtask and perform the runtime data produced, data and kth time during based on history run Each subtask performs the runtime data produced in task, carries out time series forecasting, update for measure the subtask of kth+1 and The runtime data of its each subtask implementation progress, and the runtime data after updating is sent to the multiple client;Wherein k >=2 natural numbers.
The scheme of present patent application, it is numerous and the characteristics of can all produce runtime data using client, by being Runtime data in the self study process of system, the historical data base based on the continuous renewal and then subtask to a task is transported Task weights during row are predicted, and the error to the operation progress bar of task is modified, and Task Progress bar is provided accurately Implementation progress and the fitting of time, precision of prediction is improved rapidly for whole system effect is realized, so as to task Implementation progress accurately measure and show.
Brief description of the drawings
, below will be to be used needed for embodiment description in order to illustrate more clearly of the technical scheme of the embodiment of the present application Accompanying drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for this For the those of ordinary skill of field, on the premise of not paying creative work, it can also obtain other according to these accompanying drawings Accompanying drawing.
The tasks carrying progress metrics and the progress of methods of exhibiting of weights when Fig. 1 is the operation of the application embodiment Bar schematic diagram.
The tasks carrying progress metrics and the task of methods of exhibiting of weights when Fig. 2 is the operation of the application embodiment The flow chart run for the first time.
Fig. 3 be the application embodiment operation when weights tasks carrying progress metrics and methods of exhibiting second The flow chart of first subtask in secondary each time later operation.
Fig. 4 be the application embodiment operation when weights tasks carrying progress metrics and methods of exhibiting second Secondary general assignment execution flow chart.
Fig. 5 is a kind of self study time series forecasting based on client runtime data of the application embodiment The closed loop configuration figure for realizing self study of system and method.
Fig. 6 is a kind of self study time series forecasting based on client runtime data of the application embodiment The server end structural representation of system and method.
Fig. 7 is a kind of self study time series forecasting based on client runtime data of the application embodiment The overall work mechanism of system and method.
The tasks carrying progress metrics of weights and display systems signal when Fig. 8 is the operation of the application embodiment Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
Below, present patent application embodiment will be so that Alipay bill business enters an item of expenditure in the accounts platform as an example, and it is one Individual typical distributed system as shown in Figure 7,8, come the system of the measurement of the tasks carrying progress that describes the application and displaying and Method.The system of tasks carrying progress metrics and displaying based on runtime data includes server end and one or more clients End(At least one client), and realize corresponding method in the system.The tasks such as download, installation under other distributed systems Implementation progress is measured also similar with displaying.
In Alipay bill business enters an item of expenditure in the accounts platform, Alipay bill serially needs to generate many families(It is multiple)The request of mechanism File, and the time that the demand file for generating each mechanism needs is directly proportional to the data volume of the mechanism of this in database, and in string When row generates each mechanism file, background interface needs to show file generated progress, progress bar as shown in Figure 1 by progress bar Schematic diagram.General assignment includes 6 subtasks in Fig. 1, requires to show the completion shape of each subtask in progress bar dialog box State, and the remaining time needed, and then estimate the progress bar of general assignment and total remaining time.Based on runtime data Estimation can also be realized by the time series forecasting of self study.
Here, the demand file of multiple mechanisms is generated in the client of distributed system, and generates the request of each mechanism The time that file needs is directly proportional to the data volume of the mechanism of this in database, with the growth of whole business datum scale, system In runtime data gradually tend to a constant value.And when server-side serial generates each mechanism file, pass through Self study run time sequence prediction constantly adjusts the weighted value of each subtask, and client background interface is based on continuous adjustment Subtask weighted value pass through progress bar show file generated progress.Although can constantly have newly in the data of database Zhong Ge mechanisms Increase, delete, modification, but be due to data scale than larger, relative scale is very constant between each organization data amount, and with The development dataset for business is more and more, and this is more and more constant than regular meeting, and then the weights of task can tend to steady state value.
The realization of the present processes and system will be described in detail with specific example below.
The tasks carrying progress metrics based on runtime data of the application and the method for displaying, based on before this subtask Task and each subtask therein execution and the runtime data that generates, measure holding for this subtask and its each subtask Traveling degree, and control to show that the real-time progress of each subtask execution of this subtask and control show that each son of this subtask is appointed Business performs the position that schedule is proceeded to(Such as progress metrics and control exhibiting device);Complete after this subtask, according to this It is corresponding that the actual execution completion in each subtask in task and its each subtask before subtask, this subtask is generated Runtime data, be predicted with update runtime data of the runtime data based on the renewal measure next subtask and The implementation progress of its each subtask simultaneously controls displaying progress(Such as prediction meanss).It also relates to initialization(Such as initial makeup Put), second of task run based on the runtime data initialized, and task run afterwards with operation before when Self study prediction process based on data, so as to measure task and subtask implementation progress and the exhibition for controlling progress bar with this Show.Tasks carrying progress metrics accordingly based on runtime data and the system of displaying, with server end and multiple client Exemplified by the distributed system of structure.Server end, collects each subtask in the multiple client kth subtask and performs what is produced Runtime data, each subtask performs the runtime data produced in data and kth subtask during based on history run, during progress Between sequence prediction, update for measuring the runtime data of the subtask of kth+1 and its each subtask implementation progress, and send renewal Runtime data afterwards is to the multiple client;The natural number of wherein k >=2.The specific self study prediction of the system and progress degree Amount and displaying control correspond to the above method.This all will deploy to describe in example below.
Tasks carrying progress metrics and agreement mark used in the method and system of displaying based on runtime data It is as follows:
Provided with serial pending task comprising in n subtask (1≤i≤n) kth time operation, its implementation progress passes through Progress bar shows that agreement variable is as follows:
The actual execution time of i-th of subtask:Tk(ji);
The prediction of i-th of subtask performs the time:ETk(ji);
Kth subtask is actual to perform the total time T completedK is total
The estimation of kth subtask performs the total time ET completedK is total=Tk(j1)/W(k-1)1
In kth subtask, the task weights estimation of the subtask in general assignment k of i-th of subtask:Wki=Tk-1 (ji)/(Tk-1(j1)+Tk-1(j2)+…+Tk-1(jn))*100%(k≥2).Here, should because this subtask also off-duty is completed Subtask run time is unknown, and total time is also unknown, thus can use last time Tk-1It is used as estimate.This is a kind of Better simply method of estimation, in the present embodiment, will also provide a kind of optimization algorithm based on runtime data, for example, below will The preferred self study Time Series Forecasting Methods specifically described:" in distributed system during self study based on runtime data Between sequence prediction " algorithm.
The progress bar total length pre-set:L;
I-th of subtask has performed the length of progress bar advance in kth subtask(I.e. the subtask is shared on a progress bar Length):Lki
The currently displaying length advanced to of progress bar:Lrealtime
I-th of subtask used time in kth subtask:UTk(ji)
Kth subtask general assignment has used the time(Monitor that kth subtask is actual and have been carried out the time how long): UTK is total
Kth subtask estimates remaining time:ETK is remained=ETK is total-UTK is total
The application tasks carrying progress metrics and displaying, are mainly described from three phases:
1)First time task run(Initial phase can claim)
Software is in exploitation test process, and certain process by debugging has just carried out " the first of task in the process Secondary operation ", as shown in Figure 2(Task is in test environment or the flow of true environment operation for the first time).Because task does not have completely It is out-of-date to perform, and is that, without the related time data in each any subtask, can only now use tradition side as elucidated before Method shows progress(Generally, this initial procedure does not show user, not accurate also not serious enough), each subtask schedule bar Advance 1/n, it is important that now need to write down the actual execution time T that each subtask is performed1(ji), and it is calculated total Weight W in time1i.Such as a kind of simplest calculation W1i=T1(ji)/T1 is total*100%。
In fig. 2, in running software or debugging process, after general assignment starts execution, such as step S201, n son times Business starts to perform.Judge whether whole subtasks in step S207(N)Completion is performed, if "No"(N)Step S203 is then arrived to enter Bar advance 1/n*100% is spent, and performs step S205 and records subtask execution time T1(ji), return step S201 continuation Next subtask is performed.Until step S207 is judged as that whole subtasks perform completion, that is, it is judged as "Yes"(Y), then enter Enter step S209 progress bars and proceed to 100%.Each subtask weights W is calculated in step S211li=T1(ji)/T1 is total, and in step Rapid S213 stores each subtask weights.
Wherein, in step S205, the execution time T of each subtask of system start recording1(ji), in the process, progress Bar is shown according to usual way(It is inaccurate also not serious, because only that once), that is, preset each subtask and account for total appoint The weight of business(Weights)It is just 1/n(The task weights of subtask).So after the completion of a subtask, Task Progress bar is by before Enter 1/n*100%(This is a kind of mode of the initialization of citing, and other progress modes can also be used), obtain each son and appoint After the execution time of business, initialization is calculated(First subtask)I-th of subtask task weights:
Wli=T1(ji)/T1 is total
For example:Initialize for the first time(The debugging stage)Task have 3 subtasks.1st sub- tasks carrying, judgement is not held Row is completed(3 altogether), progress bar advance 1/3*100%, the record actual execution T in the 1st subtask1(j1)=20s, then successively Perform the 2nd, the 3rd subtask, progress bar advances 1/3*100% in succession, and will record actual execution time T1(j2)=35s、T1 (j3)=45s, T1 is total=100s.Judgement has performed 3 sub- Task Progress bars and has proceeded to 1(I.e. 100%), calculate appointing for each subtask Business weights:W11=T1(j1)/100=0.2、W12=0.35、W13=0.45, and store.(S refers to unit:Second).
So, there is running time T when performing the subtask of a subtaskk(ji), based on this generation task weights Wki, the time series forecasting of each subtask with regard to next subtask can be used for, show its progress bar measure, that is, when make use of operation Data are measured and shown to tasks carrying.
2) first subtask of second of operation later
After the initialization that first time task run process completes task weights is calculated, based on this, second and its with Being run afterwards for task can be carried out recording and predict.Wherein, prediction mode preferably can be using the self-study described below Practise Time Series Forecasting Methods and carry out lower subtask weights(Runtime data)More accurate prediction.
For example:As shown in figure 3, the execution time T of first subtask of second of later each subtask operationk(j1)(k ≥2)It is to weigh the basis that other subtasks perform the time, estimation run time ETk(j1) it is kth -1 time(It is i.e. last)Task The real time T of first subtask of middle operationk-1(j1), as estimate, show that this first sub- tasks carrying enters Degree, and then estimate remaining time, subtask remaining time estimation T is pointed out as shown in Figure 1k-1(j1)-UTk(j1).After the completion of record The Tk(j1), and progress bar advance W(k-1)1*L.Importantly, thus calculating and predicting the total time for recording remaining task and each son Task execution time, it can be deduced that:
The estimation of this subtask performs the total time completed:ETK is total=Tk(j1)/W(k-1)1
I-th of subtask(2≤i≤n)Prediction perform the time:ETk(ji)=W(k-1)i*ETK is total
I-th of subtask shared length estimate on a progress bar:Lki=W(k-1)i*L
Calculate after result, export result of calculation.These results are used for for example:Used according to the execution time prompting of the prediction The execution remaining time ET of the family subtaskk(ji)-UTk(ji);Hereafter it will be performed and be completed long shared by progress bar with the subtask Spend LkiAnd the actual subtask is performed with time etc., pace during control progress bar displaying is such as shown more accurately Lrealtime, to realize the displaying of more accurate progress bar and the fitting of tasks carrying progress.Here prediction mode can be preferred Ground is using the self study Forecasting Methodology described below.
Complete behind the subtask, and then progress bar advance W(k-1)1*100%。
First sub- tasks carrying detailed process after second of Fig. 3:
Step S301, first sub- tasks carrying completes and records execution time Tk(j1)。
Step S303, due to passing through " 1)Each height is had been obtained for after the first time tasks carrying of first time task run " The weights W of taskli, and the actual execution time T for performing completion and recording in first subtaskk(j1), then it can calculate(In advance Survey or estimate)As a result:
(1)The estimation of this subtask performs the total time ET completedK is total
(2)I-th of subtask of this subtask(2≤i≤n)Prediction perform time ETk(ji);
(3)I-th of subtask of this subtask shared length L on a progress barki
The result that step S305 outputs are calculated.
Step S307 progress bar advances W(k-1)1* 100%, into next task.
Hold above-mentioned 1)In example:3 subtasks of the second subtask, its 1st sub- tasks carrying estimates run time ET2(j1)=T1(j1)=20s, after the completion of progress bar advance 0.2L.And record execution time T2(j1)=25s.It can calculate second The estimation of task performs the total time for completing to need:ET2 is total=T2(j1)/Wl1=25/0.2=125s.Then the 2nd~3 below is provided The prediction ET of the execution time of individual subtask2(j2)=Wl2*ET2 is total=0.35*125=43.75s、ET2(j3)=56.25s.Calculate the 1st ~3 subtasks are in length L shared by progress bar21=Wl1*L=0.2L、L22=Wl2*L=0.35L、L23=0.45L, that is, each son estimated The progress of task.Self study Forecasting Methodology described below can be preferably used herein.
Here, when progress display, it can also control finer and smoothlyer, for example:The estimated execution 20s of 1st subtask, It is assumed that L is 100mm, then the 1st subtask estimation accounts for progress bar length 20mm, controls its each second or shorter time one lattice of advance Mode, then progress display can be finer and smoother, lifting Consumer's Experience impression.The control of other subtask progresses can also use this As soon as every very short time, the mode taken a step forward.
3)Other subtasks of operation after second
Fig. 4 describes second of general assignment execution flow chart.Other subtasks of operation refer to second after second In the implementation procedure of secondary general assignment, other subtasks beyond its first subtask.Each general assignment afterwards performs general Performed according to identical step.The task weight of initialization is obtained in completion first time general assignment operation and by each afterwards Behind first subtask of task run, based on the subtask total time, i-th of subtask predicted(2≤i≤n)It is pre- Survey execution time and i-th of subtask shared length on a progress bar;After i-th of subtask has been performed in this time operation, enter Degree bar proceeds to Lrealtime=(Lk1+Lk2+…+Lki);And in i-th of subtask implementation procedure progress bar real-time exhibition position For Lrealtime=(Lk1+Lk2+…+Lki-1)+(UTk(ji)/ETk(ji))*Lki.Pass through runtime data(Subtask run time, Subtask weights of last time etc.)To the measurement of sub- tasks carrying progress, the speed of progress bar displaying is controlled so that the Lrealtime Displaying is more accurate.And runtime data, which is predicted, using self study Forecasting Methodology described below will be more conducive to its measurement Accuracy.
After whole subtasks of all kth time operations are completed, progress bar display is completed, and according to this operation again Calculate this each subtask weights and store each subtask weights.Each subtask afterwards is performed the weights weight based on self study It is new to calculate a sub- task weight, updated, more and more accurately, increasingly tended to flat one after another with the weight of this subtask Surely, system also tends to stabilization.
Step S401 general assignments, which are performed, to be started.Here general assignment not 1) the first subtask initialization task in other words.
Step S403, first sub- tasks carrying simultaneously handles accordingly:The flow of first sub- tasks carrying such as 2) second First subtask of operation after secondary, referring to Fig. 3 example, after the completion of output result of calculation, the progress bar of estimation advance Progress is W(k-1)1*100%。
Step S411 judges whether whole subtasks(n-1)It is individual to perform completion, if not(N)Then enter step S405, step S407。
In step S405, progress bar proceeds to L in real time in i-th of subtask implementation procedurerealtime=(Lk1+Lk2+…+ Lki-1)+(UTk(ji)/ETk(ji))*Lki.Step S407 is entered back into, i-th of subtask, which is performed, advances fully to Lrealtime=(Lk1+ Lk2+…+Lki).When task weights based on runtime data such as subtask, actual monitoring perform time, estimation and performed Between, estimation perform complete when shared length, measure tasks carrying progress and control the pace of progress bar, to realize ratio The displaying and the fitting of tasks carrying progress of more accurate progress bar.Here, because the real-time advance of progress bar is based on several It is more accurately to estimate it is predicted that carrying out, and if progress bar can be adjusted to relevant position after the completion of being performed i-th of subtask Next subtask execution is carried out again(Such as utilize step S405, S407), then again can be more accurate, subtask measurement below It is more convenient, so as to play role of correcting.
In step S409, record the subtask and perform time Tk(ji)。
Until step S411 is judged as that whole subtasks of this time operation perform completion, if being judged as(Y), then enter Step S413 progress bars proceed to 100%.
In step S415, this each subtask weights W is calculatedk,i, each subtask weights is stored in step S417, then enter Enter step S419 weights to recalculate.Preferably, using the self study of runtime data in the distributed system hereinafter mentioned Time Series Forecasting Methods, based on the runtime data newly collected, the weight to be used next subtask carries out weights Recalculate.
Wherein, in step S409, the subtask of each client records each subtask and performs the time after being fully completed Tk(ji), complete just to obtain new data T because each subtask is performedk(ji), calculate the weights of new subtask.It is preferred that Ground, based on these execution times, weights be exactly the client this time(Kth time)The operation produced in the running of general assignment When data, can be used to abundant historical data base, and then improve precision of prediction, and other clients are when using the software Runtime data can be produced, also further up to the effect of rapid abundant historical data base and then raising precision of prediction;And it is all Predicted value such as ETk(ji)、ETK is total, i-th of subtask shared length L on a progress barki, can recalculate herein(Mode with above Description is similar)And further re-computation weights(Step S411).Here provide in a kind of improved distributed system based on operation When data self study Time Series Forecasting Methods, as preferred prediction mode, will be explained hereinafter.
Hold above-mentioned 1)、2)Middle example:Second of task run, its 1st sub- tasks carrying and completion the 2nd)The operation of bar, Judgement has been not carried out all tasks, into the execution of the 2nd subtask, then during the 2nd sub- tasks carrying of calculating, progress bar The position L advanced in real timerealtime=L21+(UT2(j2)/ET2(j2))*L22If, monitor that the 2nd subtask has been held here Capable time UT2(j2)=10s, then now control progress bar pace, is shown to up to Lrealtime=0.2L+(10/ 43.75)*0.35L=0.28L;2nd sub- tasks carrying is complete, proceeds to:
Lrealtime=L21+L22=0.2L+0.35L=0.55L, and the record actual time T performed in the 2nd subtask2 (j2)=45s.
Judge not completing whole subtasks, continue the 3rd sub- tasks carrying, calculate its real-time progressive position Lrealtime= 0.55L+10/56.25*0.45L=0.63L, it, which has been performed, proceeds to Lrealtime=L, and subtask is actual performs use for record the 3rd Time T2(j3)=40s.It is T to actually accomplish total time2 is total=25+45+40=110s。
Judge to complete whole subtasks, progress bar proceeds to last 100%.And calculate the task of second of each subtask Weights W21=25/110=0.227, W22=45/110=0.409, W23=40/110=0.364, and store.And can be according to W11=0.2, W12=0.35, W13=0.45 and W21=0.227, W22=0.409, W23=0.364 recalculates each subtask weights, for example, use the time Sequence prediction mode is calculated, or more optimally use describes a kind of improved self study time series forecasting of the application below.This In simply, such as average value mode is predicted, obtains the task weights of new each subtask for third time task:W21= 0.214, W22=0.380, W23=0.407。
So, these task weights are all the runtime datas of subtask according in current tasks carrying(The execution time, Task weights etc.)Come what is updated(Re-computation), more accurately to predict tasks carrying progress in tasks carrying next time And show the tasks carrying progress of measurement.
Hold above-mentioned example:
If third time tasks carrying, the 1st sub- tasks carrying, estimation run time ET3(j1)=T2(j1)=25s, and record Execution time T3(j1)=20s。
Calculate the total time ET of the second subtask3 is total=T3(j1)/W21=20/0.214=93s;
Then the prediction ET for performing the time of the 2nd~3 subtask below is provided3(j2)=W22*T3 is total=0.380*93= 35.34s、ET3(j3)=37.85s;
The 1st~3 subtask of prediction is calculated in length L shared by progress bar31=W21*L=0.214L、L32=W22*L= 0.380L、L33=0.407L;
Export result of calculation and for the complete 1st subtask of third time tasks carrying, progress bar advance 1/3*100%.
Judgement has been not carried out all tasks, into the execution of the 2nd subtask, then calculates the 2nd sub- tasks carrying process In, the position L that progress bar advances in real timerealtime=0.214L+(10/35.34)*0.380L=0.322L;
2nd sub- tasks carrying is complete proceeds to Lrealtime=0.214L+0.380L=0.594L, and the 2nd subtask of record The actual time T performed3(j2)=35s.
Judge not completing whole subtasks, continue the 3rd sub- tasks carrying, calculate its real-time progressive position Lrealtime= 0.594L+10/37.85*0.407L=0.702L, it, which has been performed, proceeds to Lrealtime=L, and subtask is actual holds for record the 3rd The time T of row3(j3)=40s.
Judge to complete whole subtasks, progress bar proceeds to last 100%.And calculate the task of each subtask of third time Weights W31=20/(20+35+40)=0.211, W32=35/95=0.368, W33=40/95=0.421, and store.And can be according to W11 =0.2, W12=0.35, W13=0.45 and W21=0.227, W22=0.409, W23=0.364 and W31=0.211, W32=0.368, W33= 0.421 recalculates each subtask weights, and such as average mode is calculated is for the weights of the 4th subtask:W31=0.213, W22 =0.376, W23=0.412。
Thus, the runtime data based on storage repeatedly(Such as the historic task weights of storage)With new runtime data (Subtask is such as completed according to the task weights for performing Time Calculation), weights of going out on missions are recalculated, in the 4th time below, In the progress metrics prediction and displaying of five times ... tasks, it is reasonable, accurate and stably to more they tend to, i.e., weights increasingly tend to be steady Fixed value, it is more accurate, it is also more accurate to estimation tasks implementation progress and control progress bar displaying.
Here, subtask progress fitting has Recursivity, if that is, some subtasks can be further divided into as more Fine-grained two grades of subtasks, then the program still can be used on these two grades of subtasks, by that analogy, until can not Untill use.It so can more accurately be fitted the precision of subtasks at different levels.
Below, a kind of improved more excellent time series forecasting algorithm of the application will be described in detail, based on self-learning method, Carry out weights re-computation.
The self study time series forecasting of distributed runtime data:Include server end and multiple below in conjunction with one Client(As Alipay bill business is entered an item of expenditure in the accounts platform)System, to tasks carrying progress metrics described above and practical method It is specifically described.Improve constantly weights Wk, i levels of precision in operation by self study process.Fig. 5 closed loop is described The self study process of whole distributed system, the solution that the application is provided just possesses the self study energy based on runtime data Power.Recalculated when each tasks carrying produces service data, to reach the increase with number of run, progress bar Progress shows the more accurate purpose of fitting degree with true progress.
First, step S501 systems instruct client to run with newest weights;Step S503, with the subtask of client Operation constantly produce runtime data, such as task weights Wki;Then, step S505, server end passes through the client that receives End runtime data is enriched constantly historical data base, the historical data storage module 603 in such as Fig. 6;Step S507, system is utilized The higher weights of new database computational accuracy, realize self study.
So, using distributed system multi-client, the characteristics of server centered, using distributed data collection(Such as Fig. 7 In client 1,3,4), centralized data processing and prediction(Such as server end).Processing procedure is for single client(As schemed Client 8 in 7)Transparent, single client improves precision of prediction rapidly in the case where unaware is without computing.
The prediction of the runtime data of client such as task weights is completed in server end, refers to Fig. 6.In server The structure at end 600 includes runtime data receiver module 601, historical data storage module 603, time series forecasting module 605 And the sending module 607 that predicts the outcome.
First, the runtime data receiving module 601 of server end 600 receives the runtime data of client 1,3,4, then It is deposited into history data store module 603, and notifies time series forecasting module 605, time series forecasting module 605 is sent out Existing new historical data enters in historical data storage module 603, starts to call the data in historical data storage module 603 Carry out task weights prediction(The prediction of the task weights of server end 600 is will be described in detail below), finally by result(New appoints Business weights)By predicting the outcome, sending module 607 is sent to client 8, and the task weights for being then based on updating are carried out to task Implementation progress is measured and shown on a progress bar.It should be noted that historical data storage module 603 is needed according to operation When data receiver time, safeguard that its time series carries out unified time-sequencing, in case time series forecasting module 605 makes With.
The overall work of the self study time series forecasting based on client runtime data of the application is described in Fig. 7 Mechanism.Its system run includes server end 600 and multiple client associated with it(Such as client 1~8).Task Execution is according to time point t0~t6Gradually backward(Time shaft as shown in Figure 7), now using the subtask of one of client 8 as Example, to illustrate presently filed embodiment.From the angle of client 8:
In t0Moment, the kth time execution task of client 8, progress bar is measured and shown according to old task weights(Such as [0] client shown in is measured and shown according to old weights);
In t1Moment(Such as the time:t1It is shown), the weights of each subtask of client 8 are sent to server end 600, and Record the actual execution time T of i-th of subtask of the momentk(ji) and calculate corresponding weights WkiAnd store to historical data In storage module 603.
In t2~t4Moment(Such as the time:t2、t3、t4It is shown), client 1,3,4, also operation complete identical task, and And the corresponding weights in each subtask are sent to server end 600;
At this moment, such as runtime data receiver module 601 of server end 600 has collected more runtime datas(Such as [1] Client is sent shown in real-time running data, i.e., send runtime data in real time to server end, and pre- according to time series Survey method is predicted(As [2] calculate each task weights in real time), and new forecast power is sent to client 8(Such as the time: t5It is shown);
In t6Moment(Such as the time:t6It is shown),+1 execution task of 8 kth of client, progress bar is according to new weights progress Measurement and displaying, new weights estimation formula are Wk+1i=Tk(ji)/(Tk(j1)+Tk(ji)+…+Tk(jn))*100%(k≥2).It is logical Cross the execution of many subtasks of each client, server end 600 by according to service hours it is predicted that obtaining the son of each client Time series forecasting process in the weights of task, i.e. distributed system.As shown in Table 1 below the fortune that server end 600 is obtained Data during row(With the task weights W of subtaskkiExemplified by):
Table 1:
Wk,1 Wk,2 Wk,3 Wk,4 ……
1st operation 0.234 0.102 0.028 0.428
2nd operation 0.239 0.100 0.021 0.421
3rd operation 0.134 0.095 0.031 0.431
The 4th is run 0.230 0.097 0.029 0.429
The 5th is run 0.232 0.096 0.028 0.427
6th operation 0.231 0.098 0.028 0.428
……
W in table 1k,iWeights during operation of i-th of subtask in kth time operation are represented, these runtime datas are predictions Basis, when collecting k data in historical data storage, the purpose of time series forecasting is exactly to utilize these data predictions Go out the subtask weights of kth+1 Wi value.Such as W in table 12By one group of weights of the 1st time to the 6th time, the weights that prediction is the 7th time. Time series forecasting module can be predicted using conventional Time Series Forecasting Methods, these methods include rolling average, Exponential smoothing, linear trend, secondary trend etc..
Each subtask is being obtained after the weights estimation of kth time operation, similarly can be with progressive method to entering The present position of degree bar is shown as formula Lrealtime=(Lk1+Lk2+…+Lki-1)+(UTk(ji)/ETk(ji))*Lki.(Such as client End 8 will be measured and be shown according to new weights).
So, client 8 is during kth time and the subtask of kth+1 are performed, not any other behavior, but it is in kth The weights predicted value obtained for+1 time is more accurately, because new weights are based on renewal and more weights.So, One client(Such as client 8,1,3,4)When the task of execution, the service hours of itself generation can be constantly obtained According to these data enrich database again, and providing more data for prediction supports.And time series forecasting is to be based on history Database therefore can increase predict the degree of accuracy so that instruct system operation.
Generally, this kind of distributed system possesses a large amount of clients, and these clients are constantly be generated runtime data simultaneously, If by these data applications, historical data base can be expanded rapidly.And for single client, per subtask Perform circulation and carry out data prediction, the precision of prediction between its adjacent 2 subtask is performed can be lifted rapidly, be shown in Table 1.
In this regard, being improved the obtained tasks carrying progress metrics and ways of presentation based on runtime data, subtask Recursivity is fitted, so as to the displaying of the implementation progress and progress that are accurately fitted task, each appoint is predicted in high accuracy It is engaged in execution time and remaining time, whole tasks carrying total times.Its each task scale relative scale that is particularly suitable for use in relatively is stablized A group task.
Improved self study time series forecasting system and method in present patent application, for distributed system client point The characteristics of producing runtime data, server centered processing data is dissipated, conventional method is improved, main feature is as follows:
1st, some client can constantly obtain the runtime data of itself generation when the task of execution(These Data enrich historical data base again, and providing more data for prediction supports), and time series forecasting is to be based on history number According to storehouse, therefore the degree of accuracy of prediction can be increased, and then instruct the operation of system.
2nd, distributed system generally possesses substantial amounts of client, and these clients simultaneously may be also in continuous generation operation Data, if these data, which are put into historical data storage module, can also expand historical data base rapidly.
3. used in self study process and progress bar measurement and display methods, without knowing task total time and each son Task time, the weights of each subtask need to be only obtained during first time is run or tests, by the fitting of pin-point accuracy, For multi-level task, next stage subsystem can be further subdivided into subtask, is fitted by subtask recurrence, task Weights can constantly be corrected by self study, to be continuously increased prediction accuracy.
The beneficial effect that it brings is such as:For single client, each tasks carrying circulation carries out data prediction, its Precision of prediction between adjacent 2 subtask is performed can be lifted rapidly, processing procedure be for single client it is transparent, Single client improves precision of prediction rapidly in the case where unaware is without computing.
The tasks carrying progress metrics based on runtime data of correspondence the application and the method for displaying, also have its application The system of tasks carrying progress metrics and displaying based on runtime data, including server end and multiple client are wherein, clothes Business device end also includes in the internal memory of server end:Runtime data receiver module, is received from the multiple client The runtime data;Historical data storage module, during storage history run data and receive that the client produces it is new The runtime data;Time series forecasting module, during according to the operation of runtime data receiver module reception Data when data and the history run of historical data storage module storage, by the self study Time Series Forecasting Methods, The next Runtime of prediction, weights when calculating the new operation;Predict the outcome sending module, by time series forecasting One be sent in the multiple client that predicts the outcome of module.
Each embodiment in this specification is typically described by the way of progressive, and what each embodiment was stressed is With the difference of other embodiment, between each embodiment identical similar part mutually referring to.
The application can be described in the general context of computer executable instructions, such as program Module or unit.Usually, program module or unit can include performing particular task or realize particular abstract data type Routine, program, object, component, data structure etc..In general, program module or unit can be by softwares, hardware or both Combination realize.The application can also be put into practice in a distributed computing environment, in these DCEs, by passing through Communication network and connected remote processing devices perform task.In a distributed computing environment, program module or unit can With positioned at including in the local and remote computer-readable storage medium including storage device.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information Store.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), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include the data-signal and carrier wave of non-temporary computer readable media (transitory media), such as modulation.
Finally, in addition it is also necessary to explanation, term " comprising ", "comprising" or its any other variant are intended to non-exclusive Property include so that process, method, commodity or equipment including a series of key elements not only include those key elements, and Also include other key elements for being not expressly set out, or also include for this process, method, commodity or equipment inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including described Also there is other identical element in process, method, commodity or the equipment of key element.
Specific case used herein is set forth to the principle and embodiment of the application, and above example is said It is bright to be only intended to help and understand the present processes and its main thought;Simultaneously for those of ordinary skill in the art, foundation The thought of the application, will change in specific embodiments and applications, in summary, and this specification content is not It is interpreted as the limitation to the application.

Claims (23)

1. a kind of tasks carrying progress metrics based on runtime data and the method for displaying, it is characterised in that including:
Execution based on the task before this subtask and each subtask therein and the runtime data generated, measure this Task and its implementation progress of each subtask, and control to show real-time progress and the control of each subtask execution of this subtask Show that each subtask of this subtask performs the position that is proceeded to of schedule, complete after this subtask, according to this subtask, When the actual execution in each subtask in task and its each subtask before this subtask completes the corresponding operation generated Data, carry out time series forecasting to update runtime data, so that the runtime data measurement based on the renewal is next time Task and its implementation progress of each subtask simultaneously control displaying progress.
2. the method as described in claim 1, it is characterised in that including:
First subtask is initialization task;
The ratio that number accounts for total subtask number is completed based on the subtask serially performed in initialization task, initialization task is measured And its implementation progress of each subtask;
According to the initialization task of measurement and its implementation progress of each subtask, performed by each subtask and complete to account for total son times The ratio displaying progress of business number;
Based on the execution of each subtask in initialization task, corresponding runtime data is generated.
3. method as claimed in claim 2, it is characterised in that appointed based on the task before this subtask and each height therein The execution of business and the runtime data generated, measure the implementation progress of this subtask and its each subtask, and control to show this The real-time progress and control that each subtask of task is performed show that each subtask of this subtask performs schedule and proceeded to Position, including:
Based on the corresponding runtime data of first in initialization task tasks carrying generation, the in the second subtask of measurement The implementation progress of one subtask and the implementation progress for showing first subtask in second subtask;
First subtask performs completion in second subtask, records the execution time;
It is raw based on the corresponding runtime data of the execution generation of each subtask in record execution time and initialization task Into:To perform time, progress shared by i-th of subtask long i-th subtask in second tasks carrying total time, the second subtask Degree;
Export the result of generation;
Progress in control the second subtask of displaying after the completion of the execution of first subtask proceeds to 1/n;
Wherein, 2≤i≤n, n represent subtask number, and n is natural number.
4. the method as described in claim 1, it is characterised in that appointed based on the task before this subtask and each height therein The execution of business and the runtime data generated, measure the implementation progress of this subtask and its each subtask, and control to show this The real-time progress and control that each subtask of task is performed show that each subtask of this subtask performs schedule and proceeded to Position, including:
The corresponding operation that the execution of first subtask based on each subtask in the task before this subtask is generated When data be predicted updated runtime data, measure in this subtask the implementation progress of first subtask and show institute State the implementation progress of first subtask in this subtask;
First sub- tasks carrying is completed in this subtask, records the execution time;
The execution of each subtask based on the record execution time and based on each subtask in the task before this subtask The corresponding runtime data generated is predicted updated runtime data, generation:This tasks carrying total time, sheet In subtask i-th subtask perform the time, progress length shared by i-th of subtask;
Output generation result;
Control shows that the progress in this subtask after the completion of the execution of first subtask proceeds to 1/n;
Wherein, 2≤i≤n, n represent subtask number, and n is natural number.
5. method as claimed in claim 3, it is characterised in that appointed based on the task before this subtask and each height therein The execution of business and the runtime data generated, measure the implementation progress of this subtask and its each subtask, and control to show this The real-time progress and control that each subtask of task is performed show that each subtask of this subtask performs schedule and proceeded to Position, including:
Result is generated according to the output, control shows the real-time progress institute in i-th of subtask implementation procedure in this subtask The change in location proceeded to;
When i-th of subtask performs completion in this subtask, control shows that i-th of subtask of this subtask is performed and completes laggard The proceeded to position of degree;
I-th of subtask, which is performed, in minute book subtask completes the execution time used.
6. method as claimed in claim 4, it is characterised in that appointed based on the task before this subtask and each height therein The execution of business and the runtime data generated, measure the implementation progress of this subtask and its each subtask, and control to show this The real-time progress and control that each subtask of task is performed show that each subtask of this subtask performs schedule and proceeded to Position, including:
Result is generated according to the output, control shows the real-time progress institute in i-th of subtask implementation procedure in this subtask The change in location proceeded to;
When i-th of subtask performs completion in this subtask, control shows that i-th of subtask of this subtask is performed and completes laggard The proceeded to position of degree;
I-th of subtask, which is performed, in minute book subtask completes the execution time used.
7. method as claimed in claim 6, it is characterised in that according to the task before this subtask, this subtask, Yi Jiqi The actual execution in each subtask in each subtask completes the corresponding runtime data generated, is predicted to update during operation Data, runtime data based on the renewal measure the implementation progress of next subtask and its each subtask and controlling show into Degree, including:
All subtasks perform completion in this subtask, and control shows that this Task Progress proceeds to final position;
Each execution time used by completing is performed according to the subtask of each in this subtask of record, corresponding service hours are generated According to, with the corresponding runtime data generated with the actual execution completion of the task before this and wherein each subtask, It is predicted to update runtime data, and the runtime data based on the renewal measures next subtask and its each subtask Implementation progress.
8. method as claimed in claim 7, it is characterised in that according to the task before this subtask, this subtask, Yi Jiqi The actual execution in each subtask in each subtask completes the corresponding runtime data generated, is predicted to update during operation Data, including:
Corresponding runtime data based on generation, carries out time series forecasting, to update runtime data.
9. method as claimed in claim 8, it is characterised in that the time series forecasting, is self study time series forecasting; The self study time series forecasting includes:Corresponding runtime data based on generation and by not medium well during execution task Into runtime data rich store history run when data, runtime data needed for predicting new tasks carrying is so as to updating Measure the runtime data of next subtask and its implementation progress of each subtask.
10. the method as described in claim 1, it is characterised in that the runtime data is the task weights of each subtask.
11. the method as described in claim 1, it is characterised in that the task before described subtask is:This subtask it is upper Many subtasks before one subtask or this subtask.
12. a kind of tasks carrying progress metrics based on runtime data and the system of displaying, it is characterised in that including:
Progress metrics and control exhibiting device, are configured to:Based on the task before this subtask and each subtask therein The runtime data for performing and generating, measures the implementation progress of this subtask and its each subtask, and controls to show this subtask The real-time progress that performs of each subtask and control show that each subtask of this subtask performs the position that is proceeded to of schedule Put,
Prediction meanss, are configured to:Complete after this subtask, according to the task before this subtask, this subtask and its each time The actual execution in each subtask in task completes the corresponding runtime data generated, carries out time series forecasting to update fortune Runtime data of the data based on the renewal measures the implementation progress of next subtask and its each subtask and controls exhibition during row Show progress.
13. system as claimed in claim 12, it is characterised in that progress metrics and control exhibiting device include:
The corresponding operation that the execution of first subtask based on each subtask in the task before this subtask is generated When data be predicted updated runtime data, measure in this subtask the implementation progress of first subtask and show institute State the implementation progress of first subtask in this subtask;
First sub- tasks carrying is completed in this subtask, records the execution time;
The execution of each subtask based on the record execution time and based on each subtask in the task before this subtask The corresponding runtime data generated is predicted updated runtime data, generation:This tasks carrying total time, sheet In subtask i-th subtask perform the time, progress length shared by i-th of subtask;
Output generation result;
Control shows that the progress in this subtask after the completion of the execution of first subtask proceeds to 1/n;
Wherein, 2≤i≤n, n represent subtask number, and n is natural number.
14. system as claimed in claim 13, it is characterised in that progress metrics and control exhibiting device include:
Result is generated according to the output, control shows the real-time progress institute in i-th of subtask implementation procedure in this subtask The change in location proceeded to;
When i-th of subtask performs completion in this subtask, control shows that i-th of subtask of this subtask is performed and completes laggard The proceeded to position of degree;
I-th of subtask, which is performed, in minute book subtask completes the execution time used.
15. system as claimed in claim 14, it is characterised in that prediction meanss include:
All subtasks perform completion in this subtask, and control shows that this Task Progress proceeds to final position;According to record This subtask in each subtask perform each execution time used by completing, generate corresponding runtime data, with this Task and the wherein actual execution in each subtask before completes the corresponding runtime data generated, is predicted with more New runtime data, and the runtime data based on the renewal measures next subtask and its implementation progress of each subtask;
Wherein, the corresponding runtime data based on generation, carries out time series forecasting, to update runtime data;When described Between sequence prediction, be self study time series forecasting;The self study time series forecasting includes:Corresponding fortune based on generation The data during history run of data and the runtime data rich store being continuously generated during by execution task during row, prediction is new Tasks carrying needed for runtime data so as to update measurement the operation of task and its implementation progress of each subtask next time when Data.
16. a kind of tasks carrying progress metrics based on runtime data and the system of displaying, it is characterised in that including:
Server end, collects data when each subtask performs the history run produced in multiple client kth subtask, based on going through Each subtask performs the runtime data produced in history runtime data and kth subtask, carries out time series forecasting, updates and uses In measurement the subtask of kth+1 and its each subtask implementation progress runtime data, and send update after runtime data to The multiple client;The wherein natural number of k >=2.
17. system as claimed in claim 16, it is characterised in that including:
Any one in the multiple client utilizes the runtime data after the renewal, degree when performing the subtask of kth+1 Flow control k+1 subtasks and its each subtask implementation progress, and control to show the real-time of each subtask execution of the subtask of kth+1 Progress after the completion of progress and execution.
18. system as claimed in claim 17, it is characterised in that including:
The server end, carries out the time series forecasting, it is the self study time series forecasting based on runtime data;
The self study time series forecasting, the runtime data constantly produced during by the multiple client executing task enriches The data during history run of storage, data and the service hours collected when the server end utilizes the history run According to, predict runtime data needed for new tasks carrying, and the runtime data after updating is sent to the multiple client, with New tasks carrying progress is measured using the runtime data after the renewal and controls the displaying of its implementation progress.
19. system as claimed in claim 18, it is characterised in that described server end also includes:
Runtime data receiver module, the fortune produced is performed for collecting each subtask in the multiple client kth subtask Data during row;
Historical data storage module, data during storage history run, and receive the collection from runtime data receiver module The runtime data;
Time series forecasting module, when each subtask performs the operation produced in data and kth subtask during based on history run Data, carry out time series forecasting, update the service hours for measuring the subtask of kth+1 and its each subtask implementation progress According to;
Predict the outcome sending module, sends the runtime data after updating to the multiple client.
20. a kind of tasks carrying progress metrics based on runtime data and the method for displaying, it is characterised in that including:
Data when each subtask performs the history run produced in multiple client kth subtask are collected, during based on history run Each subtask performs the runtime data produced in data and kth subtask, carries out time series forecasting, updates for measuring the The runtime data of k+1 subtasks and its each subtask implementation progress, and the runtime data after updating is sent to the multiple Client;The wherein natural number of k >=2.
21. method as claimed in claim 20, it is characterised in that including:
Any one in the multiple client utilizes the runtime data after the renewal, degree when performing the subtask of kth+1 Flow control k+1 subtasks and its each subtask implementation progress, and control to show the real-time of each subtask execution of the subtask of kth+1 Progress after the completion of progress and execution.
22. method as claimed in claim 21, it is characterised in that including:
The time series forecasting, it is the self study time series forecasting based on runtime data;
The self study time series forecasting, the runtime data constantly produced during by the multiple client executing task enriches The data during history run of storage, using data during the history run and the runtime data collected, prediction is new to appoint Business performs required runtime data, and sends the runtime data after updating to the multiple client, to be updated using described Runtime data afterwards measures new tasks carrying progress and controls the displaying of its implementation progress.
23. method as claimed in claim 22, it is characterised in that collect each son in the multiple client kth subtask and appoint Business performs the runtime data produced;
Data when storing history run, and the runtime data for receiving to collect;
Each subtask performs the runtime data produced in data and kth subtask during history run based on the storage, enters Row time series forecasting, updates the runtime data for measuring the subtask of kth+1 and its each subtask implementation progress;
The runtime data after updating is sent to the multiple client.
CN201310150738.1A 2013-04-26 2013-04-26 The method and system of tasks carrying progress metrics and displaying based on runtime data Active CN104123214B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310150738.1A CN104123214B (en) 2013-04-26 2013-04-26 The method and system of tasks carrying progress metrics and displaying based on runtime data
HK15101700.2A HK1201343A1 (en) 2013-04-26 2015-02-16 Method and system for measuring and demonstrating task execution progress based on runtime data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310150738.1A CN104123214B (en) 2013-04-26 2013-04-26 The method and system of tasks carrying progress metrics and displaying based on runtime data

Publications (2)

Publication Number Publication Date
CN104123214A CN104123214A (en) 2014-10-29
CN104123214B true CN104123214B (en) 2017-07-14

Family

ID=51768634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310150738.1A Active CN104123214B (en) 2013-04-26 2013-04-26 The method and system of tasks carrying progress metrics and displaying based on runtime data

Country Status (2)

Country Link
CN (1) CN104123214B (en)
HK (1) HK1201343A1 (en)

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679349A (en) * 2014-11-20 2016-06-15 乐视移动智能信息技术(北京)有限公司 Method and device for controlling recording marks of intelligent terminal
CN106301824A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 The method and system of information processing
CN105260287A (en) * 2015-09-16 2016-01-20 北京奇虎科技有限公司 Method and device for updating parent task progress
CN106547523B (en) * 2015-09-17 2019-08-06 北大方正集团有限公司 Progress bar progress display methods, apparatus and system
CN105183322B (en) * 2015-09-18 2018-02-27 百度在线网络技术(北京)有限公司 Progress bar display methods and device
US10289281B2 (en) 2015-11-30 2019-05-14 International Business Machines Corporation Progress bar updated based on crowd sourced statistics
CN106649049A (en) * 2016-05-09 2017-05-10 海尔优家智能科技(北京)有限公司 Data downloading progress display method and device
CN106383704B (en) * 2016-08-31 2021-01-15 腾讯科技(深圳)有限公司 Progress bar data processing method and device
CN106874171B (en) * 2017-02-15 2020-10-30 联想(北京)有限公司 Task operation monitoring method and device and electronic equipment
CN108665071A (en) * 2017-03-27 2018-10-16 苏宁云商集团股份有限公司 A kind of interactive machine study experiment shows method and system
CN107705069B (en) * 2017-09-27 2021-06-29 北京小米移动软件有限公司 Progress display method and device
CN107680149A (en) * 2017-10-09 2018-02-09 广州四三九九信息科技有限公司 Project tendency drawing drawing method, device and server
CN107705029A (en) * 2017-10-17 2018-02-16 北京恒华龙信数据科技有限公司 A kind of computational methods and system of engineering construction progress
CN107861735B (en) * 2017-10-26 2020-07-31 上海联影医疗科技有限公司 Firmware installation progress monitoring method and computer readable storage medium
CN108037968B (en) * 2017-12-01 2021-11-05 东软集团股份有限公司 Execution progress display method and device, storage medium and electronic equipment
CN108228418A (en) * 2017-12-05 2018-06-29 浪潮通用软件有限公司 A kind of method, server-side and the system of determining server-side processing progress
CN108399092B (en) * 2018-02-27 2021-04-06 北京酷我科技有限公司 Method for generating segmented progress bar
CN108564247A (en) * 2018-03-02 2018-09-21 阿里巴巴集团控股有限公司 Data adjustment method, device and server
CN108491273A (en) * 2018-03-30 2018-09-04 深圳汇通智能化科技有限公司 Air pollution data acquisition analysis system based on cloud computing
CN108563496A (en) * 2018-04-11 2018-09-21 深圳云天励飞技术有限公司 Task analysis method, electronic equipment and storage medium
JP7135826B2 (en) * 2018-12-19 2022-09-13 富士通株式会社 Information processing system and information processing device
CN110011884B (en) * 2019-04-01 2022-01-11 宁波奥克斯电气股份有限公司 Distribution network progress display method and device and air conditioner
CN110928751B (en) * 2019-10-12 2021-07-16 深圳赛安特技术服务有限公司 Task processing time automatic prediction method, device, medium and electronic equipment
CN112835773B (en) * 2019-11-25 2023-08-11 合肥欣奕华智能机器股份有限公司 Method and device for evaluating task running instantaneity in operating system
CN111090511A (en) * 2019-12-24 2020-05-01 北京推想科技有限公司 Task processing method and device and computer readable storage medium
CN111221636A (en) * 2019-12-31 2020-06-02 北京银企融合技术开发有限公司 Cross-service task progress measuring and displaying method and system
CN113313454A (en) * 2020-02-26 2021-08-27 阿里巴巴集团控股有限公司 Time reminding method, device and equipment
CN112181795A (en) * 2020-10-15 2021-01-05 上海英方软件股份有限公司 Method and device for calculating overall progress of task
CN112508525B (en) * 2020-12-14 2022-06-24 广西路桥工程集团有限公司 Engineering management system based on WBS modeling
CN113961281A (en) * 2021-08-13 2022-01-21 叮联信息技术有限公司 Internet-based task progress display method and device
CN116107685B (en) * 2023-04-13 2023-07-25 深圳欧税通技术有限公司 Visual teaching method and system applied to enterprise tax return system
CN116737512B (en) * 2023-08-14 2023-11-10 杭州玳数科技有限公司 Spark-based offline task execution progress calculation and acquisition method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073546A (en) * 2010-12-13 2011-05-25 北京航空航天大学 Task-dynamic dispatching method under distributed computation mode in cloud computing environment
CN102110015A (en) * 2009-12-29 2011-06-29 北大方正集团有限公司 Method and device for determining task progress and task processing time
CN102207863A (en) * 2011-04-01 2011-10-05 奇智软件(北京)有限公司 Method and device for controlling progress bar to advance
CN102567396A (en) * 2010-12-30 2012-07-11 ***通信集团公司 Method, system and device for data mining on basis of cloud computing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110015A (en) * 2009-12-29 2011-06-29 北大方正集团有限公司 Method and device for determining task progress and task processing time
CN102073546A (en) * 2010-12-13 2011-05-25 北京航空航天大学 Task-dynamic dispatching method under distributed computation mode in cloud computing environment
CN102567396A (en) * 2010-12-30 2012-07-11 ***通信集团公司 Method, system and device for data mining on basis of cloud computing
CN102207863A (en) * 2011-04-01 2011-10-05 奇智软件(北京)有限公司 Method and device for controlling progress bar to advance

Also Published As

Publication number Publication date
HK1201343A1 (en) 2015-08-28
CN104123214A (en) 2014-10-29

Similar Documents

Publication Publication Date Title
CN104123214B (en) The method and system of tasks carrying progress metrics and displaying based on runtime data
CN105069524B (en) Planned dispatching optimization method based on big data analysis
Salimi et al. Performance analysis of simulation-based optimization of construction projects using high performance computing
Xu et al. Discrete time–cost–environment trade-off problem for large-scale construction systems with multiple modes under fuzzy uncertainty and its application to Jinping-II Hydroelectric Project
Hegazy et al. Critical path segments scheduling technique
de Soto et al. Using a Tabu-search algorithm and 4D models to improve construction project schedules
NO337405B1 (en) Computer-Implemented Procedure for Analyzing the Performance of a Producing Giant Hydrocarbon Reservoir
CN103971289B (en) The processing method and processing device of mine ore drawing data
Zhang et al. Bayesian-based hybrid simulation approach to project completion forecasting for underground construction
CN104252652A (en) Space load predicting method in electricity system
CN104407688A (en) Virtualized cloud platform energy consumption measurement method and system based on tree regression
Hegazy et al. Heuristic method for satisfying both deadlines and resource constraints
Li et al. Resource leveling in projects with stochastic minimum time lags
Zhang Repetitive project scheduling: Theory and methods
JP2011170496A (en) Device and method for supporting plant construction plan
Xenidis et al. Risk based budgeting of infrastructure projects
Zahid et al. Investigation of surrogate measures of robustness for project scheduling problems
Sonmez et al. Activity uncrashing heuristic with noncritical activity rescheduling method for the discrete time-cost trade-off problem
Mohamed et al. Simulation‐based scheduling of module assembly yards: case study
Afra et al. Systematic literature review of integrated project scheduling and material ordering problem: Formulations and solution methods
Du et al. Construction simulation for a core rockfill dam based on optimal construction stages and zones: case study
Francis et al. Simulation of scheduling logic using dynamic functions
US10445399B2 (en) Forecast-model-aware data storage for time series data
Chong et al. Estimating highway construction production rates during design: Elements of a useful estimation tool
Bosenko et al. Development of an automated system to improve the efficiency of the oil pipeline construction management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1201343

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1201343

Country of ref document: HK

TR01 Transfer of patent right

Effective date of registration: 20191204

Address after: P.O. Box 31119, grand exhibition hall, hibiscus street, 802 West Bay Road, Grand Cayman, Cayman Islands

Patentee after: Innovative advanced technology Co., Ltd

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Co., Ltd.

TR01 Transfer of patent right