CN103488555A - Progress bar implementation method and device - Google Patents

Progress bar implementation method and device Download PDF

Info

Publication number
CN103488555A
CN103488555A CN201310412837.2A CN201310412837A CN103488555A CN 103488555 A CN103488555 A CN 103488555A CN 201310412837 A CN201310412837 A CN 201310412837A CN 103488555 A CN103488555 A CN 103488555A
Authority
CN
China
Prior art keywords
progress bar
task
uniform velocity
velocity interval
deadline
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
CN201310412837.2A
Other languages
Chinese (zh)
Other versions
CN103488555B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310412837.2A priority Critical patent/CN103488555B/en
Priority claimed from CN 201110082742 external-priority patent/CN102141953B/en
Publication of CN103488555A publication Critical patent/CN103488555A/en
Application granted granted Critical
Publication of CN103488555B publication Critical patent/CN103488555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a progress bar implementation method. The method includes calculating completion time of a task, setting a constant-speed range in a progress bar corresponding to the task, and controlling the progress bar to advance at a constant speed according to the task completion time in the constant speed range which accounts for more than half of the total length of the progress bar. Through the method, the progress bar can advance smoothly at the constant speed, and the problems that the progress bar halts when waiting for subtasks to be completed in the advance process as well as that the progress bar advances quickly sometimes and slowly sometimes in most circumstances are solved.

Description

Progress bar implementation method and device
Patented claim of the present invention is to be that April 1, application number in 2011 are that 201110082742.X, name are called the dividing an application of Chinese invention patent application of " a kind of exhibiting method of progress bar and device " applying date.
Technical field
The present invention relates to the technical field that progress bar is processed, particularly relate to a kind of progress bar implementation method and a kind of progress bar implement device.
Background technology
Progress bar is computing machine when processing file, real-time, with the speed of picture form Graphics Processing file, completeness, remained the size of file, and may need the processing time, in various computer softwares, often adopt progress bar to express the implementation of certain task.Progress bar generally shows with the rectangle strip, has powerful connections and prospect.The original state background has certain length, prospect since 0 or certain value of being less than background length increase length, the same with background when long when rising to, the expression task completes.
The existing progress bar scheme of advancing is generally progress bar is impartial or unequal being assigned in subtask, often complete a subtask, progress bar increases number percent corresponding to this subtask forward, until whole task completes, progress bar rises to the length the same with background and means that task completes.Progress bar with xcopy is presented as example, for a current batch file, at first obtains the quantity count of file, and the scope that then ingoing silver is set is 0 to count, often completes a file, just further forward.
Yet this existing progress bar represents scheme and has in practice following two problems:
The first, when running into certain subtask and do not complete, if corresponding progress is not exported in 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 at present the urgent technical matters solved of those skilled in the art to be exactly: to propose a kind of progress bar implementation, 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 because waiting when subtask completes, 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 is to provide a kind of progress bar implementation method, in order to allow progress bar at the uniform velocity, advance smoothly, solve progress bar in the process of advancing, occur because waiting the subtask problem that time-out advances while completing, and in most cases, the progress bar sometimes fast and sometimes slow problem of advancing.
The present invention also provides a kind of progress bar implement device, 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 progress bar implementation method, comprising:
The deadline of calculation task;
In task, in corresponding progress bar, arrange at the uniform velocity interval, described at the uniform velocity interval the over half of progress bar total length that account for; And, in task, in corresponding progress bar, arrange between buffer zone, between described buffer zone and the progress bar of at the uniform velocity interval complete;
Controlling progress bar according to the described task deadline in described at the uniform velocity interval at the uniform velocity advances;
If described task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status;
If described task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
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 recording in the webserver.
Preferably, the described at the uniform velocity interval corresponding time is more than or equal to the described task deadline, and described progress bar comprises N sub-range, at the uniform velocity interval comprise and be more than or equal to x%*N sub-range, described x, for being 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 an impartial N sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval corresponding 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 accounting for represents more than 70% of interval, correspondingly, accounts between described buffer zone and represents below 30% of interval.
Preferably, the described at the uniform velocity interval ratio that accounts for the progress bar total length, set according to task deadline and the actual error of described calculating.
Preferably, the described at the uniform velocity interval corresponding time is the described task deadline calculated.
Preferably, described at the uniform velocity interval end position is provided with call tag, for the task deadline of pointing out the user to calculate.
The embodiment of the invention also discloses a kind of progress bar implement device, comprising:
The Time Calculation module, for the deadline of calculation task;
At the uniform velocity interval arranges module, for the progress bar corresponding in task, at the uniform velocity interval described at the uniform velocity interval the over half of progress bar total length that account for is set;
The control module of at the uniform velocity advancing, at the uniform velocity advance in described at the uniform velocity interval, according to the described task deadline, controlling progress bar;
Module is set between buffer zone, arranges between buffer zone for the progress bar corresponding in task, between described buffer zone and the progress bar of at the uniform velocity interval complete;
The completion status control module, for when described task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status;
The Easy abeadl control module, for when described task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
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 recording in the webserver.
Preferably, the described at the uniform velocity interval corresponding time is more than or equal to the described task deadline, and described progress bar comprises N sub-range, at the uniform velocity interval comprise and be more than or equal to x%*N sub-range, described x, for being 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 an impartial N sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval corresponding 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 accounting for represents more than 70% of interval, correspondingly, accounts between described buffer zone and represents below 30% of interval.
Preferably, the described at the uniform velocity interval ratio that accounts for the progress bar total length, set according to task deadline and the actual error of described calculating.
Preferably, the described at the uniform velocity interval corresponding time is the described task deadline calculated.
Preferably, described at the uniform velocity interval end position is provided with call tag, for 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 present invention is at the uniform velocity interval by arranging in progress bar, by the speed that adopts precalculated task deadline and at the uniform velocity interval distance to calculate, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly, rather than control advancing of progress bar according to the performance of subtask.Thereby can solve progress bar in the process of advancing, occur suspending the problem of advancing because waiting when subtask completes, allow user's sensation task carry out very wellly; Can also solve in most cases, the progress bar sometimes fast and sometimes slow problem of advancing, bring the user extraordinary experience.
2, the embodiment of the present invention can also arrange at the uniform velocity interval and buffering is interval in progress bar, by definite task deadline and at the uniform velocity interval apart from the speed calculated, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly.If task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status, if task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.Thereby not only can allow progress bar at the uniform velocity, advance smoothly, can also solve because of the inaccurate abnormal problem caused of current task Time Calculation, make the user obtain experience better.
The accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of progress bar implementation method embodiment 1 of the present invention
Fig. 2 is the process flow diagram of a kind of progress bar implementation method embodiment 2 of the present invention;
Fig. 3 is the structured flowchart of a kind of progress bar implement device embodiment 1 of the present invention;
Fig. 4 is the structured flowchart of a kind of progress bar implement device embodiment 2 of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is, in progress bar, arrange at the uniform velocity interval, by definite task deadline and at the uniform velocity interval apart from the speed calculated, 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 a kind of progress bar implementation method embodiment 1 of the present invention, specifically can comprise the following steps:
The deadline of step 101, calculation task;
In a preferred embodiment of the present invention, the described task deadline can be calculated according to the time that loaded this required by task last time; In practice, can record the time that every subtask completes, be kept at this locality after record, using the reference of calculating this task deadline as next time.Because the performance of PC equipment can be along with the factors vary such as software of hardware longevity, installation, along with travelling speed is more and more slower, if the time that adopts the last this task of loading to complete, as the computing reference value of current task deadline, can make progress bar more accurately reflect the progress of tasks carrying.
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, offered to 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 in the webserver, preserve a plurality of clients 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, it can be also concrete device hardware configuration information, can also be the integral body evaluation and test information of system performance in equipment etc., it is all feasible that those skilled in the art select arbitrarily according to actual conditions, the present invention to this without being limited.
For example, the information recorded in the webserver is as shown in the table:
Figure BDA0000380703020000061
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, obtain the corresponding task deadline.Such as the upper table of reference, the task load information that client is submitted to is 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 and loaded required time 40 minutes, return 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, then calculates acquisition; Can also calculate according to certain computation rule the time that current device completes this task according to 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 adopted empirical value etc., the present invention to this without being limited.
Step 102, in task, in corresponding progress bar, arrange 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 arrange 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 arrange to such an extent that to account for 100% of progress bar be also 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, the error log of a plurality of client process tasks that also can collect according to server is definite, and the present invention is not restricted this.Certainly, described at the uniform velocity interval setting also can be adjusted arbitrarily according to actual conditions, and the present invention also is not restricted this.
Step 103, control progress bar according to the described task deadline at the uniform velocity advance in described at the uniform velocity interval.
For example, the deadline of supposing current task is t, and progress bar comprises an impartial N sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval corresponding time is t*z, and described z is default time coefficient;
In this case, can calculate by following formula the pace v1 of progress bar:
v1=(x%*N)/(t*z)
In this example, described progress bar can at the uniform velocity advance according to v1 in described at the uniform velocity interval.
As another kind of example of the present invention, the deadline of supposing current task is t, and progress bar comprises an impartial N 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 according to the speed of (x%*N)/t in described at the uniform velocity interval.
Certainly, above-mentioned control progress bar at the uniform velocity advance and method only as example, it is all feasible that those skilled in the art adopt any method according to actual conditions, the present invention to this without being limited.
In specific implementation, the embodiment of the present invention can also comprise the following steps:
If the described task of step 104 can complete within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status.In specific implementation, the described at the uniform velocity interval corresponding time can be set is more than or equal to the described task deadline, and described progress bar comprises N sub-range, at the uniform velocity interval comprise and be more than or equal to x%*N sub-range, described x, for being more than or equal to 50, is less than or equal to arbitrary value of 100.
Application the 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 because waiting when subtask completes, can allow user's sensation task carry out very wellly; Can also solve in most cases, the progress bar sometimes fast and sometimes slow problem of advancing, bring the user extraordinary experience.
In specific implementation, can also call tag be set at described at the uniform velocity interval end position, for the task deadline of pointing out the user to calculate, described call tag can at progress bar, generate and show in the call tag that generates, the resident information arranged at the uniform velocity interval end position; 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 more intuitively the implementation progress of current task.
One of core idea of the embodiment of the present invention is, in progress bar, arranges at the uniform velocity interval and buffering is interval, by task deadline of calculating and at the uniform velocity interval apart from the speed calculated, control progress bar in interval at the uniform velocity at the uniform velocity, advance smoothly.If task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status, if task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
With reference to figure 2, show the process flow diagram of a kind of progress bar implementation method embodiment 2 of the present invention, specifically can comprise the following steps:
The deadline t of step 201, calculation task;
Step 202, progress bar corresponding to the task that arranges, described progress bar comprises N sub-range;
Step 203, at the uniform velocity interval x%*N and interval (1-x%) * N of buffering are set in described progress bar;
In reality, described x can be preferably more than 70 for being greater than arbitrary value of 50, is less than arbitrary value of 100.
Step 204, the task deadline that foundation is calculated in described at the uniform velocity interval are controlled progress bar and at the uniform velocity advance;
If step 205a task completes within the at the uniform velocity interval corresponding time, 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 corresponding time is t*z, and described z is default time coefficient, as 1.2; If task completes within this at the uniform velocity interval corresponding time, progress bar, through between 25% buffer zone, directly advances to completion status, and the prospect of progress bar is the same with background long.
If the described task of step 205b can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
The speed that progress bar adopts between buffer zone can be according to slowing down in proportion in the at the uniform velocity interval speed 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, as per second upgrades once, in this example, the progress bar pace of each second between buffer zone, be half of upper one second.The completion status until task readvances while completing.
Certainly, the method that above-mentioned progress bar slows down between buffer zone can be arranged arbitrarily by those skilled in the art, and the present invention is not restricted this.
Application the present embodiment, not only can allow progress bar at the uniform velocity, advance smoothly, can also solve because of the inaccurate abnormal problem caused of current task Time Calculation, makes the user obtain experience better.
For making those skilled in the art understand better the present invention, below by a concrete example explanation the present invention.
A1, the current execution primary video of user transcoding task, hardware environment, system environments, the time of user's video code conversion last time task and the size of video file that User is current, calculating when time time of the video code conversion required by task of execution is 8 minutes;
A2, progress bar corresponding to the task that arranges, described progress bar comprises 10000 sub-ranges;
A3, in described progress bar, front 75% be set at the uniform velocity intervally, rear 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 corresponding time is set;
A5, task start to carry out, progress bar according to 7500/600 speed v 1 in interval at the uniform velocity at the uniform velocity, advance smoothly, i.e. per second 12.5 sub-ranges of advancing;
If the A6 task executed in 10 minutes, progress bar directly advances to completion status when task completes;
If the A7 task did not execute in 10 minutes, according to speed v 1, calculate the speed v 2 of advancing between buffer zone, establish v2=1/2*v1, and the per second renewal is once, in this example, the pace of the 601st second is v1/2,6.25 sub-ranges of advancing; Within the 601st second, speed is v1/2/2,3.125 sub-ranges of advancing, the like, until task is while completing, progress bar directly advances to completion status.
It should be noted that, for embodiment of the method, for simple description, therefore it all is expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject 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 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 a kind of progress bar implement device embodiment 1 of the present invention, specifically can comprise with lower module:
Time Calculation module 301, for the deadline of calculation task;
At the uniform velocity interval arranges module 302, for the progress bar corresponding in task, at the uniform velocity interval is 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, at the uniform velocity advance in described at the uniform velocity interval, according to the described task deadline, controlling progress bar.
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, for when described task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status.
In specific implementation, if the deadline of current task is set, be t, progress bar represents interval and comprises an impartial N sub-range, and described at the uniform velocity interval comprises x%*N sub-range, and the described at the uniform velocity interval corresponding time is t*z, and described z is default time coefficient; In this case, described progress bar can at the uniform velocity advance according to the speed of (x%*N)/(t*z) in described at the uniform velocity interval.
As a kind of preferred application example, described at the uniform velocity interval can account for more than 70% of progress bar, correspondingly, between described buffer zone, can account for below 30% of progress bar.
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 corresponding time can be the described task deadline calculated.
In practice, can also call tag be set at described at the uniform velocity interval end position, for the task deadline of pointing out the user to calculate.
Due to the present embodiment substantially corresponding to the embodiment of the method shown in earlier figures 1, therefore not detailed part in the description of the present embodiment, can be referring to the related description in previous embodiment, at this, just do not repeated.
With reference to figure 4, show the structured flowchart of a kind of progress bar implement device embodiment 2 of the present invention, specifically can comprise with lower module:
Time Calculation module 401, for the deadline of calculation task;
At the uniform velocity interval arranges module 402, for the progress bar corresponding in task, at the uniform velocity interval is 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, arranges between buffer zone for the progress bar corresponding in task, between described buffer zone and the progress bar of at the uniform velocity interval complete;
The control module 404 of at the uniform velocity advancing, at the uniform velocity advance in described at the uniform velocity interval, according to the task deadline of calculating, controlling progress bar;
Completion status control module 405a, for when described task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status.
Easy abeadl control module 405b, for when described task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
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 recording in the webserver.
Due to the present embodiment substantially corresponding to the embodiment of the method shown in earlier figures 2, therefore not detailed part in the description of the present embodiment, can be referring to the related description in previous embodiment, at this, just do not repeated.
It should be noted that, in apparatus of the present invention embodiment and system embodiment, related module, submodule and unit can be software, can be hardware, can be also the combination of software and hardware.
The present invention can be used in numerous general or special purpose computingasystem environment or 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 etc.
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 data type, program, object, assembly, data structure etc.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, be executed the task by the teleprocessing equipment be connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Above a kind of progress bar implementation method provided by the present invention and a kind of progress bar implement device are described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention simultaneously.

Claims (10)

1. a progress bar implementation method, it comprises:
The deadline of calculation task;
In task, in corresponding progress bar, arrange at the uniform velocity interval, described at the uniform velocity interval the over half of progress bar total length that account for;
Controlling progress bar according to the described task deadline in described at the uniform velocity interval at the uniform velocity advances.
2. the method for claim 1, wherein also comprise:
If described task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status.
3. method as claimed in claim 2 wherein, also comprises:
In task, in corresponding progress bar, arrange between buffer zone, between described buffer zone and the progress bar of at the uniform velocity interval complete;
If described task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
4. as claim 1,2 or 3 described methods, wherein, 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 recording in the webserver.
5. method as claimed in claim 2 or claim 3, wherein, the described at the uniform velocity interval corresponding time is more than or equal to the described task deadline, described progress bar comprises N sub-range, institute at the uniform velocity interval comprises and is more than or equal to x%*N sub-range, described x, for being more than or equal to 50, is less than or equal to arbitrary value of 100.
6. a progress bar implement device, it comprises:
The Time Calculation module, for the deadline of calculation task;
At the uniform velocity interval arranges module, for the progress bar corresponding in task, at the uniform velocity interval described at the uniform velocity interval the over half of progress bar total length that account for is set;
The control module of at the uniform velocity advancing, at the uniform velocity advance in described at the uniform velocity interval, according to the described task deadline, controlling progress bar.
7. device as claimed in claim 6 wherein, also comprises:
The completion status control module, for when described task completes within the at the uniform velocity interval corresponding time, progress bar directly advances to completion status.
8. device as claimed in claim 7 wherein, also comprises:
Module is set between buffer zone, arranges between buffer zone for the progress bar corresponding in task, between described buffer zone and the progress bar of at the uniform velocity interval complete;
The Easy abeadl control module, for when described task can not complete within the at the uniform velocity interval corresponding time, control progress bar between buffer zone in Easy abeadl, until task advances to completion status while completing.
9. as claim 6,7 or 8 described devices, wherein, 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 recording in the webserver.
10. install as claimed in claim 7 or 8, wherein, the described at the uniform velocity interval corresponding time is more than or equal to the described task deadline, described progress bar comprises N sub-range, institute at the uniform velocity interval comprises and is more than or equal to x%*N sub-range, described x, for being more than or equal to 50, is less than or equal to arbitrary value of 100.
CN201310412837.2A 2011-04-01 2011-04-01 Progress bar implementation method and device Active CN103488555B (en)

Priority Applications (1)

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

Applications Claiming Priority (2)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
CN103488555A true CN103488555A (en) 2014-01-01
CN103488555B CN103488555B (en) 2016-09-28

Family

ID=49828807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310412837.2A Active CN103488555B (en) 2011-04-01 2011-04-01 Progress bar implementation method and device

Country Status (1)

Country Link
CN (1) CN103488555B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375862A (en) * 2014-11-11 2015-02-25 北京搜狗科技发展有限公司 Progress bar showing method and device
CN104778055A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
CN105988913A (en) * 2015-02-27 2016-10-05 阿里巴巴集团控股有限公司 Progress indication method and device
CN106383704A (en) * 2016-08-31 2017-02-08 腾讯科技(深圳)有限公司 Progress bar data processing method and apparatus
CN104199643B (en) * 2014-08-08 2017-12-29 可牛网络技术(北京)有限公司 Control method, device and the electronic equipment of progress bar loading
CN107678787A (en) * 2017-10-16 2018-02-09 中科信息安全共性技术国家工程研究中心有限公司 A kind of method that progress bar is realized based on activeMq
CN107807885A (en) * 2017-11-08 2018-03-16 广州酷狗计算机科技有限公司 Mission bit stream display methods and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1395171A (en) * 2001-07-06 2003-02-05 华为技术有限公司 Code statistical tool of computer software program and its implementing method
GB2378629A (en) * 2001-06-23 2003-02-12 Pace Micro Tech Plc Linear progress bar graph
US20060072154A1 (en) * 2004-10-01 2006-04-06 Samsung Electronics Co., Ltd. Method for displaying state of processing data
CN101295244A (en) * 2007-04-29 2008-10-29 鸿富锦精密工业(深圳)有限公司 Progress bar design system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2378629A (en) * 2001-06-23 2003-02-12 Pace Micro Tech Plc Linear progress bar graph
CN1395171A (en) * 2001-07-06 2003-02-05 华为技术有限公司 Code statistical tool of computer software program and its implementing method
US20060072154A1 (en) * 2004-10-01 2006-04-06 Samsung Electronics Co., Ltd. Method for displaying state of processing data
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
周从军等: ".NE平台下自适应式光滑进度条", 《电脑编程技巧与维护》, 31 July 2006 (2006-07-31), pages 12 - 15 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104375862A (en) * 2014-11-11 2015-02-25 北京搜狗科技发展有限公司 Progress bar showing method and device
CN104375862B (en) * 2014-11-11 2018-07-31 北京搜狗科技发展有限公司 A kind of progress bar shows method and device
CN105988913A (en) * 2015-02-27 2016-10-05 阿里巴巴集团控股有限公司 Progress indication method and device
CN106383704A (en) * 2016-08-31 2017-02-08 腾讯科技(深圳)有限公司 Progress bar data processing method and apparatus
CN106383704B (en) * 2016-08-31 2021-01-15 腾讯科技(深圳)有限公司 Progress bar data processing method and device
CN107678787A (en) * 2017-10-16 2018-02-09 中科信息安全共性技术国家工程研究中心有限公司 A kind of method that progress bar is realized based on activeMq
CN107807885A (en) * 2017-11-08 2018-03-16 广州酷狗计算机科技有限公司 Mission bit stream display methods and device
CN107807885B (en) * 2017-11-08 2021-03-30 广州酷狗计算机科技有限公司 Task information display method and device

Also Published As

Publication number Publication date
CN103488555B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN102141953B (en) Method and device for showing progress bar
CN103488555A (en) Progress bar implementation method and device
CN103530145A (en) Progress bar setting method and device
CN102722559B (en) A kind of course control method of the abnormal page, device and system
US20170139752A1 (en) Scheduling homogeneous and heterogeneous workloads with runtime elasticity in a parallel processing environment
CN102207863A (en) Method and device for controlling progress bar to advance
US8245125B1 (en) Hybrid rendering for webpages
US10783002B1 (en) Cost determination of a service call
CN105940388A (en) Workload batch submission mechanism for graphics processing unit
US20150331836A9 (en) Graceful degradation of level-of-detail in document rendering
US20140006384A1 (en) Elastic Complex Event Processing
KR102480415B1 (en) Electronic device and method for managing computing resources of at least one cloud server that provices cloud services
CN101968750A (en) Computer system and working method thereof
US20160301623A1 (en) Queued workload service in a multi tenant environment
CN106293947B (en) GPU-CPU (graphics processing Unit-Central processing Unit) mixed resource allocation system and method in virtualized cloud environment
CN115086189A (en) Server-free computing oriented service resource elastic expansion method and system
WO2021102264A1 (en) Developer independent resource based multithreading module
CN110032364B (en) Data processing method, device, electronic equipment and computer storage medium
US10992733B1 (en) Workload management in hybrid clouds
CN111026945B (en) Multi-platform crawler scheduling method, device and storage medium
US10915250B2 (en) Addressing usage of shared SSD resources in volatile and unpredictable operating environments
Wang et al. A user mode CPU–GPU scheduling framework for hybrid workloads
CN109271238A (en) Support the task scheduling apparatus and method of a variety of programming languages
CN114647499A (en) Asynchronous job task concurrency control method and device, electronic equipment and storage medium
CN103543975B (en) Cloud computing terminal display optimization method and system based on RDP agreement

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

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: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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