CN102141953A - Method and device for showing progress bar - Google Patents

Method and device for showing progress bar Download PDF

Info

Publication number
CN102141953A
CN102141953A CN201110082742XA CN201110082742A CN102141953A CN 102141953 A CN102141953 A CN 102141953A CN 201110082742X A CN201110082742X A CN 201110082742XA CN 201110082742 A CN201110082742 A CN 201110082742A CN 102141953 A CN102141953 A CN 102141953A
Authority
CN
China
Prior art keywords
uniform velocity
task
progress bar
deadline
velocity interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110082742XA
Other languages
Chinese (zh)
Other versions
CN102141953B (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 Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Qizhi Software Beijing 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 Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN 201110082742 priority Critical patent/CN102141953B/en
Priority to CN201310413024.5A priority patent/CN103530145B/en
Priority to CN201310412837.2A priority patent/CN103488555B/en
Publication of CN102141953A publication Critical patent/CN102141953A/en
Application granted granted Critical
Publication of CN102141953B publication Critical patent/CN102141953B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for showing a progress bar. The method comprises the following steps of: calculating a finish time of a task; setting a constant-speed region in the progress bar corresponding to the task, wherein the length of the constant-speed region is over half the total length of the progress bar; and controlling the progress bar to move forward at a constant speed in the constant-speed region according to the finish time of the task. By the method, the progress bar can move forward smoothly at the constant speed, so the problems that the progress bar has to wait for the finish of a subtask and stops moving forward, and the progress bar moves forward alternatively between slow and fast under most conditions can be solved.

Description

A kind of exhibiting method of progress bar and device
Technical field
The present invention relates to the technical field that progress bar is handled, particularly relate to a kind of exhibiting method of progress bar and a kind of demonstration device of progress bar.
Background technology
Progress bar is a computing machine when handling file, and is real-time, with the speed of picture form display process file, completeness, residue is not finished the size of file and may be needed the processing time, in various computer softwares, often adopt progress bar to express certain task executions process.Progress bar generally shows with the rectangle strip, has powerful connections and prospect.The original state background has certain length, and prospect is since 0 or increase length less than certain value of background length, and the same with background when long when rising to, the expression task is finished.
The existing progress bar scheme of advancing generally is impartial or unequal being assigned in the subtask with progress bar, whenever finish a subtask, progress bar increases the number percent of this subtask correspondence forward, finishes up to whole task, and progress bar rises to the length the same with background and represents that task finishes.Progress bar with xcopy is presented as example, at a current batch file, at first obtains the quantity count of file, and the scope that ingoing silver is set then is 0 to count, whenever finishes a file, and is just further forward.
Yet this existing progress bar represents scheme and has following two problems in practice:
The first, when running into certain subtask and do not finish, if corresponding progress is not exported in the subtask, progress bar can stagnate so, the sensation of blocking to the user.
The second, when giving each subtask allocated length, if unreasonable distribution can cause the process of the advancing speed of progress bar inconsistent, sometimes fast and sometimes slow.
Therefore, need the urgent technical matters that solves of those skilled in the art to be exactly at present: the scheme that represents that proposes a kind of progress bar, in order to allow progress bar at the uniform velocity, advance smoothly, solve progress bar in the process of advancing, occur suspending the problem of advancing when finish the subtask because of waiting, and in most cases, the progress bar sometimes fast and sometimes slow problem of advancing.
Summary of the invention
Technical matters to be solved by this invention provides a kind of exhibiting method of progress bar, in order to allow progress bar at the uniform velocity, advance smoothly, solve progress bar in the process of advancing, occur suspending the problem of advancing when finish the subtask because of waiting, and in most cases, the progress bar sometimes fast and sometimes slow problem of advancing.
The present invention also provides a kind of demonstration device of progress bar, in order to guarantee said method application and realization in practice.
In order to address the above problem, the embodiment of the invention discloses a kind of exhibiting method of progress bar, comprising:
The deadline of calculation task;
At the uniform velocity interval is set, described at the uniform velocity interval the over half of progress bar total length that account in the progress bar of task correspondence;
In described at the uniform velocity interval, at the uniform velocity advance according to described task deadline control progress bar.
Preferably, described method also comprises:
If described task was finished in the at the uniform velocity interval pairing time, then progress bar directly advances to completion status.
Preferably, described method also comprises:
In the progress bar of task correspondence, be provided with between buffer zone, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
If described task can not finish in the at the uniform velocity interval pairing time, then control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
Preferably, the deadline of described task was determined according to the time that loaded this task last time;
Perhaps, the deadline of described task was determined according to the corresponding task deadline of writing down in the webserver.
Preferably, described at the uniform velocity interval time corresponding is more than or equal to the described task deadline, and described progress bar comprises N sub-range, and institute at the uniform velocity interval comprises more than or equal to x%*N sub-range, described x is more than or equal to 50, is less than or equal to arbitrary value of 100.
Preferably, if the deadline of current task is t, progress bar comprises N impartial sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval pairing time is t*z, and described z is default time coefficient;
Described progress bar at the uniform velocity advances in described at the uniform velocity interval according to the speed of (x%*N)/(t*z).
Preferably, described at the uniform velocity interval account for represent interval more than 70%, correspondingly, account between described buffer zone represent interval below 30%.
Preferably, the described at the uniform velocity interval ratio that accounts for the progress bar total length is set according to the task deadline and the actual error of described calculating.
Preferably, the described at the uniform velocity interval pairing time is the described task deadline that calculates.
Preferably, described at the uniform velocity interval end position is provided with call tag, is used to the task deadline of pointing out the user to calculate.
The embodiment of the invention also discloses a kind of demonstration device of progress bar, comprising:
The Time Calculation module is used for deadline of calculation task;
At the uniform velocity the interval is provided with module, is used at the progress bar of task correspondence at the uniform velocity interval described at the uniform velocity interval the over half of progress bar total length that account for being set;
The control module of at the uniform velocity advancing is used at the uniform velocity advancing according to described task deadline control progress bar in described at the uniform velocity interval.
Preferably, described device also comprises:
The completion status control module is used for when described task was finished in the at the uniform velocity interval pairing time, and progress bar directly advances to completion status.
Preferably, described device also comprises:
Module is set between buffer zone, is used for being provided with between buffer zone, between described buffer zone and at the uniform velocity intervally constitute complete progress bar at the progress bar of task correspondence;
The Easy abeadl control module is used for when described task can not be finished in the at the uniform velocity interval pairing time, control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
Preferably, the deadline of described task was determined according to the time that loaded this task last time; Perhaps, the deadline of described task was determined according to the corresponding task deadline of writing down in the webserver.
Preferably, described at the uniform velocity interval time corresponding is more than or equal to the described task deadline, and described progress bar comprises N sub-range, and institute at the uniform velocity interval comprises more than or equal to x%*N sub-range, described x is more than or equal to 50, is less than or equal to arbitrary value of 100.
Preferably, if the deadline of current task is t, progress bar comprises N impartial sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval pairing time is t*z, and described z is default time coefficient;
Described progress bar at the uniform velocity advances in described at the uniform velocity interval according to the speed of (x%*N)/(t*z).
Preferably, described at the uniform velocity interval account for represent interval more than 70%, correspondingly, account between described buffer zone represent interval below 30%.
Preferably, the described at the uniform velocity interval ratio that accounts for the progress bar total length is set according to the task deadline and the actual error of described calculating.
Preferably, the described at the uniform velocity interval pairing time is the described task deadline that calculates.
Preferably, described at the uniform velocity interval end position is provided with call tag, is used to the task deadline of pointing out the user to calculate.
Compared with prior art, the present invention has the following advantages:
1, the embodiment of the invention is at the uniform velocity interval by being provided with in progress bar, by the speed that adopts precalculated task deadline and at the uniform velocity interval distance calculation to go out, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly, rather than advancing according to the performance control progress bar of subtask.Thereby can solve progress bar in the process of advancing, occur suspending the problem of advancing when finish the subtask, allow user's sensation task carry out very wellly because of waiting; Can also solve in most cases, the progress bar sometimes fast and sometimes slow problem of advancing brings the user extraordinary experience.
2, the embodiment of the invention can also in progress bar, be provided with at the uniform velocity interval and buffering interval, by the task deadline determined and the speed that goes out of the distance calculation in interval at the uniform velocity, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly.If task was finished in the at the uniform velocity interval pairing time, then progress bar directly advances to completion status, if task can not finish in the at the uniform velocity interval pairing time, then control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.Thereby not only can allow progress bar at the uniform velocity, advance smoothly, can also solve, make the user obtain experience better because of the inaccurate abnormal problem that causes of current task Time Calculation.
Description of drawings
Fig. 1 is the process flow diagram of the exhibiting method embodiment 1 of a kind of progress bar of the present invention
Fig. 2 is the process flow diagram of the exhibiting method embodiment 2 of a kind of progress bar of the present invention;
Fig. 3 is the structured flowchart of the demonstration device embodiment 1 of a kind of progress bar of the present invention;
Fig. 4 is the structured flowchart of the demonstration device embodiment 2 of a kind of progress bar of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
One of core idea of the embodiment of the invention is, in progress bar, be provided with at the uniform velocity interval, by the task deadline determined and the speed that goes out of the distance calculation in interval at the uniform velocity, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly.
With reference to figure 1, show the process flow diagram of the exhibiting method embodiment 1 of a kind of progress bar of the present invention, specifically can may further comprise the steps:
The deadline of step 101, calculation task;
In a preferred embodiment of the present invention, the described task deadline can calculate according to the time that loaded this required by task last time; In practice, can write down the time that each task is finished, be kept at this locality behind the record, to calculate the reference of this task deadline as next time.Because the performance of PC equipment can be along with factors vary such as hardware longevity, installed software, along with travelling speed is more and more slower, if the time that this task of the last loading of employing is finished as the calculating reference value of current task deadline, can make the more accurate progress that reflects that task is carried out of progress bar.
As another kind of example, the described task deadline can obtain from the webserver, it is the deadline that the webserver is collected this task of loading of a plurality of clients, when certain client needs, then offered client the corresponding task deadline as the reference of calculating the current task deadline.
As a kind of more preferred example, the task of can preserve a plurality of clients in the webserver loads the parameter configuration of finishing time information and corresponding client, described parameter configuration can be the integral body evaluation and test information of device hardware performance, also can be concrete device hardware configuration information, can also be the integral body evaluation and test information of system performance in the equipment etc., it all is feasible that those skilled in the art select for use arbitrarily according to actual conditions, and the present invention need not this to be limited.
For example, the information that writes down in the webserver is as shown in the table:
Figure BDA0000053496910000061
In this case, when executing the task, the task load information that the webserver can be submitted to according to client, and the configuration parameter information of active client is obtained the corresponding task deadline.Such as the last table of reference, the task load information that client is submitted to is a wooden horse killing task, the configuration parameter information of client is that the hardware performance scoring is 85 minutes, so the webserver extracts corresponding task loading and finished required time 40 minutes, returns to active client as the reference value of calculating the current task deadline.
As a kind of example of concrete application, the deadline of described task can also be carried out the time that this task spends by current device in statistics a period of time, calculates acquisition then; Can also calculate the time that current device is finished this task according to certain computation rule according to the hardware environment and/or the system environments of current device; Those skilled in the art according to actual conditions adopt any account form all can, as adopting empirical value etc., the present invention need not this to be limited.
Step 102, in the progress bar of task correspondence, be provided with at the uniform velocity interval, described at the uniform velocity interval the over half of progress bar total length that account for;
In a preferred embodiment of the present invention, describedly at the uniform velocity intervally can be provided with to such an extent that account for more than 70% of progress bar, according to actual conditions, described at the uniform velocity interval can also be according to the total length setting of progress bar, be about at the uniform velocity intervally be provided with to such an extent that to account for 100% of progress bar also be feasible.A kind of example as concrete application, the described at the uniform velocity interval ratio that accounts for the progress bar total length can be set according to described task deadline and actual error, wherein, described actual error can be determined according to the last task deadline of record, also the error log of a plurality of client process tasks that can collect according to server determines that the present invention does not limit this.Certainly, described at the uniform velocity interval setting also can be adjusted arbitrarily according to actual conditions, and the present invention does not also limit this.
Step 103, in described at the uniform velocity interval, at the uniform velocity advance according to described task deadline control progress bar.
For example, the deadline of supposing current task is t, and progress bar comprises N impartial sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval pairing time is t*z, and described z is default time coefficient;
In this case, then can calculate the pace v1 of progress bar by following formula:
v1=(x%*N)/(t*z)
In this example, described progress bar then can at the uniform velocity advance in described at the uniform velocity interval according to v1.
As another kind of example of the present invention, the deadline of supposing current task is t, and progress bar comprises N impartial sub-range, and described at the uniform velocity interval comprises x%*N sub-range; In this case, described progress bar can also at the uniform velocity advance in described at the uniform velocity interval according to the speed of (x%*N)/t.
Certainly, above-mentioned control progress bar at the uniform velocity advances and method only is used as example, and it all is feasible that those skilled in the art adopt any method according to actual conditions, and the present invention need not this to be limited.
In specific implementation, the embodiment of the invention can also may further comprise the steps:
Step 104, if described task can in the at the uniform velocity interval pairing time, finish, then progress bar directly advances to completion status.In specific implementation, described at the uniform velocity interval time corresponding can be set more than or equal to the described task deadline, described progress bar comprises N sub-range, and institute at the uniform velocity interval comprises more than or equal to x%*N sub-range, described x is more than or equal to 50, is less than or equal to arbitrary value of 100.
Use present embodiment, progress bar can be in interval at the uniform velocity at the uniform velocity, advance smoothly, thereby can solve progress bar of the prior art in the process of advancing, occur suspending the problem of advancing when finish the subtask, can allow user's sensation task carry out very wellly because of waiting; Can also solve in most cases, the progress bar sometimes fast and sometimes slow problem of advancing brings the user extraordinary experience.
In specific implementation, can also call tag be set at described at the uniform velocity interval end position, be used to task deadline of pointing out the user to calculate, described call tag can be the call tag that generates, the i.e. resident information that is provided with at the uniform velocity interval end position in progress bar generation and displaying; The information that described call tag can also eject when advancing to interval end position at the uniform velocity at progress bar.Described call tag can allow the user know the implementation progress of current task more intuitively.
One of core idea of the embodiment of the invention is, in progress bar, be provided with at the uniform velocity interval and buffering interval, by task deadline of calculating and the speed that goes out of the distance calculation in interval at the uniform velocity, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly.If task was finished in the at the uniform velocity interval pairing time, then progress bar directly advances to completion status, if task can not finish in the at the uniform velocity interval pairing time, then control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
With reference to figure 2, show the process flow diagram of the exhibiting method embodiment 2 of a kind of progress bar of the present invention, specifically can may further comprise the steps:
The deadline t of step 201, calculation task;
Step 202, the progress bar of task correspondence is set, comprises N sub-range in the described progress bar;
Step 203, at the uniform velocity interval x%*N and interval (1-x%) * N of buffering are set in described progress bar;
In the reality, described x can be preferably more than 70, the arbitrary value less than 100 for greater than arbitrary value of 50.
Step 204, the task deadline control progress bar that foundation is calculated in described at the uniform velocity interval at the uniform velocity advance;
Step 205a, if task in the at the uniform velocity interval pairing time, finish, then progress bar directly advances to completion status.
For example, suppose that current at the uniform velocity interval comprises 75% sub-range, the at the uniform velocity interval pairing time is t*z, and described z is for default time coefficient, as 1.2; If task finishes in this at the uniform velocity interval time corresponding, then progress bar passes between 25% buffer zone, directly advances to completion status, and promptly the prospect of progress bar is the same with background long.
Step 205b, if described task can not in the at the uniform velocity interval pairing time, finish, then control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
The speed that progress bar is adopted between buffer zone can be according to slowing down in proportion in the at the uniform velocity interval speed that is adopted, for example, suppose that v1 is that progress bar is at the uniform velocity interval pace, v2 is the pace of progress bar between buffer zone, v2=1/2*v1, and this speed can also be upgraded according to actual conditions, upgrade once as per second, then in this example, the progress bar pace of each second between buffer zone is half of last one second.Completion status readvances when task is finished.
Certainly, the method that above-mentioned progress bar slows down between buffer zone can be provided with arbitrarily by those skilled in the art, and the present invention does not limit this.
Use present embodiment, not only can allow progress bar at the uniform velocity, advance smoothly, can also solve, make the user obtain experience better because of the inaccurate abnormal problem that causes of current task Time Calculation.
For making those skilled in the art understand the present invention better, below by a concrete example explanation the present invention.
A1, video code conversion task of the current execution of user, according to the current hardware environment of user, system environments, the time of user's video code conversion last time task and the size of video file, calculating when time time of the video code conversion required by task of execution is 8 minutes;
A2, the progress bar of task correspondence is set, comprises 10000 sub-ranges in the described progress bar;
A3, preceding 75% be set at the uniform velocity intervally in described progress bar, back 25% is set between buffer zone;
A4, according to needed deadline of current task and default time coefficient 1.25, it is 8*1.25=10 minute (600 seconds) that the at the uniform velocity interval pairing time is set;
A5, task begin to carry out, progress bar according to 7500/600 speed v 1 at the uniform velocity, advance smoothly in interval at the uniform velocity, i.e. per second 12.5 sub-ranges of advancing;
If the A6 task executed in 10 minutes, then progress bar directly advances to completion status when task is finished;
If the A7 task did not execute in 10 minutes, then calculate the speed v 2 of between buffer zone, advancing according to speed v 1, establish v2=1/2*v1, and the per second renewal is once, in this example, promptly the 601st second pace is v1/2,6.25 sub-ranges of promptly advancing; Speed was v1/2/2 in the 601st second, 3.125 sub-ranges of promptly advancing, and the like, when task was finished, progress bar directly advanced to completion status.
Need to prove, for method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to figure 3, show the structured flowchart of the demonstration device embodiment 1 of a kind of progress bar of the present invention, specifically can comprise with lower module:
Time Calculation module 301 is used for deadline of calculation task;
At the uniform velocity the interval is provided with module 302, is used at the progress bar of task correspondence at the uniform velocity interval being set described at the uniform velocity interval the over half of progress bar total length that account for;
The control module 303 of at the uniform velocity advancing is used at the uniform velocity advancing according to described task deadline control progress bar in described at the uniform velocity interval.
In a preferred embodiment of the present invention, the demonstration device of described progress bar can also comprise with lower module:
Completion status control module 304 is used for when described task was finished in the at the uniform velocity interval pairing time, and progress bar directly advances to completion status.
In specific implementation, be t if the deadline of current task is set, progress bar represents the interval and comprises N impartial sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval pairing time is t*z, and described z is default time coefficient; In this case, described progress bar then can at the uniform velocity advance in described at the uniform velocity interval according to the speed of (x%*N)/(t*z).
As a kind of preferred application example, described at the uniform velocity interval can account for more than 70% of progress bar, correspondingly, can account for below 30% of progress bar between described buffer zone.
In specific implementation, the described at the uniform velocity interval ratio that accounts for the progress bar total length can also be set according to described task deadline and actual error.
As a kind of example, the described at the uniform velocity interval pairing time can be the described task deadline that calculates.
In practice, can also call tag be set, be used to the task deadline of pointing out the user to calculate at described at the uniform velocity interval end position.
Because present embodiment is substantially corresponding to aforementioned method embodiment shown in Figure 1, so not detailed part in the description of present embodiment can just not given unnecessary details at this referring to the related description in the previous embodiment.
With reference to figure 4, show the structured flowchart of the demonstration device embodiment 2 of a kind of progress bar of the present invention, specifically can comprise with lower module:
Time Calculation module 401 is used for deadline of calculation task;
At the uniform velocity the interval is provided with module 402, is used at the progress bar of task correspondence at the uniform velocity interval being set described at the uniform velocity interval the over half of progress bar total length that account for;
Module 403 is set between buffer zone, is used for being provided with between buffer zone, between described buffer zone and at the uniform velocity intervally constitute complete progress bar at the progress bar of task correspondence;
The control module 404 of at the uniform velocity advancing is used at the uniform velocity advancing according to the task deadline control progress bar that is calculated in described at the uniform velocity interval;
Completion status control module 405a is used for when described task was finished in the at the uniform velocity interval pairing time, and progress bar directly advances to completion status.
Easy abeadl control module 405b is used for when described task can not be finished in the at the uniform velocity interval pairing time, control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
In specific implementation, the deadline of described task was determined according to the time that loaded this task last time; Perhaps, the deadline of described task was determined according to the corresponding task deadline of writing down in the webserver.
Because present embodiment is substantially corresponding to aforementioned method embodiment shown in Figure 2, so not detailed part in the description of present embodiment can just not given unnecessary details at this referring to the related description in the previous embodiment.
Need to prove that module, submodule and unit related in apparatus of the present invention embodiment and the system embodiment can be software, can be hardware, also can be the combination of software and hardware.
The present invention can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment or the like.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, by by communication network connected teleprocessing equipment execute the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
More than the exhibiting method of a kind of progress bar provided by the present invention and a kind of demonstration device of progress bar are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (20)

1. the exhibiting method of a progress bar is characterized in that, comprising:
The deadline of calculation task;
At the uniform velocity interval is set, described at the uniform velocity interval the over half of progress bar total length that account in the progress bar of task correspondence;
In described at the uniform velocity interval, at the uniform velocity advance according to described task deadline control progress bar.
2. the method for claim 1 is characterized in that, also comprises:
If described task was finished in the at the uniform velocity interval pairing time, then progress bar directly advances to completion status.
3. method as claimed in claim 2 is characterized in that, also comprises:
In the progress bar of task correspondence, be provided with between buffer zone, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
If described task can not finish in the at the uniform velocity interval pairing time, then control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
4. as claim 1,2 or 3 described methods, it is characterized in that the deadline of described task was determined according to the time that loaded this task last time;
Perhaps, the deadline of described task was determined according to the corresponding task deadline of writing down in the webserver.
5. as claim 2 or 3 described methods, it is characterized in that, described at the uniform velocity interval time corresponding is more than or equal to the described task deadline, described progress bar comprises N sub-range, institute at the uniform velocity interval comprises more than or equal to x%*N sub-range, described x is more than or equal to 50, is less than or equal to arbitrary value of 100.
6. method as claimed in claim 5 is characterized in that, if the deadline of current task is t, progress bar comprises N impartial sub-range, described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval pairing time is t*z, and described z is default time coefficient;
Described progress bar at the uniform velocity advances in described at the uniform velocity interval according to the speed of (x%*N)/(t*z).
7. as claim 1,2 or 3 described methods, it is characterized in that, described at the uniform velocity interval account for represent interval more than 70%, correspondingly, account between described buffer zone represent interval below 30%.
8. as claim 1,2 or 3 described methods, it is characterized in that the described at the uniform velocity interval ratio that accounts for the progress bar total length is set according to the task deadline and the actual error of described calculating.
9. as claim 2 or 3 described methods, it is characterized in that the described at the uniform velocity interval pairing time is the described task deadline that calculates.
10. the method for claim 1 is characterized in that, described at the uniform velocity interval end position is provided with call tag, is used to the task deadline of pointing out the user to calculate.
11. the demonstration device of a progress bar is characterized in that, comprising:
The Time Calculation module is used for deadline of calculation task;
At the uniform velocity the interval is provided with module, is used at the progress bar of task correspondence at the uniform velocity interval described at the uniform velocity interval the over half of progress bar total length that account for being set;
The control module of at the uniform velocity advancing is used at the uniform velocity advancing according to described task deadline control progress bar in described at the uniform velocity interval.
12. device as claimed in claim 11 is characterized in that, also comprises:
The completion status control module is used for when described task was finished in the at the uniform velocity interval pairing time, and progress bar directly advances to completion status.
13. device as claimed in claim 12 is characterized in that, also comprises:
Module is set between buffer zone, is used for being provided with between buffer zone, between described buffer zone and at the uniform velocity intervally constitute complete progress bar at the progress bar of task correspondence;
The Easy abeadl control module is used for when described task can not be finished in the at the uniform velocity interval pairing time, control progress bar between buffer zone in Easy abeadl, when task is finished, advance to completion status.
14., it is characterized in that the deadline of described task was determined according to the time that loaded this task last time as claim 11,12 or 13 described devices; Perhaps, the deadline of described task was determined according to the corresponding task deadline of writing down in the webserver.
15. as claim 12 or 13 described devices, it is characterized in that, described at the uniform velocity interval time corresponding is more than or equal to the described task deadline, described progress bar comprises N sub-range, institute at the uniform velocity interval comprises more than or equal to x%*N sub-range, described x is more than or equal to 50, is less than or equal to arbitrary value of 100.
16. device as claimed in claim 15 is characterized in that, if the deadline of current task is t, progress bar comprises N impartial sub-range, described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval pairing time is t*z, and described z is default time coefficient;
Described progress bar at the uniform velocity advances in described at the uniform velocity interval according to the speed of (x%*N)/(t*z).
17. as claim 11,12 or 13 described devices, it is characterized in that, described at the uniform velocity interval account for represent interval more than 70%, correspondingly, account between described buffer zone represent interval below 30%.
18., it is characterized in that the described at the uniform velocity interval ratio that accounts for the progress bar total length is set according to the task deadline and the actual error of described calculating as claim 11,12 or 13 described devices.
19., it is characterized in that the described at the uniform velocity interval pairing time is the described task deadline that calculates as claim 12 or 13 described devices.
20. device as claimed in claim 11 is characterized in that, described at the uniform velocity interval end position is provided with call tag, is used to the task deadline of pointing out the user to calculate.
CN 201110082742 2011-04-01 2011-04-01 Method and device for showing progress bar Expired - Fee Related CN102141953B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN 201110082742 CN102141953B (en) 2011-04-01 2011-04-01 Method and device for showing progress bar
CN201310413024.5A CN103530145B (en) 2011-04-01 2011-04-01 progress bar setting method and device
CN201310412837.2A CN103488555B (en) 2011-04-01 2011-04-01 Progress bar implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110082742 CN102141953B (en) 2011-04-01 2011-04-01 Method and device for showing progress bar

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN201310412837.2A Division CN103488555B (en) 2011-04-01 2011-04-01 Progress bar implementation method and device
CN201310413024.5A Division CN103530145B (en) 2011-04-01 2011-04-01 progress bar setting method and device

Publications (2)

Publication Number Publication Date
CN102141953A true CN102141953A (en) 2011-08-03
CN102141953B CN102141953B (en) 2013-10-16

Family

ID=44409489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110082742 Expired - Fee Related CN102141953B (en) 2011-04-01 2011-04-01 Method and device for showing progress bar

Country Status (1)

Country Link
CN (1) CN102141953B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508735A (en) * 2011-09-30 2012-06-20 奇智软件(北京)有限公司 Method for backing up and restoring terminal system based on cloud architecture
CN103065087A (en) * 2011-10-20 2013-04-24 腾讯科技(深圳)有限公司 Display method and device of multiengine antivirus program processing schedule
CN103136089A (en) * 2011-11-25 2013-06-05 腾讯科技(深圳)有限公司 Method and device for process bar display
CN103577080A (en) * 2012-07-30 2014-02-12 北京睿思汇通移动科技有限公司 Display control device and touchpad control device of mobile terminal browser
CN103631571A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Method and device for controlling progress bar
CN104778055A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
US9104296B2 (en) 2012-03-09 2015-08-11 Apple Inc. Rocket effect in a progress bar
CN105988913A (en) * 2015-02-27 2016-10-05 阿里巴巴集团控股有限公司 Progress indication method and device
CN106658201A (en) * 2017-01-13 2017-05-10 北京元心科技有限公司 Method and device for optimizing progress bar of player
CN104199643B (en) * 2014-08-08 2017-12-29 可牛网络技术(北京)有限公司 Control method, device and the electronic equipment of progress bar loading
CN108322527A (en) * 2018-01-23 2018-07-24 平安科技(深圳)有限公司 Data transmission processing method, device, equipment and computer readable storage medium
CN113313454A (en) * 2020-02-26 2021-08-27 阿里巴巴集团控股有限公司 Time reminding method, device and equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530145B (en) * 2011-04-01 2017-05-10 北京奇虎科技有限公司 progress bar setting method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295244A (en) * 2007-04-29 2008-10-29 鸿富锦精密工业(深圳)有限公司 Progress bar design system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295244A (en) * 2007-04-29 2008-10-29 鸿富锦精密工业(深圳)有限公司 Progress bar design system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周从军等: ".NET平台下自适应式光滑进度条", 《电脑编程技巧与维护》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508735A (en) * 2011-09-30 2012-06-20 奇智软件(北京)有限公司 Method for backing up and restoring terminal system based on cloud architecture
CN103065087A (en) * 2011-10-20 2013-04-24 腾讯科技(深圳)有限公司 Display method and device of multiengine antivirus program processing schedule
CN103065087B (en) * 2011-10-20 2015-12-09 腾讯科技(深圳)有限公司 Multi engine antivirus software process progress display packing and device
CN103136089A (en) * 2011-11-25 2013-06-05 腾讯科技(深圳)有限公司 Method and device for process bar display
CN103136089B (en) * 2011-11-25 2016-08-17 腾讯科技(深圳)有限公司 A kind of progress bar display packing and device
US9292177B2 (en) 2012-03-09 2016-03-22 Apple Inc. Progress bar with feature availability indicator
US9104296B2 (en) 2012-03-09 2015-08-11 Apple Inc. Rocket effect in a progress bar
CN103577080A (en) * 2012-07-30 2014-02-12 北京睿思汇通移动科技有限公司 Display control device and touchpad control device of mobile terminal browser
CN103631571A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Method and device for controlling progress bar
CN103631571B (en) * 2012-08-21 2017-09-22 腾讯科技(深圳)有限公司 The control method and device of a kind of progress bar
CN104778055A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
CN104778055B (en) * 2014-01-15 2020-11-06 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
CN104199643B (en) * 2014-08-08 2017-12-29 可牛网络技术(北京)有限公司 Control method, device and the electronic equipment of progress bar loading
CN105988913A (en) * 2015-02-27 2016-10-05 阿里巴巴集团控股有限公司 Progress indication method and device
CN106658201A (en) * 2017-01-13 2017-05-10 北京元心科技有限公司 Method and device for optimizing progress bar of player
CN106658201B (en) * 2017-01-13 2019-08-06 北京元心科技有限公司 Method and device for optimizing progress bar of player
CN108322527A (en) * 2018-01-23 2018-07-24 平安科技(深圳)有限公司 Data transmission processing method, device, equipment and computer readable storage medium
CN113313454A (en) * 2020-02-26 2021-08-27 阿里巴巴集团控股有限公司 Time reminding method, device and equipment

Also Published As

Publication number Publication date
CN102141953B (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN102141953B (en) Method and device for showing progress bar
CN103530145A (en) Progress bar setting method and device
CN103488555A (en) Progress bar implementation method and device
CN101968750B (en) Computer system and working method thereof
US20230413304A1 (en) Resource Scheduling Method and Terminal Device
CN102207863A (en) Method and device for controlling progress bar to advance
CN102722559A (en) Method, device and system for controlling processes of abnormal pages
CN109446570B (en) Business process display method, device, computer equipment and storage medium
CN107807814B (en) Application component construction method, device, equipment and computer readable storage medium
US20140006384A1 (en) Elastic Complex Event Processing
US9135892B2 (en) System and method for viewing content
US10163245B2 (en) Multi-mode animation system
EP2874063A2 (en) Method and apparatus for allocating computing resources in touch-based mobile device
WO2021068113A1 (en) Method and apparatus for compiling duration statistics, electronic device, and computer-readable medium
CN106293947B (en) GPU-CPU (graphics processing Unit-Central processing Unit) mixed resource allocation system and method in virtualized cloud environment
CN106155931A (en) The method and apparatus of speed limit read by a kind of disk
WO2021102264A1 (en) Developer independent resource based multithreading module
US20180322605A1 (en) Asynchronous ui framework
CN113918356B (en) Method and device for quickly synchronizing data based on CUDA (compute unified device architecture), computer equipment and storage medium
CN113076224B (en) Data backup method, data backup system, electronic device and readable storage medium
CN111402000B (en) Service page generation method, device and system and computer system
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN109271238A (en) Support the task scheduling apparatus and method of a variety of programming languages
CN115878935A (en) Local refreshing method, system, device, equipment and medium of chart
CN112052077A (en) Method, device, equipment and medium for software task management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110803

Assignee: Beijing Qifutong Technology Co.,Ltd.

Assignor: Qizhi software (Beijing) Co.,Ltd.

Contract record no.: 2013990000843

Denomination of invention: Method and device for showing progress bar

Granted publication date: 20131016

License type: Exclusive License

Record date: 20131216

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CP03 Change of name, title or address

Address after: 100015 rooms 301-306, 2 / F and 3 / F, block B, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100016 East unit, 4th floor, Zhaowei building, 14 Jiuxianqiao Road, Chaoyang District, Beijing

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20220208

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100015 rooms 301-306, 2 / F and 3 / F, block B, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131016