CN107705069A - Progress display methods and device - Google Patents

Progress display methods and device Download PDF

Info

Publication number
CN107705069A
CN107705069A CN201710889402.5A CN201710889402A CN107705069A CN 107705069 A CN107705069 A CN 107705069A CN 201710889402 A CN201710889402 A CN 201710889402A CN 107705069 A CN107705069 A CN 107705069A
Authority
CN
China
Prior art keywords
subtask
length
duration
progress
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.)
Granted
Application number
CN201710889402.5A
Other languages
Chinese (zh)
Other versions
CN107705069B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710889402.5A priority Critical patent/CN107705069B/en
Publication of CN107705069A publication Critical patent/CN107705069A/en
Application granted granted Critical
Publication of CN107705069B publication Critical patent/CN107705069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking

Abstract

This application discloses a kind of progress display methods and device, belong to field of computer technology.Methods described includes:After the execute instruction for goal task is detected, the first subtask in multiple subtasks pending in goal task is determined;Obtain the first of the first subtask and perform duration, the first of task is a length of when performing:Duration is estimated from the time of being finished at the time of detecting execute instruction to task;Duration is performed according to the first of the first subtask, the first subtask is shown on the progress bar of the implementation progress of reflection goal task estimates mark point, wherein, the distance for estimating mark point and the starting endpoint of progress bar of the subtask shown on progress bar, duration nonlinear correlation is performed with the first of subtask.The problem of function that the disclosure solves progress bar is more single, and the mode that progress is shown is more single, enrich the function of progress bar, and the display mode of progress.The disclosure is used for the implementation progress for showing task.

Description

Progress display methods and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of progress display methods and device.
Background technology
With the development of network, various electric business platforms arise at the historic moment.User can be in the client of these electric business platforms Goods is placed an order, and by logistics company by the cargo transport that user places an order into user's hand.
In correlation technique, the client of electric business platform can show a progress bar corresponding to the goods after goods places an order; Logistics company understands the logistics task that report executed to finish in real time to electric business platform during goods is transported;Electric business is put down The client of platform according to the logistics task that logistics company reports, can also show the mark point of logistics task on a progress bar.Show Example, after goods places an order, the logistics task performed needed for logistics company can include successively:Export task, transport task and Dispatching task, the client of electric business platform can show the mark point of these logistics tasks, and progress bar successively on a progress bar On all mark points arrange at equal intervals on a progress bar.User can be by checking the mark of logistics task on the progress bar Point, know the logistics task that logistics company of the goods after placing an order performed.
Due in correlation technique, progress bar that the client of electric business platform is shown is merely able to reflect that logistics company performed Logistics task, therefore, the function of progress bar is more single, and the mode that progress is shown is more single.
The content of the invention
Present disclose provides a kind of progress display methods and device, the function that can solve correlation technique progress bar is more single One, the problem of mode that progress is shown is more single, the technical scheme is as follows:
First aspect, there is provided a kind of progress display methods, methods described include:
After the execute instruction for goal task is detected, multiple subtasks pending in the goal task are determined In the first subtask;
Obtain the first of first subtask and perform duration, the first of task is a length of when performing:From detecting described hold Duration is estimated at the time of being finished at the time of row instruction to task;
Duration is performed according to the first of first subtask, in the progress bar for the implementation progress for reflecting the goal task Mark point is estimated in upper display first subtask, wherein, the subtask shown on the progress bar estimate mark point with The distance of the starting endpoint of the progress bar, duration nonlinear correlation is performed with the first of subtask.
Optionally, it is described to perform duration according to the first of first subtask, reflecting the execution of the goal task The mark point of estimating of first subtask is shown on the progress bar of progress, including:
Obtain length and determine function f (x)=k (x)/b, wherein, the length determines that function is the non-linear letter on x Number, the f (x) represent display length corresponding to subtask, and the x represents that the first of subtask performs duration, and the k (x) is Expression formula using x as variable, the b be when the x is equal to the first of the goal task and performs duration, the k (x) with it is pre- If show the ratio of length;
First execution duration of first subtask is inputted into the length and determines function, obtains first subtask It is corresponding to estimate display length;
Display length is estimated according to corresponding to first subtask, first subtask is shown on the progress bar Estimate mark point, the distance for estimating mark point and the starting endpoint of first subtask, appoint equal to the described first son Display length is estimated corresponding to business.
Optionally, the length determines that tangent slope is all higher than zero, and the slope at each point on function graft It is negatively correlated with the x.
Optionally, k (x)=lg (x).
Optionally, the first execution duration for obtaining first subtask, including:
Feature corresponding to first subtask is obtained, feature corresponding to first subtask includes:First son The feature of all subtasks in task and the goal task performed before first subtask;
Feature corresponding to first subtask is inputted into default duration prediction model, obtains first subtask First performs duration, wherein, the duration prediction model includes at least one function, and the parameter at least one function is Train what is obtained according to multiple feature samples.
Optionally, methods described also includes:
Obtain the second of first subtask and perform duration, the second of task is a length of when performing:From detecting described hold Actual duration at the time of being finished at the time of row instruction to task;Duration input is performed by the second of first subtask The length determines function, obtains actual displayed length corresponding to first subtask;It is corresponding according to first subtask Actual displayed length, the real marking point of first subtask is shown on the progress bar;
Wherein, if actual displayed length corresponding to first subtask is less than the default display length, described The real marking point of one subtask and the distance of the starting endpoint, grow equal to actual displayed corresponding to first subtask Degree;If actual displayed length corresponding to first subtask is more than or equal to the default display length, first son The real marking point of task and the distance of the starting endpoint, equal to the default display length.
Optionally, methods described also includes:
Obtain first subtask estimates the time that is finished;First subtask is pre- on the progress bar Estimate at mark point, show first subtask estimates the time that is finished;Obtain the actual execution of first subtask Finish the time;On the progress bar at the real marking point of first subtask, the reality of first subtask is shown It is finished the time.
Second aspect, there is provided a kind of progress display device, the progress display device include:
Determining module, for after the execute instruction for goal task is detected, determining to wait to hold in the goal task The first subtask in capable multiple subtasks;
First acquisition module, duration is performed for obtaining the first of first subtask, the first of task performs duration For:Duration is estimated from the time of being finished at the time of detecting the execute instruction to task;
First display module, for performing duration according to the first of first subtask, reflecting the goal task Implementation progress progress bar on show first subtask estimate mark point, wherein, the son shown on the progress bar The distance for estimating mark point and the starting endpoint of the progress bar of task, the non-linear phase of duration is performed with the first of subtask Close.
Optionally, first display module is used for:
Obtain length and determine function f (x)=k (x)/b, wherein, the length determines that function is the non-linear letter on x Number, the f (x) represent display length corresponding to subtask, and the x represents that the first of subtask performs duration, and the k (x) is Expression formula using x as variable, the b be when the x is equal to the first of the goal task and performs duration, the k (x) with it is pre- If show the ratio of length;
First execution duration of first subtask is inputted into the length and determines function, obtains first subtask It is corresponding to estimate display length;
Display length is estimated according to corresponding to first subtask, first subtask is shown on the progress bar Estimate mark point, the distance for estimating mark point and the starting endpoint of first subtask, appoint equal to the described first son Display length is estimated corresponding to business.
Optionally, the length determines that tangent slope is all higher than zero, and the slope at each point on function graft It is negatively correlated with the x.
Optionally, k (x)=lg (x).
Optionally, first acquisition module is used for:
Feature corresponding to first subtask is obtained, feature corresponding to first subtask includes:First son The feature of all subtasks in task and the goal task performed before first subtask;
Feature corresponding to first subtask is inputted into default duration prediction model, obtains first subtask First performs duration, wherein, the duration prediction model includes at least one function, and the parameter at least one function is Train what is obtained according to multiple feature samples.
Optionally, the progress display device also includes:
Second acquisition module, duration is performed for obtaining the second of first subtask, the second of task performs duration For:From actual duration at the time of being finished at the time of detecting the execute instruction to task;
Input module, function is determined for the second execution duration of first subtask to be inputted into the length, is obtained Actual displayed length corresponding to first subtask;
Second display module, for the actual displayed length according to corresponding to first subtask, on the progress bar Show the real marking point of first subtask;
Wherein, if actual displayed length corresponding to first subtask is less than the default display length, described The real marking point of one subtask and the distance of the starting endpoint, grow equal to actual displayed corresponding to first subtask Degree;If actual displayed length corresponding to first subtask is more than or equal to the default display length, first son The real marking point of task and the distance of the starting endpoint, equal to the default display length.
Optionally, the progress display device also includes:
3rd acquisition module, the time that is finished is estimated for obtain first subtask;
3rd display module, on the progress bar first subtask estimate at mark point, described in display Estimate the time that is finished in the first subtask;
4th acquisition module, for obtaining actually being finished the time for first subtask;
4th display module, on the progress bar at the real marking point of first subtask, described in display First subtask is actually finished the time.
The third aspect, there is provided a kind of progress display device, the progress display device include:
Processing component;
For the memory for the executable instruction for storing the processing component;
Wherein, the processing component is configured as:
After the execute instruction for goal task is detected, multiple subtasks pending in the goal task are determined In the first subtask;
Obtain the first of first subtask and perform duration, the first of task is a length of when performing:From detecting described hold Duration is estimated at the time of being finished at the time of row instruction to task;
Duration is performed according to the first of first subtask, in the progress bar for the implementation progress for reflecting the goal task Mark point is estimated in upper display first subtask, wherein, the subtask shown on the progress bar estimate mark point with The distance of the starting endpoint of the progress bar, duration nonlinear correlation is performed with the first of subtask.
Fourth aspect, there is provided a kind of readable storage medium storing program for executing, instruction is stored with the readable storage medium storing program for executing,
When the readable storage medium storing program for executing is being run on processing component so that processing component performs as described in relation to the first aspect Progress display methods.
The beneficial effect brought of technical scheme that the disclosure provides is:
In the progress display methods that the disclosure provides, client can perform duration according to the first of the first subtask, Reflect on the progress bar of the implementation progress of goal task and show the mark point of estimating of the first subtask, and this estimates mark point with being somebody's turn to do The distance of the starting endpoint of progress bar, duration nonlinear correlation is performed with the first of subtask;User can be according on progress bar The distance for estimating mark point and start mark point of display, estimate the deadline of the first subtask.Therefore, progress bar is enriched Function, the mode that the progress of enriching is shown.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present disclosure, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present disclosure, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of method flow diagram of progress display methods according to an exemplary embodiment;
Fig. 2 is the method flow diagram of another progress display methods according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram of progress bar according to an exemplary embodiment;
Fig. 4 be a kind of according to an exemplary embodiment show the first subtask on a progress bar estimate mark point Method flow diagram;
Fig. 5 be a kind of according to an exemplary embodiment show the first subtask on a progress bar estimate mark point Schematic diagram;
Fig. 6 is a kind of real marking point for showing the first subtask on a progress bar according to an exemplary embodiment Method flow diagram;
Fig. 7 is a kind of real marking point for showing the first subtask on a progress bar according to an exemplary embodiment Schematic diagram;
Fig. 8 is a kind of when showing progress bar according to an exemplary embodiment, directly displays all first sons and appoints The schematic diagram for estimating mark point of business;
Fig. 9 is the schematic diagram of another progress bar according to an exemplary embodiment;
Figure 10 is a kind of structural representation of progress display device according to an exemplary embodiment;
Figure 11 is the structural representation of another progress display device according to an exemplary embodiment;
Figure 12 is the structural representation of another progress display device according to an exemplary embodiment;
Figure 13 is a kind of block diagram of progress display device according to an exemplary embodiment.
Embodiment
In order that the purpose, technical scheme and advantage of the disclosure are clearer, the disclosure is made below in conjunction with accompanying drawing into One step it is described in detail, it is clear that described embodiment is only disclosure part of the embodiment, rather than whole implementation Example.Based on the embodiment in the disclosure, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belong to the scope of disclosure protection.
One goal task would generally include multiple subtasks for needing to perform successively, in order to which goal task is presented to user Implementation progress, the progress bar of an implementation progress for reflecting the goal task can be set, can be shown on the progress bar For the mark point for the implementation progress for reflecting each subtask.It should be noted that each subtask can include a task, Or multiple tasks, the embodiment of the present disclosure are not construed as limiting to this.
Example, goal task can be that logistics is public after user places an order in the client of electric business platform to goods The logistics task performed needed for department, the logistics task can include the sons such as export subtask, transport subtask and dispatching subtask Task.After goods places an order, progress bar corresponding to the goods can be shown in the client of electric business platform, for reflecting the logistics The implementation progress of task.
And example, goal task can be to build the construction task performed needed for house, and the construction task can include Lay the foundations subtask, build subtask and decoration subtask etc. subtask by laying bricks or stones.When starting construction, can be shown in certain terminal One progress bar for being used to reflect the implementation progress of construction task.
Fig. 1 is a kind of method flow diagram of progress display methods according to an exemplary embodiment.The progress is shown Method can be used for client, and client may be mounted in terminal, and terminal can be that mobile phone, computer or other electronics are set It is standby, as shown in figure 1, the progress display methods includes:
In a step 101, after the execute instruction for goal task is detected, determine pending more in goal task The first subtask in individual subtask.
In a step 102, obtain the first of the first subtask and perform duration, the first of task is a length of when performing:From detection Duration is estimated at the time of being finished at the time of execute instruction to task.
In step 103, duration is performed according to the first of the first subtask, is reflecting entering for the implementation progress of goal task The first subtask is shown on degree bar estimates mark point, wherein, mark point is estimated with being somebody's turn to do in the subtask shown on the progress bar The distance of the starting endpoint of progress bar, duration nonlinear correlation is performed with the first of subtask.
In summary, in the progress display methods provided due to the embodiment of the present disclosure, client can appoint according to the first son The first of business performs duration, and the first subtask is shown on the progress bar of the implementation progress of reflection goal task estimates mark Point, and this estimates the distance of mark point and the starting endpoint of the progress bar, and duration nonlinear correlation is performed with the first of subtask; User can be according to the distance for estimating mark point and start mark point shown on progress bar, when estimating the completion of the first subtask Between.Therefore, the function of progress bar, the mode that the progress of enriching is shown are enriched.
Fig. 2 is the method flow diagram of another progress display methods according to an exemplary embodiment.The progress shows Show that method can be used for client, client may be mounted in terminal, and terminal can be that mobile phone, computer or other electronics are set It is standby, as shown in Fig. 2 the progress display methods includes:
In step 201, after the execute instruction for goal task is detected, goal task and its feature are obtained.
Example, client after the execute instruction for goal task is detected, it is necessary to obtain goal task, and mesh The feature of mark task.For example, the client of electric business platform is detecting the execute instruction for goal task (assuming that the execution refers to Make and goods being placed an order in the client of electric business platform for user) after, the server of electric business platform can determine that target is appointed The logistics task for being engaged in performing needed for following logistics company, the client of electric business platform can obtain the thing from the server Stream task, and the feature of the logistics task.For example, the feature of logistics task can include:The species of goods, the ground received Area, the time to place an order and logistics company etc..
In step 202, according to the feature of goal task, show that the first of goal task performs duration.
Wherein, it is a length of when the first of task performs:From at the time of being finished at the time of detecting execute instruction to task Estimate duration.Example, the feature of goal task can be inputted default duration prediction model, obtain the of goal task One performs duration.
It should be noted that duration prediction model can be what is be pre-configured with client, duration prediction model can wrap At least one function is included, and the parameter at least one function trains to obtain according to multiple feature samples.It is being somebody's turn to do Before duration prediction model, administrative staff can be trained using multiple feature samples to some prediction model.Example, management Multiple feature samples can be inputted the prediction model by personnel, and the prediction model can be carried out to the feature in each feature samples Calculation process, and export a duration;The prediction model then can be by execution in the duration of output and this feature sample when Length is compared, and the parameter of prediction model is adjusted according to the result of comparison.Parameter in prediction model is carried out After multiple adjustment, if prediction model output perform duration and the execution duration similarity in feature samples is higher, can be with It is determined that current prediction model is duration prediction model.
Example, the first of the logistics task performed needed for logistics company is a length of when performing, and places an order to user and receives from user Duration is estimated between goods.Administrative staff can using the feature of each logistics task in the past as feature samples, with reference to Logistics task was actual every time in the past is finished the time, and prediction model is trained to obtain duration prediction model.The duration Prediction model according to multiple features of the logistics task of input, can estimate the first execution duration of logistics task.
In step 203, duration is performed according to the first of goal task, calculates estimating when being finished for goal task Between.
The time difference for estimating time of the time that is finished with detecting execute instruction of task, first equal to task holds Row duration, accordingly, the time difference for estimating time of the time that is finished with detecting execute instruction of goal task, equal to mesh The first of mark task performs duration.Example, if goal task be goods place an order after logistics task, user is in electric business platform When the time to be placed an order in client to goods is on June 20 9, logistics task first perform when a length of 5 hours 3 days, then When to estimate the time that is finished be on June 23 14 of the logistics task.
In step 204, default display length is obtained.
It should be noted that default display length can be what is be pre-configured with client, or user voluntarily exists Set in client, the embodiment of the present disclosure is not limited thereto.And the terminal that the default display length is installed with client Size it is related so that length can completely be shown in the terminal for progress bar of the default display length.
Example, if the terminal is mobile phone, and a length of 12 centimetres of the viewing area of mobile phone display screen, a width of 7 centimetres, The default display length can be 6.5 centimetres;If the terminal is computer, and a length of 48 lis of the viewing area of computer display screen Rice, a width of 27 centimetres, then the default display length can be 20 centimetres.
In step 205, progress bar is shown, the length of progress bar shows length, the termination end points of the progress bar to be default What place showed goal task estimates the time that is finished.
Example, if as shown in figure 3, goal task be goods place an order after logistics task, the client institute of electric business platform The terminal of installation is mobile phone, and default display length is 6.5 centimetres, then, should after user places an order (such as during 20 days 9 June) Progress bar corresponding to the logistics task of 6.5 centimeter lengths can be shown in the client of electric business platform, and in the progress Show that estimating for the logistics task is finished the time (such as during 23 days 14 June) at the termination end points of bar.Optionally, the progress Between being shown at the starting endpoint of bar at the beginning of the logistics task, when that is to say lower single 20 days 9 June time of user.
In step 206, the first subtask in multiple subtasks pending in goal task is determined, and obtains first Feature corresponding to subtask.
Example, goal task can include multiple subtasks, and the plurality of subtask can perform successively in order. During the plurality of subtask performs successively, some pending subtask is properly termed as the first subtask.
Feature corresponding to first subtask includes:The feature of first subtask, and performed before the first subtask The feature of all subtasks (subtask belonged in goal task).Example, wrapped in the logistics task that logistics company performs Multiple pending subtasks are included, such as export subtask, transport subtask and dispatching subtask.After user places an order, electricity The server of business's platform can determine that the first current subtask is export subtask, and the client of electric business platform can be from the clothes The feature of export subtask is obtained on business device.After being completed in export subtask, the server of electric business platform can determine currently The first subtask be transport subtask, the client of electric business platform can obtain the spy for transporting subtask from the server Sign, and the feature of the export subtask performed before subtask is transported.After being completed in transport subtask, electric business platform Server can determine that the first current subtask can be obtained for dispatching subtask, the client of electric business platform from the server Take the feature of dispatching subtask, and the feature of the export subtask performed before subtask is dispensed and transport subtask.
It should be noted that in the embodiment of the present disclosure with logistics company perform logistics task only include export subtask, It is explained exemplified by transport subtask and dispatching three, subtask subtask, in practical application, the logistics task can be with Including other one or more subtasks, the embodiment of the present disclosure is not limited thereto.
In step 207, the feature according to corresponding to the first subtask, show the first subtask on a progress bar estimates mark Remember point, and estimate at this and show that the time that is finished is estimated in first subtask at mark point.
After step 206, client can according to corresponding to the first subtask feature, calculate the of the first subtask One performs duration, and estimates display length according to the first execution duration calculation first subtask;Afterwards, client can be by Display length is estimated according to this to show estimate mark point on a progress bar, and estimates the pre- of the first subtask is shown at mark point at this Estimate the time that is finished.
Example, as shown in figure 4, step 207 may include steps of (below using the first subtask as export subtask Exemplified by be explained):
In step 2071, feature corresponding to the first subtask is inputted into default duration prediction model, obtains the first son The first of task performs duration.
Optionally, the duration prediction model in step 2071 can be the duration prediction model in step 202.
In step 2072, duration is performed according to the first of the first subtask, estimating for the first subtask is calculated and has performed Finish the time.
Estimating in step 2072 is finished the calculating process of time, may be referred to estimating in step 203 and has performed Finish the calculating process of time.Example, export subtask first perform when a length of 5 hours, user placed an order at 20 days 9 June, Then when to estimate the time that is finished be on June 20 14 of export subtask.
In step 2073, obtain length and determine function.
Wherein, length determines that function is f (x)=k (x)/b, "/" represent " divided by ", and length determines that function is on x Nonlinear function, f (x) represent subtask corresponding to display length, x represent subtask first perform duration, k (x) be using x as The expression formula of variable, b are k (x) and the ratio of default display length when x is equal to the first of goal task and performs duration.The length Degree determines that tangent slope is all higher than zero at each point on function graft, and slope and x are negatively correlated.Optionally, k (x)=lg (x).Only by k (x) it is that log is explained by taking 10 functions for being bottom as an example in the embodiment of the present disclosure, in practical application, k (x) Can also be functions of the log using other numerical value the bottom of as, or other nonlinear functions, the embodiment of the present disclosure are not construed as limiting to this. It should be noted that nonlinear function that is to say the function that figure is curve.
Example, x unit can be hour, and f (x) unit can be centimetre.The first of logistics task performs duration For 5 hours 3 days, and it is daily 24 hours, then that is to say 3 × 24+5=77 hours within 5 hours 3 days.As x=77, k (x)=lg (x)=1.886 centimetres of lg77 ≈, it is assumed that client is located on mobile phone, and it is 6.5 centimetres to preset display length, then b value is 1.886/6.5≈0.29。
It should be noted that step 2073 can perform between step 2072 and step 2074, and in practical application, step 2073 can also be after the step 204 that is finished, namely it is determined that goal task first performs duration, and default display Performed after length, the embodiment of the present disclosure is not construed as limiting to this.
In step 2074, the first execution duration input length of the first subtask is determined into function, the first son is obtained and appoints Display length is estimated corresponding to business.
Example, export subtask first perform when a length of 5 hours, by 5 input length determine in the x in function, obtain ArriveIt is 2.41 lis that display length is then estimated corresponding to export subtask Rice.
In step 2075, display length is estimated according to corresponding to the first subtask, shows that the first son is appointed on a progress bar Mark point is estimated in business, and this estimate show the first subtask at mark point estimate the time that is finished.
Wherein, the distance for estimating mark point and starting endpoint of the first subtask, is estimated equal to corresponding to the first subtask Show length.Example, as shown in figure 5, goal task be goods place an order after logistics task, the first subtask be export son appoint Business, in step 2075, can show the mark point of estimating of export subtask on a progress bar, and in the pre- of the export subtask Estimate display at mark point and estimate the time that is finished.The distance for estimating mark point and starting endpoint of export subtask, is equal to Estimated corresponding to the subtask of storehouse display 2.41 centimetres of length, that is to say export subtask estimate mark point be located on progress bar away from Position of 2.41 centimetres from starting endpoint.When to estimate the time that is finished be on June 20 14 of export subtask, namely, it is contemplated that 6 Export subtask is completed during the moon 20 days 14.
In a step 208, after being finished in the first subtask, the real marking of the first subtask is shown on a progress bar Point, and being actually finished the time for the first subtask is shown at the real marking point.
After being finished in the first subtask, client can obtain the first subtask actual time being finished, and The actual displayed length of the first subtask is calculated according to the actual time being finished;Afterwards, client can be according to the reality Border shows that length shows real marking point on a progress bar, and the actual execution of the first subtask is shown at the real marking point Finish the time.
Example, as shown in fig. 6, step 208 may include steps of:
In step 2081, being actually finished the time for the first subtask is obtained.
Example, goal task is the logistics task after goods places an order, and when being finished in export subtask, is performed The staff of export subtask can report (such as 20 days 13 June time of the goods export to the server of electric business platform When), the client of electric business platform can obtain the time of the goods export from the server of electric business platform, and can be by this when Between being actually finished the time as export subtask.
In step 2082, according to being actually finished the time for the first subtask, calculate the first subtask second is held Row duration.
Wherein, it is a length of when the second of task performs:From at the time of being finished at the time of detecting execute instruction to task Actual duration.Example, the second execution duration of export subtask can be 4 hours, (6 at the time of that is to say single under user When months 20 days 9) to execution export subtask staff report goods export at the time of (during 20 days 13 June) between when It is long.
In step 2083, the second execution duration input length of the first subtask is determined into function, the first son is obtained and appoints Actual displayed length corresponding to business.
Example, the 4 hours input length of the second execution duration of export subtask is determined in the x in function, obtainedThen actual displayed length corresponding to export subtask is 2.07 lis Rice.
In step 2084, according to actual displayed length corresponding to the first subtask, show that the first son is appointed on a progress bar The real marking point of business, and being actually finished the time for the first subtask is shown at the real marking point.
It is determined that after actual displayed length corresponding to the first subtask, actual displayed corresponding to the first subtask can be grown Degree is compared with default display length.Wherein, if actual displayed length corresponding to the first subtask is less than default display length, Then the real marking point of the first subtask and the distance of starting endpoint, equal to actual displayed length corresponding to the first subtask;If Actual displayed length corresponding to first subtask is more than or equal to default display length, then the real marking point of the first subtask with The distance of starting endpoint, equal to default display length.
Example, if as shown in fig. 7,2.07 centimetres of actual displayed length corresponding to export subtask is less than default display length 6.5 centimetres of degree, then the real marking point of export subtask and the distance of starting endpoint, actually show equal to corresponding to export subtask Show 2.07 centimetres of length, that is to say that the real marking point of export subtask is located on progress bar apart from 2.07 centimetres of starting endpoint Position.Also, at the real marking point of the export subtask, being actually finished the time for export subtask can also be shown (during 20 days 13 June).
And example, a length of 6 hours 3 days when dispensing the second execution of subtask, it is 3 × 24+6=78 hours, then matches somebody with somebody The actual displayed length corresponding to subtask is sent to be:
Now, dispense 6.52 centimetres of actual displayed length corresponding to subtask and be more than default 6.5 centimetres of length of display, then match somebody with somebody Send the real marking point of subtask and the distance of starting endpoint to be equal to default 6.5 centimetres of length of display, that is to say dispatching subtask Real marking point be located on progress bar apart from the position of 6.5 centimetres of starting endpoint, i.e., at the termination end points of progress bar.
It should be noted that after progress bar is shown, each first subtask is estimated mark point and can shown successively, The real marking point of each first subtask can also be shown successively.
Optionally, after the embodiment of the present disclosure to show the real marking of the first subtask point on a progress bar, progress bar On can without show again the first subtask estimate mark point exemplified by, in practical application, show the first subtask reality After mark point, still can also show the first subtask estimates mark point.
Example, goal task is the logistics task after goods places an order, and after user places an order, the client of electric business platform is pressed The time that is finished of estimating of progress bar and logistics task is shown according to default display length, and to show export on progress bar Estimate mark point in subtask;In the actual export of goods, the client of electric business platform to show that export is appointed on progress bar The real marking point of business and the mark point of estimating for transporting subtask, and no longer to show the pre- of export subtask on progress bar Estimate mark point;After transport terminates, the client of electric business platform causes the real marking point that transport subtask is shown on progress bar And mark point is estimated in dispatching subtask, and no longer show that transports subtask estimates mark point on progress bar.
In summary, in the progress display methods provided due to the embodiment of the present disclosure, client can appoint according to the first son The first of business performs duration, and the first subtask is shown on the progress bar of the implementation progress of reflection goal task estimates mark Point, and this estimates the distance of mark point and the starting endpoint of the progress bar, and duration nonlinear correlation is performed with the first of subtask; User can be according to the distance for estimating mark point and start mark point shown on progress bar, when estimating the completion of the first subtask Between.Therefore, the function of progress bar, the mode that the progress of enriching is shown are enriched.
Optionally, if after the execute instruction for goal task is detected, client can get goal task In all subtasks, and feature corresponding to all subtasks can be obtained, then client without show successively on a progress bar That shows each first subtask estimates mark point, and can directly display the pre- of all first subtasks when showing progress bar Estimate mark point.Afterwards, each first subtask is actual be finished after, show each first subtask on a progress bar Real marking point.Optionally, when showing the real marking point of the first subtask, client can also no longer show first son Task estimates mark point.
Example, goal task is the logistics task after goods places an order, and user is in the client of electric business platform to goods After being placed an order, the client of electric business platform can obtain the thing that logistics company needs to perform from the server of electric business platform All subtasks in stream task only include export subtask, transport subtask and dispatching subtask, and can obtain this Feature corresponding to all subtasks.The client of electric business platform can be special according to corresponding to each subtask in all subtasks Sign, show that the first of each subtask performs duration.For example, a length of 5 hours 3 days during the first execution of logistics task, export A length of 5 hours when the first of task performs, a length of 1 hour 3 days when transporting the first execution of subtask (is 3 × 24+1=73 Hour), a length of 5 hours 3 days when dispensing the first execution of subtask.
Afterwards, the client of electric business platform can perform duration according to the first of each subtask, show that every height is appointed Display length is estimated corresponding to business.For example, it is 2.41 centimetres that display length is estimated corresponding to export subtask, subtask pair is transported Estimating for answering shows that length isEstimated corresponding to dispatching subtask aobvious Show that length is
Finally, the client of electric business platform can obtain default display length (6.5 centimetres), and according to default display length Show progress bar;The client of electric business platform can also estimate display length according to each subtask simultaneously, in progress bar Estimate mark point in the upper each subtask of display;And the client of electric business platform can also estimate mark in each subtask At point, show each subtask estimates the time that is finished.Example, as shown in figure 8, the client of electric business platform can be with What the opening position apart from 2.41 centimetres of starting endpoint showed export subtask on a progress bar estimates mark point, and estimates mark at this Estimating when being finished on June time 20 14 for export subtask is shown at note point;On a progress bar apart from starting endpoint 6.43 Centimetre opening position display transport subtask estimate mark point, and estimate at this and show at mark point and transport estimating for subtask Be finished on June time 23 10 when;The opening position apart from 6.5 centimetres of starting endpoint (that is to say progress bar on a progress bar At final position) display dispatching subtask estimates mark point, and estimates at this and show at mark point and dispense estimating for subtask Be finished on June time 23 14 when.
When export subtask, which performs, completes, when the client of electric business platform can perform according to the second of export subtask It is long, the real marking point of export subtask is shown on a progress bar, and no longer to show the pre- of export subtask on progress bar Estimate mark point, now shown altogether on progress bar export subtask real marking point, transport subtask estimate mark point with And mark point is estimated in dispatching subtask.By that analogy, when transporting subtask execution completion, export is shown altogether on progress bar Mark point is estimated in the real marking point of task, the real marking point for transporting subtask and dispatching subtask;Dispense subtask Perform the real marking point for when completing, showing export subtask on progress bar altogether, the real marking point for transporting subtask and Dispense the real marking point of subtask.
Optionally, the step 204 in Fig. 2 can be replaced with step 205 with following operation:First, client is according to mesh The first of mark task performs duration, determines the length of progress bar;Secondly, client shows progress bar, and the length of progress bar is root The length of duration determination is performed according to the first of goal task, estimating for goal task can be shown at the termination end points of progress bar It is finished the time.In this method, client can need not show progress bar according to default display length, but according to target The length that are different and flexibly changing progress bar of task.
Example, client can obtain length first and determine function f (x)=lg (x), wherein, f (x) represents task pair The display length answered, x represent that the first of task performs duration.Afterwards, client performs duration input by the first of goal task Length determines the x in function, and the f (x) drawn value is that display length is estimated corresponding to goal task, that is to say progress bar Show length.Then, client shows progress bar according to the display length, and display target is appointed at the termination end points of progress bar The time that is finished is estimated in business.
As shown in figure 9, x unit can be hour, f (x) unit can be decimetre.Assuming that the first of logistics task holds A length of 5 hours 3 days during row, 3 × 24+5=77 hours are that is to say, as x=77, f (x)=lg (x)=1.886 decimeters of lg77 ≈ =18.86 centimetres, then it is 18.86 centimetres that display length is estimated corresponding to the logistics task.The client of electric business platform is according to this Showing that length shows progress bar, i.e. the total length of shown progress bar is 18.86 centimetres, and at the termination end points of progress bar Display logistics task is estimated be finished the time (during 23 days 14 June).
It should be noted that only carried out in the embodiment of the present disclosure so that goal task is the logistics task after goods places an order as an example For example, goal task can also be other tasks in practical application, and client shows the side of other tasks carrying progresses Method, it may be referred to the method that client shows logistics tasks carrying progress in the embodiment of the present disclosure.
In summary, in the progress display methods that the embodiment of the present disclosure provides, client can be according to the first subtask First performs duration, and the mark point of estimating of the first subtask is shown on the progress bar of the implementation progress of reflection goal task, and This estimates the distance of mark point and the starting endpoint of the progress bar, and duration nonlinear correlation is performed with the first of subtask;User According to the distance for estimating mark point and start mark point shown on progress bar, the deadline of first subtask can be estimated. Therefore, the function of progress bar, the mode that the progress of enriching is shown are enriched.
Figure 10 is a kind of structural representation of progress display device according to an exemplary embodiment.Such as Figure 10 institutes Show, progress display device 100 includes:
Determining module 1001, for after the execute instruction for goal task is detected, determining to wait to hold in goal task The first subtask in capable multiple subtasks;
First acquisition module 1002, duration is performed for obtaining the first of the first subtask, the first of task performs duration For:Duration is estimated from the time of being finished at the time of detecting execute instruction to task;
First display module 1003, for performing duration according to the first of the first subtask, in holding for reflection goal task The first subtask is shown on the progress bar of traveling degree estimates mark point, wherein, mark is estimated in the subtask shown on progress bar Distance of the note point with the starting endpoint of progress bar, duration nonlinear correlation is performed with the first of subtask.
In summary, in the progress display device provided due to the embodiment of the present disclosure, the first display module can be according to the The first of one subtask performs duration, and estimating for the first subtask is shown on the progress bar of the implementation progress of reflection goal task Mark point, and this estimates the distance of mark point and the starting endpoint of the progress bar, it is non-linear to perform duration with the first of subtask It is related;User can estimate the first subtask according to the distance for estimating mark point and start mark point shown on progress bar Deadline.Therefore, the function of progress bar, the mode that the progress of enriching is shown are enriched.
Optionally, the first display module 1003 can be used for:
Obtain length and determine function f (x)=k (x)/b, wherein, length determines that function is the nonlinear function on x, f (x) display length corresponding to subtask is represented, x represents that the first of subtask performs duration, and k (x) is the expression using x as variable Formula, b are k (x) and the ratio of default display length when x is equal to the first of goal task and performs duration;
The first of first subtask execution duration input length is determined into function, obtains estimating corresponding to the first subtask aobvious Show length;
Display length is estimated according to corresponding to the first subtask, show the first subtask on a progress bar estimates mark Point, the distance for estimating mark point and starting endpoint of the first subtask, equal to estimating display length corresponding to the first subtask.
Optionally, length determines that tangent slope is all higher than zero, and slope and x negatives at each point on function graft Close.
Optionally, k (x)=lg (x).
Optionally, the first acquisition module 1002 can be used for:
Feature corresponding to the first subtask is obtained, feature corresponding to the first subtask includes:First subtask and The feature of all subtasks in the goal task performed before one subtask;
Feature corresponding to first subtask is inputted into default duration prediction model, obtain the first subtask first performs Duration, wherein, duration prediction model includes at least one function, and the parameter at least one function is according to multiple feature samples What training obtained.
Figure 11 is the structural representation of another progress display device according to an exemplary embodiment.Such as Figure 11 institutes Show, on the basis of Figure 10, the progress display device 100 can also include:
Second acquisition module 1004, duration is performed for obtaining the second of the first subtask, the second of task performs duration For:From actual duration at the time of being finished at the time of detecting execute instruction to task;
Input module 1005, for the second execution duration input length of the first subtask to be determined into function, obtain first Actual displayed length corresponding to subtask;
Second display module 1006, for the actual displayed length according to corresponding to the first subtask, show on a progress bar The real marking point of first subtask;
Wherein, if actual displayed length corresponding to the first subtask is less than default display length, the reality of the first subtask The distance of border mark point and starting endpoint, equal to actual displayed length corresponding to the first subtask;If corresponding to the first subtask Actual displayed length is more than or equal to default display length, then the real marking point of the first subtask and the distance of starting endpoint, Equal to default display length.
Figure 12 is the structural representation of another progress display device according to an exemplary embodiment.Such as Figure 12 institutes Show, on the basis of Figure 11, progress display device 100 can also include:
3rd acquisition module 1007, the time that is finished is estimated for the first subtask of acquisition;
3rd display module 1008, for estimating at mark point for the first subtask on a progress bar, of display first is appointed The time that is finished is estimated in business;
4th acquisition module 1009, for obtaining actually being finished the time for the first subtask;
4th display module 1010, at the real marking point of the first subtask on a progress bar, of display first is appointed Business is actually finished the time.
In summary, in the progress display device provided due to the embodiment of the present disclosure, the first display module can be according to the The first of one subtask performs duration, and estimating for the first subtask is shown on the progress bar of the implementation progress of reflection goal task Mark point, and this estimates the distance of mark point and the starting endpoint of the progress bar, it is non-linear to perform duration with the first of subtask It is related;User can estimate the first subtask according to the distance for estimating mark point and start mark point shown on progress bar Deadline.Therefore, the function of progress bar, the mode that the progress of enriching is shown are enriched.
Figure 13 is a kind of block diagram of progress display device according to an exemplary embodiment.Optionally, device 130 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, it is good for Body equipment, personal digital assistant etc..
Reference picture 13, device 130 can include following one or more assemblies:Processing component 1302, memory 1304, electricity Source component 1306, multimedia groupware 1308, audio-frequency assembly 1310, the interface 1312 of input/output (I/O), sensor cluster 1314, and communication component 1316.
The integrated operation of the usual control device 130 of processing component 1302, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 1302 can refer to including one or more processors 1320 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 1302 can include one or more modules, The interaction being easy between processing component 1302 and other assemblies.For example, processing component 1302 can include multi-media module, with side Just the interaction between multimedia groupware 1308 and processing component 1302.
Memory 1304 is configured as storing various types of data to support the operation in device 130.These data Example includes being used for the instruction of any application program or method operated on device 130, contact data, telephone book data, Message, picture, video etc..Memory 1304 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1306 provides electric power for the various assemblies of device 130.Power supply module 1306 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 130.
Multimedia groupware 1308 is included in the screen of one output interface of offer between described device 130 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also detect the duration and pressure related to the touch or slide.In certain embodiments, it is more Media component 1308 includes a front camera and/or rear camera.When device 130 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1310 is configured as output and/or input audio signal.For example, audio-frequency assembly 1310 includes a wheat Gram wind (MIC), when device 130 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1304 or via communication Component 1316 is sent.In certain embodiments, audio-frequency assembly 1310 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1312 provide interface, above-mentioned peripheral interface module between processing component 1302 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1314 includes one or more sensors, and the state for providing various aspects for device 130 is commented Estimate.For example, sensor cluster 1314 can detect opening/closed mode of device 130, the relative positioning of component, such as institute The display and keypad that component is device 130 are stated, sensor cluster 1314 can be with detection means 130 or 130 1, device The position of component changes, the existence or non-existence that user contacts with device 130, the orientation of device 130 or acceleration/deceleration and device 130 temperature change.Sensor cluster 1314 can include proximity transducer, be configured in no any physical contact When detect nearby object presence.Sensor cluster 1314 can also include optical sensor, such as CMOS or ccd image sensor, For being used in imaging applications.In certain embodiments, the sensor cluster 1314 can also include acceleration transducer, top Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1316 is configured to facilitate the communication of wired or wireless way between device 130 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 130.In an exemplary reality Apply in example, communication component 1316 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, the communication component 1316 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 130 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1304 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1320 of device 130.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 130 When component performs so that device 130 is able to carry out a kind of progress display methods, and methods described includes:
After the execute instruction for goal task is detected, multiple subtasks pending in the goal task are determined In the first subtask;
Obtain the first of first subtask and perform duration, the first of task is a length of when performing:From detecting described hold Duration is estimated at the time of being finished at the time of row instruction to task;
Duration is performed according to the first of first subtask, in the progress bar for the implementation progress for reflecting the goal task Mark point is estimated in upper display first subtask, wherein, the subtask shown on the progress bar estimate mark point with The distance of the starting endpoint of the progress bar, duration nonlinear correlation is performed with the first of subtask.
Optionally, it is described to perform duration according to the first of first subtask, reflecting the execution of the goal task The mark point of estimating of first subtask is shown on the progress bar of progress, including:
Obtain length and determine function f (x)=k (x)/b, wherein, the length determines that function is the non-linear letter on x Number, the f (x) represent display length corresponding to subtask, and the x represents that the first of subtask performs duration, and the k (x) is Expression formula using x as variable, the b be when the x is equal to the first of the goal task and performs duration, the k (x) with it is pre- If show the ratio of length;
First execution duration of first subtask is inputted into the length and determines function, obtains first subtask It is corresponding to estimate display length;
Display length is estimated according to corresponding to first subtask, first subtask is shown on the progress bar Estimate mark point, the distance for estimating mark point and the starting endpoint of first subtask, appoint equal to the described first son Display length is estimated corresponding to business.
Optionally, the length determines that tangent slope is all higher than zero, and the slope at each point on function graft It is negatively correlated with the x.
Optionally, k (x)=lg (x).
Optionally, the first execution duration for obtaining first subtask, including:
Feature corresponding to first subtask is obtained, feature corresponding to first subtask includes:First son The feature of all subtasks in task and the goal task performed before first subtask;By the described first son Feature corresponding to task inputs default duration prediction model, and obtain first subtask first performs duration, wherein, institute Stating duration prediction model includes at least one function, and the parameter at least one function is trained according to multiple feature samples Obtain.
Optionally, methods described also includes:
Obtain the second of first subtask and perform duration, the second of task is a length of when performing:From detecting described hold Actual duration at the time of being finished at the time of row instruction to task;Duration input is performed by the second of first subtask The length determines function, obtains actual displayed length corresponding to first subtask;It is corresponding according to first subtask Actual displayed length, the real marking point of first subtask is shown on the progress bar;
Wherein, if actual displayed length corresponding to first subtask is less than the default display length, described The real marking point of one subtask and the distance of the starting endpoint, grow equal to actual displayed corresponding to first subtask Degree;If actual displayed length corresponding to first subtask is more than or equal to the default display length, first son The real marking point of task and the distance of the starting endpoint, equal to the default display length.
Optionally, methods described also includes:
Obtain first subtask estimates the time that is finished;First subtask is pre- on the progress bar Estimate at mark point, show first subtask estimates the time that is finished;Obtain the actual execution of first subtask Finish the time;On the progress bar at the real marking point of first subtask, the reality of first subtask is shown It is finished the time.
It should be noted that:The progress display device that above-described embodiment provides is in the progress of display, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of progress display device is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, the progress display device embodiment that above-described embodiment provides belongs to same with progress display methods embodiment One design, its specific implementation process refer to embodiment of the method, repeated no more here.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
It should be noted that embodiment of the method provided in an embodiment of the present invention can mutually join with corresponding device embodiment Examine, the embodiment of the present invention is not limited this.The sequencing of embodiment of the method step provided in an embodiment of the present invention can enter The appropriate adjustment of row, step also according to circumstances can accordingly be increased and decreased, and any one skilled in the art is in this hair In the technical scope of bright exposure, the method that can readily occur in change should be all included within the scope of the present invention, therefore not Repeat again.
The foregoing is only the alternative embodiment of the disclosure, not to limit the disclosure, all spirit in the disclosure and Within principle, any modification, equivalent substitution and improvements made etc., it should be included within the protection domain of the disclosure.

Claims (16)

1. a kind of progress display methods, it is characterised in that methods described includes:
After the execute instruction for goal task is detected, determine in multiple subtasks pending in the goal task First subtask;
Obtain the first of first subtask and perform duration, the first of task is a length of when performing:From detect it is described execution refer to Duration is estimated at the time of being finished at the time of order to task;
Duration is performed according to the first of first subtask, is shown on the progress bar of implementation progress for reflecting the goal task That shows first subtask estimates mark point, wherein, the subtask shown on the progress bar estimate mark point with it is described The distance of the starting endpoint of progress bar, duration nonlinear correlation is performed with the first of subtask.
2. according to the method for claim 1, it is characterised in that it is described according to the first of first subtask perform when It is long, the mark point of estimating of first subtask is shown on the progress bar of implementation progress for reflecting the goal task, including:
Obtain length and determine function f (x)=k (x)/b, wherein, the length determines that function is the nonlinear function on x, institute State f (x) and represent display length corresponding to subtask, the x represents that the first of subtask performs duration, the k (x) be using x as The expression formula of variable, the b are that the k (x) is aobvious with presetting when the x is equal to the first of the goal task and performs duration Show the ratio of length;
First execution duration of first subtask is inputted into the length and determines function, it is corresponding to obtain first subtask Estimate display length;
Display length is estimated according to corresponding to first subtask, the pre- of first subtask is shown on the progress bar Estimate mark point, the distance for estimating mark point and the starting endpoint of first subtask, equal to first subtask pair That answers estimates display length.
3. according to the method for claim 2, it is characterised in that
The length determines that tangent slope is all higher than zero, and the slope and the x negatives at each point on function graft Close.
4. according to the method for claim 3, it is characterised in that
K (x)=lg (x).
5. according to any described method of claim 2 to 4, it is characterised in that described to obtain the first of first subtask Duration is performed, including:
Feature corresponding to first subtask is obtained, feature corresponding to first subtask includes:First subtask And in the goal task performed before first subtask all subtasks feature;
Feature corresponding to first subtask is inputted into default duration prediction model, obtains the first of first subtask Duration is performed, wherein, the duration prediction model includes at least one function, and the parameter at least one function is basis Multiple feature samples train what is obtained.
6. according to the method for claim 5, it is characterised in that methods described also includes:
Obtain the second of first subtask and perform duration, the second of task is a length of when performing:From detect it is described execution refer to Actual duration at the time of being finished at the time of order to task;
Second execution duration of first subtask is inputted into the length and determines function, it is corresponding to obtain first subtask Actual displayed length;
According to actual displayed length corresponding to first subtask, the reality of first subtask is shown on the progress bar Border mark point;
Wherein, if actual displayed length corresponding to first subtask is less than the default display length, first son The real marking point of task and the distance of the starting endpoint, equal to actual displayed length corresponding to first subtask;If Actual displayed length corresponding to first subtask is more than or equal to the default display length, then first subtask Real marking point and the distance of the starting endpoint, equal to the default display length.
7. according to the method for claim 6, it is characterised in that methods described also includes:
Obtain first subtask estimates the time that is finished;
First subtask is estimated at mark point on the progress bar, shows that the estimating of the first subtask has performed Finish the time;
Obtain actually being finished the time for first subtask;
On the progress bar at the real marking point of first subtask, show that the actual execution of first subtask is complete Finish the time.
8. a kind of progress display device, it is characterised in that the progress display device includes:
Determining module, for after the execute instruction for goal task is detected, determining pending in the goal task The first subtask in multiple subtasks;
First acquisition module, duration is performed for obtaining the first of first subtask, the first of task is a length of when performing:From Detect and estimate duration at the time of being finished at the time of the execute instruction to task;
First display module, for performing duration according to the first of first subtask, reflecting holding for the goal task First subtask is shown on the progress bar of traveling degree estimates mark point, wherein, the subtask shown on the progress bar The starting endpoint for estimating mark point and the progress bar distance, perform duration nonlinear correlation with the first of subtask.
9. progress display device according to claim 8, it is characterised in that first display module is used for:
Obtain length and determine function f (x)=k (x)/b, wherein, the length determines that function is the nonlinear function on x, institute State f (x) and represent display length corresponding to subtask, the x represents that the first of subtask performs duration, the k (x) be using x as The expression formula of variable, the b are that the k (x) is aobvious with presetting when the x is equal to the first of the goal task and performs duration Show the ratio of length;
First execution duration of first subtask is inputted into the length and determines function, it is corresponding to obtain first subtask Estimate display length;
Display length is estimated according to corresponding to first subtask, the pre- of first subtask is shown on the progress bar Estimate mark point, the distance for estimating mark point and the starting endpoint of first subtask, equal to first subtask pair That answers estimates display length.
10. progress display device according to claim 9, it is characterised in that
The length determines that tangent slope is all higher than zero, and the slope and the x negatives at each point on function graft Close.
11. progress display device according to claim 10, it is characterised in that
K (x)=lg (x).
12. according to any described progress display device of claim 9 to 11, it is characterised in that first acquisition module is used In:
Feature corresponding to first subtask is obtained, feature corresponding to first subtask includes:First subtask And in the goal task performed before first subtask all subtasks feature;
Feature corresponding to first subtask is inputted into default duration prediction model, obtains the first of first subtask Duration is performed, wherein, the duration prediction model includes at least one function, and the parameter at least one function is basis Multiple feature samples train what is obtained.
13. progress display device according to claim 12, it is characterised in that the progress display device also includes:
Second acquisition module, duration is performed for obtaining the second of first subtask, the second of task is a length of when performing:From Detect actual duration at the time of being finished at the time of the execute instruction to task;
Input module, function is determined for the second execution duration of first subtask to be inputted into the length, is obtained described Actual displayed length corresponding to first subtask;
Second display module, for the actual displayed length according to corresponding to first subtask, shown on the progress bar The real marking point of first subtask;
Wherein, if actual displayed length corresponding to first subtask is less than the default display length, first son The real marking point of task and the distance of the starting endpoint, equal to actual displayed length corresponding to first subtask;If Actual displayed length corresponding to first subtask is more than or equal to the default display length, then first subtask Real marking point and the distance of the starting endpoint, equal to the default display length.
14. progress display device according to claim 13, it is characterised in that the progress display device also includes:
3rd acquisition module, the time that is finished is estimated for obtain first subtask;
3rd display module, on the progress bar first subtask estimate at mark point, display described first Estimate the time that is finished in subtask;
4th acquisition module, for obtaining actually being finished the time for first subtask;
4th display module, at the real marking point of first subtask, showing described first on the progress bar Subtask is actually finished the time.
15. a kind of progress display device, it is characterised in that the progress display device includes:
Processing component;
For the memory for the executable instruction for storing the processing component;
Wherein, the processing component is configured as:
After the execute instruction for goal task is detected, determine in multiple subtasks pending in the goal task First subtask;
Obtain the first of first subtask and perform duration, the first of task is a length of when performing:From detect it is described execution refer to Duration is estimated at the time of being finished at the time of order to task;
Duration is performed according to the first of first subtask, is shown on the progress bar of implementation progress for reflecting the goal task That shows first subtask estimates mark point, wherein, the subtask shown on the progress bar estimate mark point with it is described The distance of the starting endpoint of progress bar, duration nonlinear correlation is performed with the first of subtask.
A kind of 16. readable storage medium storing program for executing, it is characterised in that instruction is stored with the readable storage medium storing program for executing,
When the readable storage medium storing program for executing is being run on processing component so that processing component is performed such as any institute of claim 1 to 7 The progress display methods stated.
CN201710889402.5A 2017-09-27 2017-09-27 Progress display method and device Active CN107705069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710889402.5A CN107705069B (en) 2017-09-27 2017-09-27 Progress display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710889402.5A CN107705069B (en) 2017-09-27 2017-09-27 Progress display method and device

Publications (2)

Publication Number Publication Date
CN107705069A true CN107705069A (en) 2018-02-16
CN107705069B CN107705069B (en) 2021-06-29

Family

ID=61175035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710889402.5A Active CN107705069B (en) 2017-09-27 2017-09-27 Progress display method and device

Country Status (1)

Country Link
CN (1) CN107705069B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537511A (en) * 2018-04-10 2018-09-14 万翼科技有限公司 The method, apparatus and computer readable storage medium of project process displaying
CN109343778A (en) * 2018-09-25 2019-02-15 北京金山安全软件有限公司 Display method and device and electronic equipment
CN111506382A (en) * 2020-04-26 2020-08-07 网易(杭州)网络有限公司 Progress bar curve determination method and device, storage medium and electronic equipment
CN113313454A (en) * 2020-02-26 2021-08-27 阿里巴巴集团控股有限公司 Time reminding method, device and equipment
CN113312156A (en) * 2020-02-26 2021-08-27 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for determining execution progress of a task

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171628B1 (en) * 2002-02-06 2007-01-30 Perttunen Cary D Graphical representation of software installation
US20090083859A1 (en) * 2007-09-21 2009-03-26 Fuji Xerox Co., Ltd. Progress indicators to encourage more secure behaviors
US20140201633A1 (en) * 2013-01-14 2014-07-17 Lenovo (Beijing) Co., Ltd. Progress adjustment method and electronic device
CN104123214A (en) * 2013-04-26 2014-10-29 阿里巴巴集团控股有限公司 Method and system for measuring and displaying task executing progress based on runtime data
CN104239053A (en) * 2014-09-12 2014-12-24 广州华多网络科技有限公司 Progress bar display method and system
CN104317581A (en) * 2014-10-15 2015-01-28 联想(北京)有限公司 Display method and electronic equipment
CN105183322A (en) * 2015-09-18 2015-12-23 百度在线网络技术(北京)有限公司 Progress bar display method and device
CN105224643A (en) * 2015-09-28 2016-01-06 小米科技有限责任公司 Logistics information querying method and device
CN105242923A (en) * 2015-09-25 2016-01-13 努比亚技术有限公司 Display control apparatus and method for data processing progress
CN105824639A (en) * 2016-03-17 2016-08-03 百度在线网络技术(北京)有限公司 Progress estimating method and progress estimating device
CN106033573A (en) * 2015-03-20 2016-10-19 阿里巴巴集团控股有限公司 Display method and device for logistics transportation state information
CN106383704A (en) * 2016-08-31 2017-02-08 腾讯科技(深圳)有限公司 Progress bar data processing method and apparatus
CN106412047A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 Notification message prompting methods and apparatuses
CN106502617A (en) * 2016-12-09 2017-03-15 北京小米移动软件有限公司 Logistics information display methods and device
CN106534991A (en) * 2016-10-27 2017-03-22 微鲸科技有限公司 Progress bar control method and device, and display device
CN106775315A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 Progress bar display methods and device
US20170153779A1 (en) * 2015-11-30 2017-06-01 International Business Machines Corporation Progress bar updated based on crowd sourced statistics

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171628B1 (en) * 2002-02-06 2007-01-30 Perttunen Cary D Graphical representation of software installation
US20090083859A1 (en) * 2007-09-21 2009-03-26 Fuji Xerox Co., Ltd. Progress indicators to encourage more secure behaviors
US20140201633A1 (en) * 2013-01-14 2014-07-17 Lenovo (Beijing) Co., Ltd. Progress adjustment method and electronic device
CN104123214A (en) * 2013-04-26 2014-10-29 阿里巴巴集团控股有限公司 Method and system for measuring and displaying task executing progress based on runtime data
CN104239053A (en) * 2014-09-12 2014-12-24 广州华多网络科技有限公司 Progress bar display method and system
CN104317581A (en) * 2014-10-15 2015-01-28 联想(北京)有限公司 Display method and electronic equipment
CN106033573A (en) * 2015-03-20 2016-10-19 阿里巴巴集团控股有限公司 Display method and device for logistics transportation state information
CN105183322A (en) * 2015-09-18 2015-12-23 百度在线网络技术(北京)有限公司 Progress bar display method and device
CN105242923A (en) * 2015-09-25 2016-01-13 努比亚技术有限公司 Display control apparatus and method for data processing progress
CN105224643A (en) * 2015-09-28 2016-01-06 小米科技有限责任公司 Logistics information querying method and device
US20170153779A1 (en) * 2015-11-30 2017-06-01 International Business Machines Corporation Progress bar updated based on crowd sourced statistics
CN105824639A (en) * 2016-03-17 2016-08-03 百度在线网络技术(北京)有限公司 Progress estimating method and progress estimating device
CN106383704A (en) * 2016-08-31 2017-02-08 腾讯科技(深圳)有限公司 Progress bar data processing method and apparatus
CN106412047A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 Notification message prompting methods and apparatuses
CN106534991A (en) * 2016-10-27 2017-03-22 微鲸科技有限公司 Progress bar control method and device, and display device
CN106502617A (en) * 2016-12-09 2017-03-15 北京小米移动软件有限公司 Logistics information display methods and device
CN106775315A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 Progress bar display methods and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537511A (en) * 2018-04-10 2018-09-14 万翼科技有限公司 The method, apparatus and computer readable storage medium of project process displaying
CN109343778A (en) * 2018-09-25 2019-02-15 北京金山安全软件有限公司 Display method and device and electronic equipment
CN113313454A (en) * 2020-02-26 2021-08-27 阿里巴巴集团控股有限公司 Time reminding method, device and equipment
CN113312156A (en) * 2020-02-26 2021-08-27 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for determining execution progress of a task
CN111506382A (en) * 2020-04-26 2020-08-07 网易(杭州)网络有限公司 Progress bar curve determination method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107705069B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN107705069A (en) Progress display methods and device
CN104166689B (en) The rendering method and device of e-book
CN104219388B (en) Sound control method and device
CN106804000A (en) Direct playing and playback method and device
CN107622367A (en) Progress display methods and device
CN104536935B (en) Calculate display methods, calculate edit methods and device
CN104238911B (en) Load icon display method and device
CN107315792A (en) Method for updating pages, device, electronic equipment and computer-readable recording medium
CN104020924B (en) Label creation method, device and terminal
CN106846638A (en) The surplus management method and device of intelligence instrument
CN104156204B (en) Set up the method and device of calendar entry
CN106469054A (en) notification message control method, device and terminal
CN104182967B (en) image processing method, device and terminal
CN106775202A (en) A kind of method and device of information transfer
CN107239188A (en) icon adjustment method and device
CN107995500A (en) Video watermark recognition methods, device and terminal
CN107168543A (en) Control method of keyboard and device
CN107748867A (en) The detection method and device of destination object
CN107071179A (en) Agenda managing method and device
CN106547597A (en) The control method and device of application program update
CN104407981B (en) EMS memory management process and device
CN107727115A (en) Gyroscope bearing calibration and device
CN104536753B (en) Backlog labeling method and device
CN107424130A (en) Picture U.S. face method and apparatus
CN106998493A (en) The method for previewing and device of video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant