CN107705069B - Progress display method and device - Google Patents

Progress display method and device Download PDF

Info

Publication number
CN107705069B
CN107705069B CN201710889402.5A CN201710889402A CN107705069B CN 107705069 B CN107705069 B CN 107705069B CN 201710889402 A CN201710889402 A CN 201710889402A CN 107705069 B CN107705069 B CN 107705069B
Authority
CN
China
Prior art keywords
subtask
execution
length
estimated
display
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
CN201710889402.5A
Other languages
Chinese (zh)
Other versions
CN107705069A (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

Images

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

The application discloses a progress display method and device, and belongs to the technical field of computers. The method comprises the following steps: after an execution instruction for a target task is detected, determining a first subtask in a plurality of subtasks to be executed in the target task; acquiring a first execution time length of a first subtask, wherein the first execution time length of the task is as follows: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution; and displaying the estimated mark point of the first subtask on a progress bar reflecting the execution progress of the target task according to the first execution time length of the first subtask, wherein the distance between the estimated mark point of the subtask displayed on the progress bar and the starting end point of the progress bar is nonlinearly related to the first execution time length of the subtask. The problem of progress bar's function singleness, progress display's mode singleness has been solved in this disclosure, has richened the function of progress bar to and the display mode of progress. The method and the device are used for displaying the execution progress of the task.

Description

Progress display method and device
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a progress display method and device.
Background
With the development of networks, various e-commerce platforms come into play. The user can order goods on the client side of the E-commerce platforms and transport the goods ordered by the user to the user through the logistics company.
In the related technology, after a client of an e-commerce platform places an order for a goods, a progress bar corresponding to the goods is displayed; the logistics company reports the executed logistics tasks to the e-commerce platform in real time in the process of transporting goods; the client of the e-commerce platform can also display mark points of the logistics tasks on the progress bar according to the logistics tasks reported by the logistics company. For example, after ordering goods, the logistics tasks required to be performed by the logistics company may sequentially include: the client side of the e-commerce platform can sequentially display the mark points of the logistics tasks on the progress bar, and all the mark points on the progress bar are distributed on the progress bar at equal intervals. The user can know the logistics task executed by the logistics company after the goods are placed by checking the mark point of the logistics task on the progress bar.
In the related technology, the progress bar displayed by the client of the e-commerce platform can only reflect the logistics tasks executed by the logistics company, so that the progress bar has a single function and a single progress display mode.
Disclosure of Invention
The utility model provides a progress display method and a device, which can solve the problems that the function of the progress bar in the related technology is single and the progress display mode is single, and the technical scheme is as follows:
in a first aspect, a progress display method is provided, and the method includes:
after an execution instruction for a target task is detected, determining a first subtask in a plurality of subtasks to be executed in the target task;
acquiring a first execution duration of the first subtask, wherein the first execution duration of the task is as follows: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
and displaying the estimated marking point of the first subtask on a progress bar reflecting the execution progress of the target task according to the first execution time length of the first subtask, wherein the distance between the estimated marking point of the subtask displayed on the progress bar and the starting end point of the progress bar is nonlinearly related to the first execution time length of the subtask.
Optionally, the displaying, according to the first execution duration of the first subtask, the pre-estimated mark point of the first subtask on the progress bar reflecting the execution progress of the target task includes:
obtaining a length determination function f (x) ═ k (x)/b, wherein the length determination function is a nonlinear function about x, f (x) represents a display length corresponding to a subtask, x represents a first execution time length of the subtask, k (x) is an expression with x as a variable, and b is a ratio of k (x) to a preset display length when x is equal to the first execution time length of the target task;
inputting the first execution duration of the first subtask into the length determination function to obtain the estimated display length corresponding to the first subtask;
and displaying the pre-estimated mark point of the first subtask on the progress bar according to the pre-estimated display length corresponding to the first subtask, wherein the distance between the pre-estimated mark point of the first subtask and the starting end point is equal to the pre-estimated display length corresponding to the first subtask.
Optionally, the slope of the tangent line at each point on the graph of the length determining function is greater than zero, and the slope is inversely related to the x.
Optionally, k (x) lg (x).
Optionally, the obtaining the first execution duration of the first subtask includes:
acquiring the characteristics corresponding to the first subtask, wherein the characteristics corresponding to the first subtask include: features of the first subtask and all subtasks in the target task that were executed prior to the first subtask;
inputting the characteristics corresponding to the first subtask into a preset duration estimation model to obtain a first execution duration of the first subtask, wherein the duration estimation model comprises at least one function, and parameters in the at least one function are obtained by training according to a plurality of characteristic samples.
Optionally, the method further includes:
acquiring a second execution duration of the first subtask, wherein the second execution duration of the task is as follows: the actual time length from the moment of detecting the execution instruction to the moment of finishing the task execution; inputting the second execution duration of the first subtask into the length determination function to obtain the actual display length corresponding to the first subtask; displaying the actual mark point of the first subtask on the progress bar according to the actual display length corresponding to the first subtask;
if the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual marking point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
Optionally, the method further includes:
acquiring the estimated execution finishing time of the first subtask; displaying the estimated execution finish time of the first subtask at the estimated marking point of the first subtask on the progress bar; acquiring the actual execution finishing time of the first subtask; and displaying the actual execution finish time of the first subtask at the actual mark point of the first subtask on the progress bar.
In a second aspect, there is provided a progress display device including:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining a first subtask in a plurality of subtasks to be executed in a target task after an execution instruction aiming at the target task is detected;
a first obtaining module, configured to obtain a first execution duration of the first sub-task, where the first execution duration of the task is: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
and the first display module is used for displaying the pre-estimated mark point of the first subtask on a progress bar reflecting the execution progress of the target task according to the first execution time length of the first subtask, wherein the distance between the pre-estimated mark point of the subtask displayed on the progress bar and the starting end point of the progress bar is nonlinearly related to the first execution time length of the subtask.
Optionally, the first display module is configured to:
obtaining a length determination function f (x) ═ k (x)/b, wherein the length determination function is a nonlinear function about x, f (x) represents a display length corresponding to a subtask, x represents a first execution time length of the subtask, k (x) is an expression with x as a variable, and b is a ratio of k (x) to a preset display length when x is equal to the first execution time length of the target task;
inputting the first execution duration of the first subtask into the length determination function to obtain the estimated display length corresponding to the first subtask;
and displaying the pre-estimated mark point of the first subtask on the progress bar according to the pre-estimated display length corresponding to the first subtask, wherein the distance between the pre-estimated mark point of the first subtask and the starting end point is equal to the pre-estimated display length corresponding to the first subtask.
Optionally, the slope of the tangent line at each point on the graph of the length determining function is greater than zero, and the slope is inversely related to the x.
Optionally, k (x) lg (x).
Optionally, the first obtaining module is configured to:
acquiring the characteristics corresponding to the first subtask, wherein the characteristics corresponding to the first subtask include: features of the first subtask and all subtasks in the target task that were executed prior to the first subtask;
inputting the characteristics corresponding to the first subtask into a preset duration estimation model to obtain a first execution duration of the first subtask, wherein the duration estimation model comprises at least one function, and parameters in the at least one function are obtained by training according to a plurality of characteristic samples.
Optionally, the progress display device further includes:
a second obtaining module, configured to obtain a second execution duration of the first sub-task, where the second execution duration of the task is: the actual time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
the input module is used for inputting the second execution duration of the first subtask into the length determination function to obtain the actual display length corresponding to the first subtask;
the second display module is used for displaying the actual mark point of the first subtask on the progress bar according to the actual display length corresponding to the first subtask;
if the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual marking point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
Optionally, the progress display device further includes:
the third acquisition module is used for acquiring the estimated execution finish time of the first subtask;
the third display module is used for displaying the estimated execution finish time of the first subtask at the estimated marking point of the first subtask on the progress bar;
a fourth obtaining module, configured to obtain an actual execution completion time of the first subtask;
and the fourth display module is used for displaying the actual execution finishing time of the first subtask at the actual mark point of the first subtask on the progress bar.
In a third aspect, there is provided a progress display device including:
a processing component;
a memory for storing executable instructions of the processing component;
wherein the processing component is configured to:
after an execution instruction for a target task is detected, determining a first subtask in a plurality of subtasks to be executed in the target task;
acquiring a first execution duration of the first subtask, wherein the first execution duration of the task is as follows: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
and displaying the estimated marking point of the first subtask on a progress bar reflecting the execution progress of the target task according to the first execution time length of the first subtask, wherein the distance between the estimated marking point of the subtask displayed on the progress bar and the starting end point of the progress bar is nonlinearly related to the first execution time length of the subtask.
In a fourth aspect, a readable storage medium is provided, having instructions stored therein,
the readable storage medium, when run on a processing component, causes the processing component to perform the progress display method as described in the first aspect.
The technical scheme provided by the disclosure has the following beneficial effects:
according to the progress display method, a client can display an estimated marking point of a first subtask on a progress bar reflecting the execution progress of a target task according to the first execution duration of the first subtask, and the distance between the estimated marking point and the starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask; the user can predict the completion time of the first subtask according to the distance between the predicted mark point and the starting mark point displayed on the progress bar. Therefore, the functions of the progress bar are enriched, and the progress display mode is enriched.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a method flow diagram illustrating a progress display method in accordance with an exemplary embodiment;
FIG. 2 is a method flow diagram illustrating another method of progress display in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a progress bar in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a method for displaying pre-estimated marked points of a first subtask on a progress bar in accordance with an exemplary embodiment;
FIG. 5 is a diagram illustrating a display of pre-cursor mark points of a first subtask on a progress bar in accordance with an exemplary embodiment;
FIG. 6 is a flowchart illustrating a method of displaying actual marked points of a first subtask on a progress bar, according to an exemplary embodiment;
FIG. 7 is a diagram illustrating a process bar displaying actual marker points of a first subtask, according to an exemplary embodiment;
FIG. 8 is a diagram illustrating a process bar showing the pre-estimated marked points of all the first subtasks being displayed directly when the process bar is displayed in accordance with an exemplary embodiment;
FIG. 9 is a schematic diagram illustrating another progress bar in accordance with an exemplary embodiment;
fig. 10 is a schematic structural view illustrating a progress display device according to an exemplary embodiment;
fig. 11 is a schematic structural view illustrating another progress display device according to an exemplary embodiment;
FIG. 12 is a schematic diagram illustrating the structure of yet another progress display device in accordance with an exemplary embodiment;
fig. 13 is a block diagram illustrating a progress display device according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, rather than all embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
In order to present the execution progress of the target task to the user, a progress bar reflecting the execution progress of the target task may be provided, and mark points reflecting the execution progress of each sub task may be displayed on the progress bar. It should be noted that each subtask may include one task or multiple tasks, which is not limited by the embodiment of the present disclosure.
For example, the target task may be a logistics task that the logistics company needs to perform after the user places an order for the goods on the client of the e-commerce platform, and the logistics task may include sub-tasks such as a warehouse-out sub-task, a transportation sub-task, and a distribution sub-task. After the goods are placed, a progress bar corresponding to the goods can be displayed on a client of the e-commerce platform and used for reflecting the execution progress of the logistics task.
As another example, the target task may be a construction task that needs to be performed to construct a house, and the construction task may include a foundation-making subtask, a masonry subtask, and a decoration subtask. At the time of starting construction, a progress bar for reflecting the progress of execution of a construction task may be displayed on a certain terminal.
FIG. 1 is a method flow diagram illustrating a progress display method in accordance with an exemplary embodiment. The progress display method can be used for a client, the client can be installed on a terminal, the terminal can be a mobile phone, a computer or other electronic equipment, as shown in fig. 1, and the progress display method includes:
in step 101, after an execution instruction for a target task is detected, a first subtask of a plurality of subtasks to be executed in the target task is determined.
In step 102, a first execution duration of the first subtask is obtained, where the first execution duration of the task is: and the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution.
In step 103, according to the first execution duration of the first subtask, displaying the estimated mark point of the first subtask on a progress bar reflecting the execution progress of the target task, wherein a distance between the estimated mark point of the subtask displayed on the progress bar and a starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask.
In summary, in the progress display method provided by the embodiment of the present disclosure, the client may display the pre-estimated marked point of the first subtask on the progress bar reflecting the execution progress of the target task according to the first execution duration of the first subtask, and a distance between the pre-estimated marked point and the starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask; the user can predict the completion time of the first subtask according to the distance between the predicted mark point and the starting mark point displayed on the progress bar. Therefore, the functions of the progress bar are enriched, and the progress display mode is enriched.
FIG. 2 is a method flow diagram illustrating another method of progress display according to an example embodiment. The progress display method can be used for a client, the client can be installed on a terminal, the terminal can be a mobile phone, a computer or other electronic equipment, as shown in fig. 2, and the progress display method includes:
in step 201, after an execution instruction for a target task is detected, the target task and its features are acquired.
For example, after detecting an execution instruction for a target task, a client needs to obtain the target task and characteristics of the target task. For example, after the client of the e-commerce platform detects an execution instruction for a target task (assuming that the execution instruction is that a user orders goods on the client of the e-commerce platform), the server of the e-commerce platform may determine that the target task is a logistics task that needs to be executed by a next logistics company, and the client of the e-commerce platform may obtain the logistics task and characteristics of the logistics task from the server. For example, characteristics of a logistics task may include: the type of goods, the region where the goods are received, the time when the orders are placed, the logistics company, and the like.
In step 202, a first execution duration of the target task is obtained according to the characteristics of the target task.
The first execution duration of the task is as follows: and the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution. For example, the characteristics of the target task may be input into a preset duration estimation model to obtain a first execution duration of the target task.
It should be noted that the duration estimation model may be preconfigured in the client, the duration estimation model may include at least one function, and parameters in the at least one function are obtained by training according to a plurality of feature samples. Before the time length estimation model is obtained, a manager can train a certain estimation model by adopting a plurality of characteristic samples. For example, a manager may input a plurality of feature samples into the estimation model, and the estimation model may perform operation on the features in each feature sample and output a duration; the predictive model may then compare the output duration with the execution duration in the feature sample and adjust the parameters of the predictive model according to the comparison. After the parameters in the estimation model are adjusted for multiple times, if the execution duration output by the estimation model is higher in similarity with the execution duration in the characteristic sample, the current estimation model can be determined to be the duration estimation model.
For example, the first execution time of the logistics task that the logistics company needs to execute is an estimated time from ordering by the user to receiving the goods by the user. The manager can train the estimation model by taking the characteristics of each previous logistics task as a characteristic sample and combining the actual execution finishing time of each previous logistics task to obtain the duration estimation model. The duration estimation model can estimate the first execution duration of the logistics task according to a plurality of input characteristics of the logistics task.
In step 203, the estimated execution completion time of the target task is calculated according to the first execution duration of the target task.
The time difference between the estimated execution finishing time of the task and the time of detecting the execution instruction is equal to the first execution time of the task, and correspondingly, the time difference between the estimated execution finishing time of the target task and the time of detecting the execution instruction is equal to the first execution time of the target task. For example, if the target task is a logistics task after goods ordering, the time for ordering goods on the client of the e-commerce platform by the user is 6 months, 20 days and 9 days, the first execution time of the logistics task is 3 days and 5 hours, and the estimated execution completion time of the logistics task is 6 months, 23 days and 14 days.
In step 204, a preset display length is obtained.
It should be noted that the preset display length may be configured in advance on the client, or may be set on the client by the user, and the embodiment of the present disclosure is not limited herein. And the preset display length is related to the size of the terminal installed on the client, so that the progress bar with the length being the preset display length can be completely displayed in the terminal.
For example, if the terminal is a mobile phone and the display area of the display screen of the mobile phone has a length of 12 cm and a width of 7 cm, the preset display length may be 6.5 cm; if the terminal is a computer and the display area of the computer display screen has a length of 48 cm and a width of 27 cm, the predetermined display length may be 20 cm.
In step 205, a progress bar is displayed, where the length of the progress bar is a preset display length, and the estimated execution completion time of the target task is displayed at the termination end point of the progress bar.
For example, as shown in fig. 3, if the target task is a logistics task after the goods are placed, the terminal installed on the client of the e-commerce platform is a mobile phone, and the preset display length is 6.5 centimeters, after the user places an order (for example, 6 months, 20 days and 9 days), a progress bar corresponding to the logistics task with a length of 6.5 centimeters may be displayed in the client of the e-commerce platform, and the estimated execution completion time of the logistics task (for example, 14 days of 6 months, 23 days and 14 days) is displayed at the termination end point of the progress bar. Optionally, the starting point of the progress bar may display the starting time of the logistics task, that is, the order-placing time of the user is 6 months, 20 days, and 9 days.
In step 206, a first subtask of the plurality of subtasks to be executed in the target task is determined, and a feature corresponding to the first subtask is obtained.
For example, the target task may include a plurality of subtasks, and the plurality of subtasks may be sequentially executed in order. In the process of sequentially executing the plurality of subtasks, a certain subtask to be executed may be referred to as a first subtask.
The corresponding features of the first subtask include: the characteristics of the first subtask, and the characteristics of all subtasks executed before the first subtask (all belonging to a subtask in the target task). For example, the logistics task performed by the logistics company includes a plurality of sub-tasks to be performed, such as a warehouse-out sub-task, a transportation sub-task, and a distribution sub-task. After the user places an order, the server of the e-commerce platform may determine that the current first subtask is a warehouse-out subtask, and the client of the e-commerce platform may obtain the characteristics of the warehouse-out subtask from the server. After the warehouse-out subtask is completed, the server of the e-commerce platform may determine that the current first subtask is a transportation subtask, and the client of the e-commerce platform may obtain the characteristics of the transportation subtask and the characteristics of the warehouse-out subtask executed before the transportation subtask from the server. After the transportation subtask is completed, the server of the e-commerce platform may determine that the current first subtask is a delivery subtask, and the client of the e-commerce platform may obtain characteristics of the delivery subtask and characteristics of the warehouse out subtask and the transportation subtask executed before the delivery subtask from the server.
It should be noted that, in the embodiment of the present disclosure, the logistics task performed by the logistics company includes only three subtasks, namely, a warehouse-out subtask, a transportation subtask, and a distribution subtask, and in practical applications, the logistics task may further include one or more other subtasks, and the embodiment of the present disclosure is not limited herein.
In step 207, according to the characteristics corresponding to the first subtask, an estimated mark point of the first subtask is displayed on the progress bar, and the estimated execution completion time of the first subtask is displayed at the estimated mark point.
After step 206, the client may calculate a first execution duration of the first subtask according to the feature corresponding to the first subtask, and calculate an estimated display length of the first subtask according to the first execution duration; and then, the client can display the estimated mark point on the progress bar according to the estimated display length, and display the estimated execution finish time of the first subtask at the estimated mark point.
For example, as shown in fig. 4, step 207 may include the following steps (the first subtask is explained as the warehouse-out subtask in the following:
in step 2071, the feature corresponding to the first subtask is input into a preset duration prediction model to obtain a first execution duration of the first subtask.
Optionally, the duration estimation model in step 2071 may be the duration estimation model in step 202.
In step 2072, the estimated execution completion time of the first subtask is calculated according to the first execution duration of the first subtask.
The process of calculating the estimated execution completion time in step 2072 may refer to the process of calculating the estimated execution completion time in step 203. Illustratively, the first execution duration of the out-of-bin subtask is 5 hours, the user places an order at 9/6/20, and the estimated execution completion time of the out-of-bin subtask is 14/6/20.
In step 2073, a length determination function is obtained.
Wherein, the length determination function is f (x) ═ k (x)/b, "/" indicates "divided", and the length determination function is a non-linear function with respect to x, f (x) indicates a display length corresponding to the subtask, x indicates a first execution time length of the subtask, k (x) is an expression using x as a variable, and b is a ratio of k (x) to a preset display length when x is equal to the first execution time length of the target task. The slope of the tangent at each point on the graph of the length determining function is greater than zero and the slope is inversely related to x. Optionally, k (x) lg (x). In the embodiment of the present disclosure, only k (x) is taken as an example of a function whose log is based on 10, and in practical applications, k (x) may also be a function whose log is based on other values or other non-linear functions, which is not limited in the embodiment of the present disclosure. It should be noted that the non-linear function is a function whose graph is a curve.
For example, x may be in units of hours and f (x) may be in units of centimeters. The first execution period of the logistic task is 3 days and 5 hours, and each day is 24 hours, then 3 days and 5 hours, that is, 3 × 24+5 hours is 77 hours. When x is 77, k (x) lg77 ≈ 1.886 cm, and if the client is located on the mobile phone and the preset display length is 6.5 cm, the value of b is 1.886/6.5 ≈ 0.29.
It should be noted that, step 2073 may be executed between step 2072 and step 2074, and in practical applications, step 2073 may also be executed after step 204 is executed, that is, after the first execution time length of the target task and the preset display length are determined, which is not limited in this disclosure.
In step 2074, the first execution duration of the first subtask is input into the length determination function to obtain the estimated display length corresponding to the first subtask.
Illustratively, the first execution duration of the out-of-bin subtask is 5 hours, and 5 is input into x in the length determination function to obtain
Figure BDA0001420819670000111
The estimated display length corresponding to the out-of-bin subtask is 2.41 cm.
In step 2075, according to the estimated display length corresponding to the first subtask, an estimated mark point of the first subtask is displayed on the progress bar, and the estimated execution completion time of the first subtask is displayed at the estimated mark point.
The distance between the estimated marking point of the first subtask and the starting end point is equal to the estimated display length corresponding to the first subtask. For example, as shown in fig. 5, the target task is a logistics task after ordering goods, the first sub task is a warehouse-out sub task, and in step 2075, the estimated mark point of the warehouse-out sub task may be displayed on the progress bar, and the estimated execution completion time may be displayed at the estimated mark point of the warehouse-out sub task. The distance between the estimated mark point of the delivery subtask and the starting end point is equal to the estimated display length corresponding to the delivery subtask of 2.41 cm, namely the estimated mark point of the delivery subtask is located at the position, 2.41 cm away from the starting end point, on the progress bar. The estimated execution finish time of the warehouse-out subtask is 6 months, 20 days and 14 days, namely, the warehouse-out subtask is completed when the estimated execution finish time of the warehouse-out subtask is 6 months, 20 days and 14 days.
In step 208, after the first subtask is completely executed, an actual mark point of the first subtask is displayed on the progress bar, and an actual execution completion time of the first subtask is displayed at the actual mark point.
After the first subtask is executed, the client can acquire the actual execution completion time of the first subtask, and calculate the actual display length of the first subtask according to the actual execution completion time; then, the client may display an actual mark point on the progress bar according to the actual display length, and display the actual execution completion time of the first subtask at the actual mark point.
As an example, as shown in fig. 6, step 208 may include the steps of:
in step 2081, the actual execution completion time of the first subtask is obtained.
For example, the target task is a logistics task after the delivery of the goods, when the delivery subtask is completed, the staff performing the delivery subtask reports the delivery time of the goods to the server of the e-commerce platform (for example, 13 days 6, 20, and a day), and the client of the e-commerce platform may obtain the delivery time of the goods from the server of the e-commerce platform and may use the delivery time as the actual completion time of the delivery subtask.
In step 2082, a second execution duration of the first subtask is calculated according to the actual execution completion time of the first subtask.
Wherein the second execution duration of the task is: and the actual time length from the moment when the execution instruction is detected to the moment when the task is completely executed. For example, the second execution time period of the warehouse-out subtask may be 4 hours, that is, the time period from the time when the user places an order (9 days at 20 months and 6 days) to the time when the goods reported by the staff performing the warehouse-out subtask are warehoused (13 days at 20 months and 6 days).
In step 2083, the second execution duration of the first subtask is input to the length determination function, and the actual display length corresponding to the first subtask is obtained.
Illustratively, inputting the second execution time of the warehouse-out subtask into x in the length determination function for 4 hours to obtain
Figure BDA0001420819670000121
The actual display length for the out-of-bin subtask is 2.07 centimeters.
In step 2084, according to the actual display length corresponding to the first subtask, displaying the actual mark point of the first subtask on the progress bar, and displaying the actual execution completion time of the first subtask at the actual mark point.
After the actual display length corresponding to the first subtask is determined, the actual display length corresponding to the first subtask may be compared with a preset display length. If the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
For example, as shown in fig. 7, if the actual display length corresponding to the warehouse-out subtask is 2.07 cm smaller than the preset display length of 6.5 cm, the distance between the actual mark point of the warehouse-out subtask and the starting end point is equal to the actual display length corresponding to the warehouse-out subtask of 2.07 cm, that is, the actual mark point of the warehouse-out subtask is located at a position on the progress bar 2.07 cm away from the starting end point. Further, at the actual mark point of the out-binning subtask, the actual execution completion time (at 13/20/6) of the out-binning subtask may also be displayed.
As another example, if the second execution duration of the delivery subtask is 3 days and 6 hours, that is, 3 × 24+6 is 78 hours, the actual display length corresponding to the delivery subtask is:
Figure BDA0001420819670000122
at this time, the actual display length 6.52 cm corresponding to the distribution subtask is greater than the preset display length 6.5 cm, and the distance between the actual mark point of the distribution subtask and the starting end point is equal to the preset display length 6.5 cm, that is, the actual mark point of the distribution subtask is located on the progress bar at a position 6.5 cm away from the starting end point, that is, at the end point of the progress bar.
It should be noted that, after the progress bar is displayed, the estimated mark points of each first subtask may be sequentially displayed, and the actual mark points of each first subtask may also be sequentially displayed.
Optionally, in the embodiment of the present disclosure, after the actual mark point of the first subtask is displayed on the progress bar, the pre-estimated mark point of the first subtask may not need to be displayed on the progress bar.
Illustratively, the target task is a logistics task after goods ordering, after a user orders, a client of the e-commerce platform displays a progress bar and estimated execution finish time of the logistics task according to a preset display length, and estimated mark points of the delivery subtasks are displayed on the progress bar; when the goods are actually taken out of the warehouse, the client of the E-commerce platform enables the progress bar to display the actual mark points of the sub-tasks of taking out of the warehouse and the estimated mark points of the sub-tasks of transportation, and enables the progress bar not to display the estimated mark points of the sub-tasks of taking out of the warehouse any more; after the transportation is finished, the client of the e-commerce platform enables the progress bar to display the actual mark points of the transportation subtasks and the estimated mark points of the distribution subtasks, and enables the progress bar not to display the estimated mark points of the transportation subtasks any more.
In summary, in the progress display method provided by the embodiment of the present disclosure, the client may display the pre-estimated marked point of the first subtask on the progress bar reflecting the execution progress of the target task according to the first execution duration of the first subtask, and a distance between the pre-estimated marked point and the starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask; the user can predict the completion time of the first subtask according to the distance between the predicted mark point and the starting mark point displayed on the progress bar. Therefore, the functions of the progress bar are enriched, and the progress display mode is enriched.
Optionally, if after detecting the execution instruction for the target task, the client can obtain all subtasks in the target task and can obtain the features corresponding to all subtasks, the client does not need to sequentially display the pre-estimated mark points of each first subtask on the progress bar, and can directly display the pre-estimated mark points of all first subtasks when displaying the progress bar. And then, after each first subtask is actually executed, displaying the actual mark point of each first subtask on the progress bar. Optionally, when the actual mark point of the first subtask is displayed, the client may not display the pre-estimated mark point of the first subtask any more.
In an example, the target task is a logistics task after ordering goods, after a user orders goods on a client of the e-commerce platform, the client of the e-commerce platform may obtain, from a server of the e-commerce platform, all subtasks in the logistics task that the logistics company needs to execute, where the subtasks only include a warehouse-out subtask, a transportation subtask, and a delivery subtask, and may obtain features corresponding to all subtasks. The client of the e-commerce platform can obtain the first execution duration of each subtask according to the characteristics corresponding to each subtask in all the subtasks. For example, the first execution time of the logistics task is 3 days and 5 hours, the first execution time of the warehouse-out subtask is 5 hours, the first execution time of the transportation subtask is 3 days and 1 hour (i.e. 3 × 24+1 ═ 73 hours), and the first execution time of the distribution subtask is 3 days and 5 hours.
And then, the client of the e-commerce platform can obtain the estimated display length corresponding to each subtask according to the first execution time length of each subtask. For example, the estimated display length corresponding to the delivery subtask is 2.41 cm, and the estimated display length corresponding to the transport subtask is
Figure BDA0001420819670000141
The estimated display length corresponding to the distribution subtask is
Figure BDA0001420819670000142
Finally, the client of the e-commerce platform can obtain the preset display length (6.5 cm), and display the progress bar according to the preset display length; meanwhile, the client of the e-commerce platform can display the estimated mark point of each subtask on the progress bar according to the estimated display length of each subtask; and the client of the E-commerce platform can display the estimated execution finish time of each subtask at the estimated mark point of each subtask. For example, as shown in fig. 8, the client of the e-commerce platform may display the estimated marking point of the warehouse-out subtask at a position 2.41 cm away from the starting end point on the progress bar, and display the estimated execution completion time of the warehouse-out subtask at the estimated marking point, 6 months, 20 days, and 14 days; displaying an estimated mark point of the transportation subtask at a position 6.43 cm away from the starting end point on the progress bar, and displaying estimated execution finish time of the transportation subtask at the estimated mark point, 6 months, 23 days and 10 days; and displaying the estimated marking point of the distribution subtask at a position 6.5 centimeters away from the starting end point on the progress bar (namely, the end position of the progress bar), and displaying the estimated execution finish time of the distribution subtask at 6 months, 23 days and 14 days at the estimated marking point.
When the delivery subtask is executed, the client of the e-commerce platform can display the actual mark point of the delivery subtask on the progress bar according to the second execution time of the delivery subtask, and the estimated mark point of the delivery subtask is not displayed on the progress bar any more, and at the moment, the actual mark point of the delivery subtask, the estimated mark point of the transportation subtask and the estimated mark point of the delivery subtask are displayed on the progress bar. By analogy, when the transportation subtasks are executed, the actual mark points of the delivery subtasks, the actual mark points of the transportation subtasks and the estimated mark points of the distribution subtasks are displayed on the progress bar; and when the distribution subtask is executed, the progress bar is displayed with the actual mark points of the delivery subtask, the actual mark points of the transportation subtask and the actual mark points of the distribution subtask.
Alternatively, step 204 and step 205 in fig. 2 may be replaced by the following operations: firstly, the client determines the length of a progress bar according to the first execution duration of a target task; secondly, the client displays a progress bar, the length of the progress bar is determined according to the first execution duration of the target task, and the estimated execution completion time of the target task can be displayed at the termination end point of the progress bar. In the method, the client can flexibly change the length of the progress bar according to different target tasks without displaying the progress bar according to the preset display length.
For example, the client may first obtain a length determination function f (x) ═ lg (x), where f (x) represents a display length corresponding to the task, and x represents a first execution time length of the task. Then, the client inputs the first execution duration of the target task into x in the length determination function, and the obtained value of f (x) is the estimated display length corresponding to the target task, namely the display length of the progress bar. And then, the client displays the progress bar according to the display length, and displays the estimated execution finish time of the target task at the termination end point of the progress bar.
As shown in fig. 9, x may be in units of hours, and f (x) may be in units of decimeters. Assuming that the first execution time of the logistics task is 3 days and 5 hours, that is, 3 × 24+5 ═ 77 hours, when x is 77, (x) lg77 ≈ 1.886 decimeters and 18.86 centimeters, the corresponding estimated display length of the logistics task is 18.86 centimeters. The client of the e-commerce platform displays the progress bar according to the display length, namely the total length of the displayed progress bar is 18.86 centimeters, and the estimated execution finish time (14 days 14 at 23 days 6 months) of the logistics task is displayed at the termination end point of the progress bar.
It should be noted that, in the embodiment of the present disclosure, only the target task is taken as the logistics task after ordering the goods, for example, the target task may also be another task in practical application, and the client displays a method for displaying the execution progress of another task, which may refer to the method for displaying the execution progress of the logistics task by the client in the embodiment of the present disclosure.
To sum up, in the progress display method provided by the embodiment of the present disclosure, the client may display the pre-estimated mark point of the first subtask on the progress bar reflecting the execution progress of the target task according to the first execution duration of the first subtask, and a distance between the pre-estimated mark point and the starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask; the user can predict the completion time of the first subtask according to the distance between the predicted mark point and the starting mark point displayed on the progress bar. Therefore, the functions of the progress bar are enriched, and the progress display mode is enriched.
Fig. 10 is a schematic structural view illustrating a progress display device according to an exemplary embodiment. As shown in fig. 10, the progress display device 100 includes:
a determining module 1001, configured to determine a first subtask of a plurality of subtasks to be executed in a target task after an execution instruction for the target task is detected;
a first obtaining module 1002, configured to obtain a first execution duration of a first sub-task, where the first execution duration of the task is: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
the first display module 1003 is configured to display the estimated marking point of the first subtask on the progress bar reflecting the execution progress of the target task according to the first execution duration of the first subtask, where a distance between the estimated marking point of the subtask displayed on the progress bar and a starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask.
In summary, in the progress display device provided in the embodiment of the disclosure, the first display module may display the estimated mark point of the first subtask on the progress bar reflecting the execution progress of the target task according to the first execution duration of the first subtask, and a distance between the estimated mark point and the starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask; the user can predict the completion time of the first subtask according to the distance between the predicted mark point and the starting mark point displayed on the progress bar. Therefore, the functions of the progress bar are enriched, and the progress display mode is enriched.
Optionally, the first display module 1003 may be configured to:
obtaining a length determining function f (x) ═ k (x)/b, wherein the length determining function is a nonlinear function related to x, f (x) represents a display length corresponding to the subtask, x represents a first execution time length of the subtask, k (x) is an expression with x as a variable, and b is a ratio of k (x) to a preset display length when x is equal to the first execution time length of the target task;
inputting the first execution duration of the first subtask into a length determining function to obtain an estimated display length corresponding to the first subtask;
and displaying the estimated mark point of the first subtask on the progress bar according to the estimated display length corresponding to the first subtask, wherein the distance between the estimated mark point of the first subtask and the starting end point is equal to the estimated display length corresponding to the first subtask.
Optionally, the slope of the tangent line at each point on the graph of the length determining function is greater than zero, and the slope is inversely related to x.
Optionally, k (x) lg (x).
Optionally, the first obtaining module 1002 may be configured to:
acquiring the characteristics corresponding to the first subtask, wherein the characteristics corresponding to the first subtask include: features of the first subtask and all subtasks in the target task that were executed before the first subtask;
inputting the characteristics corresponding to the first subtask into a preset time length estimation model to obtain a first execution time length of the first subtask, wherein the time length estimation model comprises at least one function, and parameters in the at least one function are obtained by training according to a plurality of characteristic samples.
Fig. 11 is a schematic structural view illustrating another progress display device according to an exemplary embodiment. As shown in fig. 11, on the basis of fig. 10, the progress display device 100 may further include:
a second obtaining module 1004, configured to obtain a second execution duration of the first sub-task, where the second execution duration of the task is: the actual time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
the input module 1005 is configured to input the second execution duration of the first subtask into a length determination function, so as to obtain an actual display length corresponding to the first subtask;
the second display module 1006 is configured to display an actual mark point of the first subtask on the progress bar according to an actual display length corresponding to the first subtask;
if the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
Fig. 12 is a schematic structural view illustrating still another progress display device according to an exemplary embodiment. As shown in fig. 12, on the basis of fig. 11, the progress display device 100 may further include:
a third obtaining module 1007, configured to obtain an estimated execution completion time of the first subtask;
a third display module 1008, configured to display the estimated execution completion time of the first subtask at the estimated mark point of the first subtask on the progress bar;
a fourth obtaining module 1009, configured to obtain an actual execution completion time of the first sub-task;
the fourth display module 1010 is configured to display the actual execution completion time of the first subtask at the actual mark point of the first subtask on the progress bar.
In summary, in the progress display device provided in the embodiment of the disclosure, the first display module may display the estimated mark point of the first subtask on the progress bar reflecting the execution progress of the target task according to the first execution duration of the first subtask, and a distance between the estimated mark point and the starting end point of the progress bar is nonlinearly related to the first execution duration of the subtask; the user can predict the completion time of the first subtask according to the distance between the predicted mark point and the starting mark point displayed on the progress bar. Therefore, the functions of the progress bar are enriched, and the progress display mode is enriched.
Fig. 13 is a block diagram illustrating a progress display device according to an exemplary embodiment. Alternatively, the device 130 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 13, the apparatus 130 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the device 130, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the device 130. Examples of such data include instructions for any application or method operating on device 130, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1306 provides power to the various components of the device 130. The power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the devices 130.
The multimedia component 1308 includes a screen that provides an output interface between the device 130 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 130 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 130 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the device 130. For example, the sensor assembly 1314 may detect an open/closed state of the device 130, the relative positioning of components, such as a display and keypad of the device 130, the sensor assembly 1314 may also detect a change in the position of the device 130 or a component of the device 130, the presence or absence of user contact with the device 130, the orientation or acceleration/deceleration of the device 130, and a change in the temperature of the device 130. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the apparatus 130 and other devices in a wired or wireless manner. The device 130 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 130 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the apparatus 130 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processing component of device 130, enable device 130 to perform a progress display method, the method comprising:
after an execution instruction for a target task is detected, determining a first subtask in a plurality of subtasks to be executed in the target task;
acquiring a first execution duration of the first subtask, wherein the first execution duration of the task is as follows: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
and displaying the estimated marking point of the first subtask on a progress bar reflecting the execution progress of the target task according to the first execution time length of the first subtask, wherein the distance between the estimated marking point of the subtask displayed on the progress bar and the starting end point of the progress bar is nonlinearly related to the first execution time length of the subtask.
Optionally, the displaying, according to the first execution duration of the first subtask, the pre-estimated mark point of the first subtask on the progress bar reflecting the execution progress of the target task includes:
obtaining a length determination function f (x) ═ k (x)/b, wherein the length determination function is a nonlinear function about x, f (x) represents a display length corresponding to a subtask, x represents a first execution time length of the subtask, k (x) is an expression with x as a variable, and b is a ratio of k (x) to a preset display length when x is equal to the first execution time length of the target task;
inputting the first execution duration of the first subtask into the length determination function to obtain the estimated display length corresponding to the first subtask;
and displaying the pre-estimated mark point of the first subtask on the progress bar according to the pre-estimated display length corresponding to the first subtask, wherein the distance between the pre-estimated mark point of the first subtask and the starting end point is equal to the pre-estimated display length corresponding to the first subtask.
Optionally, the slope of the tangent line at each point on the graph of the length determining function is greater than zero, and the slope is inversely related to the x.
Optionally, k (x) lg (x).
Optionally, the obtaining the first execution duration of the first subtask includes:
acquiring the characteristics corresponding to the first subtask, wherein the characteristics corresponding to the first subtask include: features of the first subtask and all subtasks in the target task that were executed prior to the first subtask; inputting the characteristics corresponding to the first subtask into a preset duration estimation model to obtain a first execution duration of the first subtask, wherein the duration estimation model comprises at least one function, and parameters in the at least one function are obtained by training according to a plurality of characteristic samples.
Optionally, the method further includes:
acquiring a second execution duration of the first subtask, wherein the second execution duration of the task is as follows: the actual time length from the moment of detecting the execution instruction to the moment of finishing the task execution; inputting the second execution duration of the first subtask into the length determination function to obtain the actual display length corresponding to the first subtask; displaying the actual mark point of the first subtask on the progress bar according to the actual display length corresponding to the first subtask;
if the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual marking point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
Optionally, the method further includes:
acquiring the estimated execution finishing time of the first subtask; displaying the estimated execution finish time of the first subtask at the estimated marking point of the first subtask on the progress bar; acquiring the actual execution finishing time of the first subtask; and displaying the actual execution finish time of the first subtask at the actual mark point of the first subtask on the progress bar.
It should be noted that: in the schedule display device provided in the above embodiment, when displaying the schedule, only the division of the function modules is illustrated, and in practical applications, the function distribution may be completed by different function modules according to needs, that is, the internal structure of the schedule display device is divided into different function modules to complete all or part of the functions described above. In addition, the embodiment of the progress display device provided by the above embodiment and the embodiment of the progress display method belong to the same concept, and specific implementation processes thereof are detailed in the embodiment of the method and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
It should be noted that, the method embodiment provided in the embodiment of the present invention can be mutually referred to a corresponding apparatus embodiment, and the embodiment of the present invention does not limit this. The sequence of the steps of the method embodiments provided by the embodiments of the present invention can be appropriately adjusted, and the steps can be correspondingly increased or decreased according to the situation, and any method that can be easily conceived by those skilled in the art within the technical scope disclosed by the present invention shall be covered by the protection scope of the present invention, and therefore, the detailed description thereof shall not be repeated.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (12)

1. A progress display method, characterized in that the method comprises:
after an execution instruction for a target task is detected, determining a first subtask in a plurality of subtasks to be executed in the target task; the plurality of subtasks are sequentially executed, and the first subtask is any subtask to be executed in the process of sequentially executing the plurality of subtasks;
setting a progress bar reflecting the execution progress of the target task; the length of the progress bar is a preset display length, and the progress bar is used for displaying mark points reflecting the execution progress of each subtask in the plurality of subtasks;
acquiring a first execution duration of the first subtask, wherein the first execution duration of the task is as follows: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
obtaining a length determination function f (x) k (x)/b, wherein the length determination function is a non-linear function with respect to x, and a slope of a tangent line at each point on a graph of the length determination function is greater than zero, the slope being inversely related to x; the f (x) represents a display length corresponding to the subtask, the x represents a first execution time length of the subtask, the k (x) is an expression taking x as a variable, and the b is a ratio of the k (x) to the preset display length when the x is equal to the first execution time length of the target task;
inputting the first execution duration of the first subtask into the length determination function to obtain the estimated display length corresponding to the first subtask;
displaying the estimated mark point of the first subtask on the progress bar according to the estimated display length corresponding to the first subtask; and the distance between the pre-estimated marking point of the first subtask and the starting end point of the progress bar is equal to the pre-estimated display length corresponding to the first subtask.
2. The method of claim 1,
k(x)=lg(x)。
3. the method according to claim 1 or 2, wherein the obtaining the first execution time length of the first subtask comprises:
acquiring the characteristics corresponding to the first subtask, wherein the characteristics corresponding to the first subtask include: features of the first subtask and all subtasks in the target task that were executed prior to the first subtask;
inputting the characteristics corresponding to the first subtask into a preset duration estimation model to obtain a first execution duration of the first subtask, wherein the duration estimation model comprises at least one function, and parameters in the at least one function are obtained by training according to a plurality of characteristic samples.
4. The method of claim 3, further comprising:
acquiring a second execution duration of the first subtask, wherein the second execution duration of the task is as follows: the actual time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
inputting the second execution duration of the first subtask into the length determination function to obtain the actual display length corresponding to the first subtask;
displaying the actual mark point of the first subtask on the progress bar according to the actual display length corresponding to the first subtask;
if the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual marking point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
5. The method of claim 4, further comprising:
acquiring the estimated execution finishing time of the first subtask;
displaying the estimated execution finish time of the first subtask at the estimated marking point of the first subtask on the progress bar;
acquiring the actual execution finishing time of the first subtask;
and displaying the actual execution finish time of the first subtask at the actual mark point of the first subtask on the progress bar.
6. A progress display device, characterized in that the progress display device comprises:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining a first subtask in a plurality of subtasks to be executed in a target task after an execution instruction aiming at the target task is detected; the plurality of subtasks are sequentially executed, and the first subtask is any subtask to be executed in the process of sequentially executing the plurality of subtasks;
a module for setting a progress bar reflecting the execution progress of the target task; the length of the progress bar is a preset display length, and the progress bar is used for displaying mark points reflecting the execution progress of each subtask in the plurality of subtasks;
a first obtaining module, configured to obtain a first execution duration of the first sub-task, where the first execution duration of the task is: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
a first display module, configured to obtain a length determination function f (x) ═ k (x)/b, where the length determination function is a non-linear function with respect to x, and a slope of a tangent line at each point on a graph of the length determination function is greater than zero, and the slope is inversely related to x; the f (x) represents a display length corresponding to the subtask, the x represents a first execution time length of the subtask, the k (x) is an expression taking x as a variable, and the b is a ratio of the k (x) to the preset display length when the x is equal to the first execution time length of the target task; inputting the first execution duration of the first subtask into the length determination function to obtain the estimated display length corresponding to the first subtask; displaying the estimated mark point of the first subtask on the progress bar according to the estimated display length corresponding to the first subtask; and the distance between the pre-estimated marking point of the first subtask and the starting end point of the progress bar is equal to the pre-estimated display length corresponding to the first subtask.
7. The progress display device according to claim 6,
k(x)=lg(x)。
8. the progress display device according to claim 6 or 7, wherein the first obtaining module is configured to:
acquiring the characteristics corresponding to the first subtask, wherein the characteristics corresponding to the first subtask include: features of the first subtask and all subtasks in the target task that were executed prior to the first subtask;
inputting the characteristics corresponding to the first subtask into a preset duration estimation model to obtain a first execution duration of the first subtask, wherein the duration estimation model comprises at least one function, and parameters in the at least one function are obtained by training according to a plurality of characteristic samples.
9. The progress display device according to claim 8, further comprising:
a second obtaining module, configured to obtain a second execution duration of the first sub-task, where the second execution duration of the task is: the actual time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
the input module is used for inputting the second execution duration of the first subtask into the length determination function to obtain the actual display length corresponding to the first subtask;
the second display module is used for displaying the actual mark point of the first subtask on the progress bar according to the actual display length corresponding to the first subtask;
if the actual display length corresponding to the first subtask is smaller than the preset display length, the distance between the actual marking point of the first subtask and the starting endpoint is equal to the actual display length corresponding to the first subtask; and if the actual display length corresponding to the first subtask is greater than or equal to the preset display length, the distance between the actual mark point of the first subtask and the starting endpoint is equal to the preset display length.
10. The progress display device according to claim 9, further comprising:
the third acquisition module is used for acquiring the estimated execution finish time of the first subtask;
the third display module is used for displaying the estimated execution finish time of the first subtask at the estimated marking point of the first subtask on the progress bar;
a fourth obtaining module, configured to obtain an actual execution completion time of the first subtask;
and the fourth display module is used for displaying the actual execution finishing time of the first subtask at the actual mark point of the first subtask on the progress bar.
11. A progress display device, characterized in that the progress display device comprises:
a processing component;
a memory for storing executable instructions of the processing component;
wherein the processing component is configured to:
after an execution instruction for a target task is detected, determining a first subtask in a plurality of subtasks to be executed in the target task; the plurality of subtasks are sequentially executed, and the first subtask is any subtask to be executed in the process of sequentially executing the plurality of subtasks;
setting a progress bar reflecting the execution progress of the target task; the length of the progress bar is a preset display length, and the progress bar is used for displaying mark points reflecting the execution progress of each subtask in the plurality of subtasks;
acquiring a first execution duration of the first subtask, wherein the first execution duration of the task is as follows: the estimated time length from the moment of detecting the execution instruction to the moment of finishing the task execution;
obtaining a length determination function f (x) k (x)/b, wherein the length determination function is a non-linear function with respect to x, and a slope of a tangent line at each point on a graph of the length determination function is greater than zero, the slope being inversely related to x; the f (x) represents a display length corresponding to the subtask, the x represents a first execution time length of the subtask, the k (x) is an expression taking x as a variable, and the b is a ratio of the k (x) to the preset display length when the x is equal to the first execution time length of the target task;
inputting the first execution duration of the first subtask into the length determination function to obtain the estimated display length corresponding to the first subtask;
displaying the estimated mark point of the first subtask on the progress bar according to the estimated display length corresponding to the first subtask; and the distance between the pre-estimated marking point of the first subtask and the starting end point of the progress bar is equal to the pre-estimated display length corresponding to the first subtask.
12. A readable storage medium having instructions stored therein,
the instructions of the readable storage medium, when executed on a processing component, cause the processing component to perform the progress display method of any of claims 1 to 5.
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 CN107705069A (en) 2018-02-16
CN107705069B true 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)

Families Citing this family (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
CN111506382B (en) * 2020-04-26 2022-11-04 网易(杭州)网络有限公司 Progress bar curve determination method and device, storage medium and electronic equipment

Citations (9)

* 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
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
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
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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8156342B2 (en) * 2007-09-21 2012-04-10 Fuji Xerox Co., Ltd Progress indicators to encourage more secure behaviors
US9354797B2 (en) * 2013-01-14 2016-05-31 Lenovo (Beijing) Co., Ltd. Progress adjustment method and electronic device
CN104123214B (en) * 2013-04-26 2017-07-14 阿里巴巴集团控股有限公司 The method and system of tasks carrying progress metrics and displaying based on runtime data
CN105242923B (en) * 2015-09-25 2019-01-22 努比亚技术有限公司 The display control unit and method of data processing progress
US10289281B2 (en) * 2015-11-30 2019-05-14 International Business Machines Corporation Progress bar updated based on crowd sourced statistics
CN106383704B (en) * 2016-08-31 2021-01-15 腾讯科技(深圳)有限公司 Progress bar data processing method and device
CN106412047A (en) * 2016-09-23 2017-02-15 北京小米移动软件有限公司 Notification message prompting methods and apparatuses
CN106775315A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 Progress bar display methods and device

Patent Citations (9)

* 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
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
CN105224643A (en) * 2015-09-28 2016-01-06 小米科技有限责任公司 Logistics information querying method and device
CN105824639A (en) * 2016-03-17 2016-08-03 百度在线网络技术(北京)有限公司 Progress estimating method and progress estimating device
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

Also Published As

Publication number Publication date
CN107705069A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107705069B (en) Progress display method and device
US9916750B2 (en) Method and device for reminding based on alarm clock
US20190361581A1 (en) Method, terminal and computer-readable storage medium device for displaying interface of application program
CN107622367B (en) Progress display method and device
US10248855B2 (en) Method and apparatus for identifying gesture
TW202030648A (en) Method, device and electronic apparatus for target object processing and storage medium thereof
EP3089436A1 (en) Methods and devices for calling based on cloud card
US20220277204A1 (en) Model training method and apparatus for information recommendation, electronic device and medium
CN109543069B (en) Video recommendation method and device and computer-readable storage medium
US11521172B2 (en) Method and apparatus for scheduling item, and computer-readable storage medium
CN109358788B (en) Interface display method and device and terminal
US11397596B2 (en) Method and device for controlling pop-up window, electronic device, and storage medium
EP3425533A1 (en) Displaying page
CN106528247B (en) Data refreshing method and device
US20170169467A1 (en) Information push method and device
CN115512116B (en) Image segmentation model optimization method and device, electronic equipment and readable storage medium
CN108012258B (en) Data traffic management method and device for virtual SIM card, terminal and server
CN112115321A (en) Training method and device of content recommendation model, electronic equipment and storage medium
CN113870195A (en) Target map detection model training and map detection method and device
CN108762944B (en) Processing method, device, equipment and medium of business system
CN113761275A (en) Video preview moving picture generation method, device and equipment and readable storage medium
CN114780870B (en) Order quantity prediction method, system, device, server, terminal and storage medium
CN110909075B (en) Data synchronization method and device, electronic equipment and storage medium
CN112860771A (en) Architecture difference acquisition method and system
CN114594862A (en) Recommendation method and device and electronic equipment

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