CN107239386B - Progress display method and device - Google Patents

Progress display method and device Download PDF

Info

Publication number
CN107239386B
CN107239386B CN201710418115.6A CN201710418115A CN107239386B CN 107239386 B CN107239386 B CN 107239386B CN 201710418115 A CN201710418115 A CN 201710418115A CN 107239386 B CN107239386 B CN 107239386B
Authority
CN
China
Prior art keywords
progress
execution
execution progress
function
value
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
CN201710418115.6A
Other languages
Chinese (zh)
Other versions
CN107239386A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710418115.6A priority Critical patent/CN107239386B/en
Publication of CN107239386A publication Critical patent/CN107239386A/en
Application granted granted Critical
Publication of CN107239386B publication Critical patent/CN107239386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

In an embodiment of the present invention, a progress display method is provided, including: when a first task is executed, displaying a first stage of the execution progress of the first task according to a first function; when the execution progress reaches a first threshold value, displaying a second stage of the execution progress according to a second function; in the scheme, a first stage of execution progress is presented firstly, and when the execution progress reaches a first threshold value, a second stage of execution progress is further presented, namely, the execution progress is presented, the execution progress presented to a user is changed from the first stage to the second stage, the illusion that the application program is blocked is not generated for the user, so that the user can generate confidence of continuously waiting until the task is executed, and the defect that the user turns off or unloads the application before the task is executed is avoided.

Description

Progress display method and device
Technical Field
The embodiment of the invention relates to the field of computer software, in particular to a progress display method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the rapid development of internet technology, the variety of applications is more and more abundant, and in the process of operating an Application, it takes time for the operation to be completely responded, for example, it takes several seconds from the time when a user clicks an APP icon to the time when the APP icon is completely presented, or when a certain function of the APP is opened, it may also take several seconds to open the process; or download a file, or load a multimedia resource, the download or load process takes several minutes.
In the prior art, for the situation that the real task progress can be obtained in the task execution process, the real progress can be displayed and used for prompting a user of the task execution progress, but the real progress cannot be obtained in some occasions. For situations where the real progress cannot be obtained and some situations where the real progress can be obtained, the prior art can select to show the virtual progress for reducing anxiety of the user when waiting; for example, the following methods are mainly adopted to display the progress in the process of waiting for the operation to be completely responded:
one is to adopt a control of ' infinite loop ', infinitely load the progress, as shown in fig. 1A, the other is to adopt a control of ' infinite loop rolling ', infinitely roll the progress circle, as shown in fig. 1B, but neither of the above two methods displays the progress of task execution, but displays the animation of ' loop reciprocation ', easily allows the user to generate an illusion that the application program is blocked ', and if the user waits for a long time, the user easily loses confidence, thereby possibly closing the current task, affecting the success rate of task completion, and further, the user may also uninstall the application program.
Disclosure of Invention
The above method of displaying progress may give the user an illusion that the application is stuck, so that the user may close the current task, affecting the success rate of task completion, and further, the user may uninstall the application, which is a very annoying process.
For this reason, an improved progress display method is highly desired so as to solve the above-mentioned drawbacks.
In a first aspect of an embodiment of the present invention, there is provided a progress display method including:
when a first task is executed, displaying a first stage of the execution progress of the first task according to a first function;
and when the execution progress reaches a first threshold value, displaying a second stage of the execution progress according to a second function.
In one embodiment, according to the method of the foregoing embodiment of the present invention, a rate of change of the execution progress in a period of time of a first preset duration before the execution progress reaches the first threshold is smaller than a rate of change of the execution progress in a period of time of a second preset duration after the execution progress reaches the first threshold.
In some embodiments, the method according to any of the above embodiments of the invention, further comprising:
and when the execution progress reaches a second threshold value, amplifying and displaying the displayed progress value.
In some embodiments, according to the method of any one of the above embodiments of the present invention, the displayed progress value retains m decimal places, and m is an integer greater than 0.
In some embodiments, the method according to any of the above embodiments of the invention, further comprising:
and when the execution progress reaches a third threshold, displaying the first type of statement, wherein the third threshold is greater than or equal to the second threshold.
In some embodiments, according to the method of any one of the above embodiments of the present invention, the function value of the second function is infinitely close to 100% over time.
In some embodiments, according to the method of any of the above embodiments of the present invention, the second function is the same function as the first function.
In some embodiments, according to the method of any of the above embodiments of the present invention, the second function is at least one of an exponential function, a power function, and a logarithmic function.
In some embodiments, according to the method of any one of the above embodiments of the present invention, the execution schedule is a virtual execution schedule.
In some embodiments, according to the method of any one of the above embodiments of the present invention, when the virtual execution progress reaches the first threshold, according to historical statistical data or prediction data of a preset prediction model, an actual execution progress of a preset proportion of users can reach the first threshold.
In some embodiments, the method according to any of the above embodiments of the invention, further comprising:
and when an instruction for indicating that the first task execution is completed is received, adjusting the virtual execution progress to 100%.
In some embodiments, according to the method of any one of the above embodiments of the present invention, a time taken for the virtual execution progress to change from 0 to a fourth threshold is less than or equal to a third preset time period.
In a second aspect of embodiments of the present invention, there is provided a progress display device including:
an execution unit for executing a first task;
the display unit is used for displaying a first stage of the execution progress of the first task according to a first function when the execution unit executes the first task;
the display unit is further configured to display a second stage of the execution progress according to a second function when the execution progress reaches a first threshold.
In one embodiment, according to the apparatus of the foregoing embodiment of the present invention, a rate of change of the execution progress in a period of time, which is a first preset time period before the execution progress reaches the first threshold, is smaller than a rate of change of the execution progress in a period of time, which is a second preset time period after the execution progress reaches the first threshold.
In some embodiments, the apparatus according to any one of the above embodiments of the present invention, further includes an enlarging unit configured to enlarge the displayed progress value when the execution progress reaches a second threshold.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, the displayed progress value retains m decimal places, and m is an integer greater than 0.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, the display unit is further configured to display the first category of sentences when the execution progress reaches a third threshold, where the third threshold is greater than or equal to the second threshold.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, the function value of the second function is infinitely close to 100% over time.
In some embodiments, according to the apparatus of any of the above embodiments of the present invention, the second function is the same function as the first function.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, the second function is at least one of an exponential function, a power function and a logarithmic function.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, the execution schedule is a virtual execution schedule.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, when the virtual execution progress reaches the first threshold, a preset proportion of actual execution progress of the user can reach the first threshold according to historical statistical data or prediction data of a preset prediction model.
In some embodiments, the apparatus according to any of the above embodiments of the present invention, further comprising a receiving unit and an adjusting unit, wherein:
the receiving unit is used for receiving an instruction for indicating that the first task execution is completed;
the adjusting unit is configured to adjust the virtual execution progress to 100% when the receiving unit receives an instruction indicating that the execution of the first task has been completed.
In some embodiments, according to the apparatus of any one of the above embodiments of the present invention, a time taken for the virtual execution progress to change from 0 to a fourth threshold is less than or equal to a third preset time period.
In a third aspect of embodiments of the present invention, there is provided a progress display device including:
one or more processors;
a memory;
a program stored in the memory, which when executed by the one or more processors, causes the processors to perform the method as described above.
In a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium storing a program which, when executed by a processor, causes the processor to perform the method as described above
In an embodiment of the present invention, a progress display method is provided, including: when a first task is executed, displaying a first stage of the execution progress of the first task according to a first function; when the execution progress reaches a first threshold value, displaying a second stage of the execution progress according to a second function; in the scheme, a first stage of execution progress is presented firstly, and when the execution progress reaches a first threshold value, a second stage of execution progress is further presented, namely, the execution progress is presented, and the execution progress presented to a user is changed from the first stage to the second stage, so that the illusion that the application program is blocked is not generated for the user, the user can generate confidence of continuously waiting until the task is executed, and the defect that the user is turned off or unloads the application before the task is executed is avoided.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1A schematically illustrates a prior art schematic of a progress display;
FIG. 1B schematically illustrates another prior art schematic of a progress display;
FIG. 2A schematically illustrates a flow diagram of a progress display according to an embodiment of the invention;
FIG. 2B schematically shows a schematic view of a first curve and a second curve according to an embodiment of the invention;
FIG. 2C schematically illustrates a diagram of an enlargement progress value according to an embodiment of the present invention;
FIG. 2D schematically shows a schematic diagram of a first class of statements according to an embodiment of the present invention;
FIG. 2E schematically illustrates a diagram of execution progress according to an embodiment of the invention;
FIG. 2F schematically illustrates a schematic diagram of an asymptotic curve according to an embodiment of the invention;
fig. 3 schematically shows another schematic view of a progress display device according to an embodiment of the present invention;
fig. 4 schematically shows another schematic view of a progress display device according to an embodiment of the present invention;
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that, in order to avoid giving the user an illusion that the application program is blocked, in the process of executing the task, the execution progress can be divided into two stages to be displayed, the first stage is presented when the execution task starts, the second stage is presented when the execution progress reaches a first threshold value, wherein the first stage is related to a first function, the second stage is related to a second function, and the functions of the two stages are different, so that the presented first stage and the presented second stage are different, therefore, the user can sense the change of the execution progress of the task, the illusion that the application program is blocked is not given to the user, the user can give confidence of continuing waiting until the task is executed, and the defect that the user turns off or unloads the application program before the task is executed is avoided.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
The example of loading multimedia resources by user instructions is described. When a user clicks a button for playing multimedia resources, a first stage is displayed according to an exponential function, and when the execution progress of the task reaches 90%, a second stage is displayed according to a power function, wherein the power function is close to 100% in wireless, and the power function is different from the exponential function. Since the first stage is displayed according to the exponential function and the second stage is displayed according to the exponential function, the displayed first stage and second stage are different, the user can feel the change of the execution progress and does not generate the illusion that the application program is blocked, so that the user can generate confidence of continuously waiting until the multimedia resource is loaded and the user is prevented from turning off the task before the task is completed.
Exemplary method
A method for progress display according to an exemplary embodiment of the present invention is described below with reference to fig. 2 in conjunction with the above application scenarios. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Referring to fig. 2, an embodiment of the invention provides a method 20 for displaying a progress, including the following steps:
step 200: when a first task is executed, displaying a first stage of the execution progress of the first task according to a first function;
step 210: and when the execution progress reaches a first threshold value, displaying a second stage of the execution progress according to a second function.
In the embodiment of the invention, the first task comprises at least one of application program starting, file downloading and data loading, for example, trusted starting and downloading of songs in internet-accessible cloud music. Of course, other forms are possible, and are not specifically limited herein.
In order to make the user feel the change of the execution progress obviously, optionally, the change rate of the execution progress in the time period of the first preset time period before the execution progress reaches the first threshold is smaller than the change rate of the execution progress in the time period of the second preset time period after the execution progress reaches the first threshold.
As shown in fig. 2B, the curve before t changes more gradually, the curve after t changes more steeply than the curve before t, and the user can clearly feel the rate of change of the execution progress in the time period of the first preset time period before t and the rate of change of the execution progress in the time period of the first preset time period after t, so that the user can determine that the task is not "stuck" during the process.
When the execution progress reaches a certain degree, the execution progress may become very slow, for example, the execution progress may change at a rate of 10% or more per second before the execution progress reaches 50%, the execution progress may change at a rate of 3% or less per second when the execution progress reaches 50% or more and does not reach 90%, the execution progress may change at a rate of 1% or less per second when the execution progress reaches 90%, the speed is slow, and at this time, in order for the user to feel the change of the execution progress when the execution progress reaches 90% or more, further, when the execution progress reaches a second threshold, the displayed progress value is displayed in an enlarged manner. For example, when the execution progress reaches 90%, the displayed progress value is displayed enlarged by 1 time as shown in fig. 2C.
When the execution progress is closer to 100%, the progress speed of the execution progress becomes slow, so that the user cannot perceive that the execution progress still advances, in the embodiment of the present invention, a progress value may also be displayed, and the user may judge that the execution progress is still running through the progress value, so as to further enable the user to feel the change of the execution progress, the displayed progress value retains m decimal places, where m is an integer greater than 0, as shown in fig. 2C and 92.9%, so that the user may feel the change of the execution progress between two integers, such as the change of a 92% to 93% process, and avoid that the user mistakenly thinks that the application is "stuck" when the execution progress is between the 92% to 93% process.
In order to make the user feel the change of the execution progress, the encouraging statement matched with different progress values can be displayed, for example, the encouraging statement "please patience and wait" is displayed when the execution progress is 90% -92%, and the encouraging statement "finally sprint" is displayed when the execution progress is 92% -94%, as shown in fig. 2D. Therefore, in the embodiment of the present invention, when the execution progress reaches a third threshold, the first category of statements are displayed, and the third threshold is greater than or equal to the second threshold. Wherein, optionally, the first type of statement is an encouraging statement.
The progress value displayed is enlarged and displayed when the execution progress reaches the second threshold, and in order to further make the user feel the change of the execution progress, the progress value may be enlarged further on the basis of the previous enlargement, for example, the progress value is enlarged by 1 time when the execution progress reaches 90%, and the progress value is enlarged by 1.5 times or 2 times when the execution progress reaches 95%. At this time, the reserved decimal number of the progress value may also be increased, for example, n-bit decimal is reserved, where n is an integer greater than m. Further, a statement may also be displayed that lets the user know that the execution progress is about to reach 100% immediately, such as "leave it all at once", as shown in FIG. 2E.
In this embodiment of the present invention, optionally, the execution progress is a virtual execution progress, that is, the displayed progress value is not an actual value of the progress value, for example, the execution progress is 60%, but the virtual execution progress is 61%.
In this case, in order to avoid the defect that the displayed progress value is already 100% but is not actually loaded, so that the user perceives that the displayed progress value is not the actual progress value, in the embodiment of the present invention, optionally, the function value of the second function is infinitely close to 100% over time, for example, the second function is an asymptotic curve, as shown in fig. 2E, so that, since the second stage displayed according to the second curve never reaches 100%, the displayed progress value is already 100% but is not actually loaded.
In this embodiment of the present invention, optionally, the second function is at least one of an exponential function, a power function and a logarithmic function, for example, f (x) -1-axWherein a is a constant from 0 to 1 (excluding 0 and 1). However, no matter which function the second function is, the second function needs to have a characteristic that a function value approaches a straight line indefinitely.
In this embodiment of the present invention, optionally, the second function and the first function are the same function, in this case, the first threshold in step 210 may be any value of the execution progress before the task is completed, as long as the value is in the interval range of 0% to 100% (including 0% and 100%), and no specific limitation is required. For example, it may be 10%, 20%, 30%, or 70%, 90%, or the like.
In the embodiment of the present invention, in order to avoid a defect that the displayed execution progress is not in accordance with the actual execution progress seriously, when the displayed execution progress reaches a first threshold, it is required to ensure that the actual execution progress of a certain proportion of users reaches the first threshold, and therefore, in the embodiment of the present invention, when the virtual execution progress reaches the first threshold, the actual execution progress of a preset proportion of users can reach the first threshold according to historical statistical data or prediction data of a preset prediction model. For example, when the virtual execution progress reaches 70%, the actual execution progress of 80% of users can reach 70%.
In this embodiment of the present invention, when the second function is an asymptotic curve, since the second stage displayed according to the second curve never reaches 100%, it may occur that the actual execution progress of the task is already completed, but the displayed execution progress is not yet completed, and further the user may perceive that the displayed execution progress is a virtual execution progress, and to avoid the foregoing, the method further includes:
and when an instruction for indicating that the first task execution is completed is received, adjusting the virtual execution progress to 100%. That is, when the actual progress of the task is completed, an instruction is issued, and the device adjusts the execution progress of the display to 100% according to the received instruction.
Since the virtual execution progress is generated according to the setting of the user and is not the actual execution progress, in order to avoid a serious discrepancy between the virtual execution progress and the actual execution progress, in the embodiment of the present invention, optionally, the occupied time may be set to be less than or equal to a third preset time length when the virtual execution progress is changed from 0 to a fourth threshold. Wherein, the third preset time period may be 60s, and the fourth threshold may be 90%.
Exemplary devices
Having described the method of the exemplary embodiment of the present invention, next, to the apparatus for progress display of the exemplary embodiment of the present invention, the apparatus includes:
an execution unit for executing a first task;
the display unit is used for displaying a first stage of the execution progress of the first task according to a first function when the execution unit executes the first task;
the display unit is further configured to display a second stage of the execution progress according to a second function when the execution progress reaches a first threshold.
In this embodiment of the present invention, optionally, a change rate of the execution progress in a time period of a first preset time period before the execution progress reaches the first threshold is smaller than a change rate of the execution progress in a time period of a second preset time period after the execution progress reaches the first threshold.
In the embodiment of the present invention, the apparatus further includes an enlarging unit, configured to enlarge the displayed progress value when the execution progress reaches a second threshold.
In the embodiment of the present invention, optionally, m decimal places are reserved for the displayed progress value, and m is an integer greater than 0.
In this embodiment of the present invention, the display unit is further configured to display the first category of sentences when the execution progress reaches a third threshold, where the third threshold is greater than or equal to the second threshold.
In an embodiment of the present invention, optionally, the function value of the second function is infinitely close to 100% along with the infinite extension of time.
In this embodiment of the present invention, optionally, the second function and the first function are the same function.
In this embodiment of the present invention, optionally, the second function is at least one of an exponential function, a power function and a logarithmic function.
In the embodiment of the present invention, optionally, the execution progress is a virtual execution progress.
In the embodiment of the present invention, optionally, when the virtual execution progress reaches the first threshold, according to historical statistical data or prediction data of a preset prediction model, the actual execution progress of a user in a preset proportion can reach the first threshold.
In the embodiment of the present invention, further, the apparatus further includes a receiving unit and an adjusting unit, where:
the receiving unit is used for receiving an instruction for indicating that the first task execution is completed;
the adjusting unit is configured to adjust the virtual execution progress to 100% when the receiving unit receives an instruction indicating that the execution of the first task has been completed.
In this embodiment of the present invention, optionally, a time occupied by the virtual execution progress when the virtual execution progress is changed from 0 to a fourth threshold is less than or equal to a third preset time length.
Exemplary device
Having described the method and apparatus of an exemplary embodiment of the present invention, an apparatus for progress display according to another exemplary embodiment of the present invention will be described next.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, the apparatus of the present invention may comprise at least one or more processors, and at least one memory. Wherein the memory stores a program that, when executed by the processor, causes the processor to perform the various steps described in this specification.
An apparatus for progress display according to this embodiment of the present invention is described below with reference to fig. 3. The apparatus 40 shown in fig. 3 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 3, the apparatus 40 is in the form of a general purpose computing device, including but not limited to: at least one processor 410, at least one memory 420, and a bus 460 connecting the various system components.
Bus 460 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
The memory 420 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)421 and/or cache memory 422, and may further include Read Only Memory (ROM) 423.
Memory 420 may also include program modules 424, such program modules 424 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The apparatus 40 may also communicate with one or more external devices 10 (e.g., keyboard, pointing device, bluetooth device, etc.), as well as with one or more other user terminals. Such communication may be via an input/output (I/O) interface 440 and displayed on a display unit 430. Also, the device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through the network adapter 450. As shown, network adapter 450 communicates with other modules in device 40 via bus 460. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the apparatus 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Exemplary program product
In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code for causing a processor to perform the above described method when the program code is executed by the processor.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 4, a program product 50 according to an embodiment of the present invention is depicted, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (5)

1. A progress display method includes:
when a first task is executed, displaying a first stage of the execution progress of the first task according to a first function;
when the execution progress reaches a first threshold value, displaying a second stage of the execution progress according to a second function;
the execution progress is a virtual execution progress, and the displayed progress value is not the actual value of the progress value; the function value of the second function is infinitely close to 100% over time; when an instruction for indicating that the first task execution is completed is received, adjusting the virtual execution progress to 100%;
the change rate of the execution progress in a time period of a first preset time length before the execution progress reaches the first threshold value is smaller than the change rate of the execution progress in a time period of a second preset time length after the execution progress reaches the first threshold value;
the progress value is gradually enlarged along with the increase of the virtual execution progress in the second stage, or the number of digits after the decimal point of the progress value is increased along with the increase of the virtual execution progress in the second stage;
wherein the first function is an exponential function and the second function is a power function.
2. A progress display device comprising:
an execution unit for executing a first task;
the display unit is used for displaying a first stage of the execution progress of the first task according to a first function when the execution unit executes the first task;
the display unit is further used for displaying a second stage of the execution progress according to a second function when the execution progress reaches a first threshold;
the execution progress is a virtual execution progress, and the displayed progress value is not the actual value of the progress value; the function value of the second function is infinitely close to 100% over time;
the apparatus further comprises a receiving unit and an adjusting unit, wherein: the receiving unit is used for receiving an instruction for indicating that the first task execution is completed; the adjusting unit is used for adjusting the virtual execution progress to 100% when the receiving unit receives an instruction for indicating that the first task execution is completed;
the change rate of the execution progress in a time period of a first preset time length before the execution progress reaches the first threshold value is smaller than the change rate of the execution progress in a time period of a second preset time length after the execution progress reaches the first threshold value;
wherein, the digit after the progress value decimal point is increased along with the increase of the virtual execution progress in the second stage, or the digit after the progress value decimal point is increased along with the increase of the virtual execution progress in the second stage;
wherein the first function is an exponential function and the second function is a power function.
3. The apparatus of claim 2, wherein a time taken for the virtual execution progress to change from 0 to the fourth threshold is less than or equal to a third preset duration.
4. A progress display device comprising:
one or more processors;
a memory;
a program stored in the memory, which when executed by the one or more processors, causes the processors to perform the method of claim 1.
5. A computer-readable storage medium storing a program which, when executed by a processor, causes the processor to perform the method of claim 1.
CN201710418115.6A 2017-06-06 2017-06-06 Progress display method and device Active CN107239386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710418115.6A CN107239386B (en) 2017-06-06 2017-06-06 Progress display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710418115.6A CN107239386B (en) 2017-06-06 2017-06-06 Progress display method and device

Publications (2)

Publication Number Publication Date
CN107239386A CN107239386A (en) 2017-10-10
CN107239386B true CN107239386B (en) 2022-03-29

Family

ID=59985817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710418115.6A Active CN107239386B (en) 2017-06-06 2017-06-06 Progress display method and device

Country Status (1)

Country Link
CN (1) CN107239386B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275816B (en) * 2018-03-15 2022-11-11 苏宁易购集团股份有限公司 Progress bar display control method and device and computer readable storage medium
CN110609735B (en) * 2018-06-15 2023-07-18 伊姆西Ip控股有限责任公司 Task management method, device and computer program product
CN109828826B (en) * 2019-01-10 2021-11-09 新华三云计算技术有限公司 Task progress polling method, device and system
CN111818109B (en) * 2019-04-10 2022-09-23 腾讯科技(深圳)有限公司 Progress display method and device, computer readable storage medium and computer equipment
CN111324404B (en) * 2020-01-20 2023-11-24 北京有竹居网络技术有限公司 Information acquisition progress display method and device, electronic equipment and readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199643A (en) * 2014-08-08 2014-12-10 可牛网络技术(北京)有限公司 Progress bar loading control method and device and electronic equipment
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778055B (en) * 2014-01-15 2020-11-06 腾讯科技(深圳)有限公司 Method and device for displaying progress bar

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199643A (en) * 2014-08-08 2014-12-10 可牛网络技术(北京)有限公司 Progress bar loading control method and device and electronic equipment
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

Also Published As

Publication number Publication date
CN107239386A (en) 2017-10-10

Similar Documents

Publication Publication Date Title
CN107239386B (en) Progress display method and device
TWI601128B (en) Computer-implemented method and system of speech recognition for context switching
CN106687922B (en) Parametric inertia and API
WO2018157850A1 (en) Multi-thread segmented downloading method, device, client device, electronic device and storage medium
US9772861B2 (en) Accessing operating system elements via a tag cloud
CN112383817B (en) Volume adjusting method and device
CN111263175A (en) Interaction control method and device for live broadcast platform, storage medium and electronic equipment
CN111111201B (en) Skill creation method, device, server and medium based on game
CN110018765A (en) Page display method, device, terminal and storage medium
US20130226991A1 (en) Ensuring availability and parameter format of url scheme commands
CN107203425B (en) Switching method and device of light application and electronic device
CN114327685B (en) Method and device for optimizing running speed of applet
US10761717B2 (en) Controlling application launch
US9172343B2 (en) Volume adjustment based on user-defined curve
CN112445588A (en) Application task processing method, device and equipment and readable storage medium
WO2023246478A1 (en) Vehicle application scenario processing method and apparatus, device, and storage medium
US10437416B2 (en) Personalized launch states for software applications
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
US9952914B2 (en) Integrated parameter control with persistence indication
US20110143739A1 (en) Methods and Apparatus for Wireless Phone Optimizations of Battery Life, Web Page Reloads, User Input, User Time, Bandwidth Use and/or Application State Retention
CN113342427B (en) Program control method and device
US20230245656A1 (en) Electronic apparatus and control method thereof
CN112256837B (en) Semantic parsing method and device
CN114979471A (en) Interface display method and device, electronic equipment and computer readable storage medium
CN116204166A (en) Program configuration file switching 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