CN102207863A - Method and device for controlling progress bar to advance - Google Patents

Method and device for controlling progress bar to advance Download PDF

Info

Publication number
CN102207863A
CN102207863A CN201110082492XA CN201110082492A CN102207863A CN 102207863 A CN102207863 A CN 102207863A CN 201110082492X A CN201110082492X A CN 201110082492XA CN 201110082492 A CN201110082492 A CN 201110082492A CN 102207863 A CN102207863 A CN 102207863A
Authority
CN
China
Prior art keywords
task
progress bar
required time
uniform velocity
correspondence
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.)
Pending
Application number
CN201110082492XA
Other languages
Chinese (zh)
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.)
Qizhi Software Beijing 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 CN201110082492XA priority Critical patent/CN102207863A/en
Publication of CN102207863A publication Critical patent/CN102207863A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for controlling a progress bar to advance. The method comprises the following steps: recording the time required for completing the loading of a task; and controlling a progress bar corresponding to the task to advance at a constant speed according to the recorded time required for completing the loading of the task when the task is reloaded. The method can accurately acquire the time required for completing the task, so that the progress bar can accurately reflect the task execution schedule.

Description

Control method that a kind of progress bar advances and device
Technical field
The present invention relates to the technical field that progress bar is handled, particularly relate to the control device that control method that a kind of progress bar advances and a kind of progress bar advance.
Background technology
When carrying out install software, file in download or opening a task such as program, have a progress status monitoring window and eject, Here it is progress bar.It looks like a fuel level gauge usually, along with task executions from left to right is filled gradually.It can also provide more information, the number percent of finishing such as task, and, task excess time etc.
In practice, often following situation may appear:
(1) obviously just at first, progress bar but shows has finished in task;
(2) progress bar shows that the required by task time of handling also remains " about 20234068 hours ";
(3) progress bar display file is downloaded and is finished, but in fact downloads still underway;
(4) progress bar shows that certain task also needs 3 minutes, drops to 2 minutes then, afterwards or remain unchanged, or rebound 3 minutes, or even 45 minutes.
Problem of suchlike situation explanation is exactly that progress bar can not accurately demonstrate the user in fact and sends the implementation status of assignment instructions to computer, promptly can not accurately reflect the task implementation progress.Cause the main cause of this problem to be, the interior at one time task to be processed in computer inside is too many, to such an extent as to it can't estimate and judge the required time of finishing the work exactly at all.
Therefore, need the urgent technical matters that solves of those skilled in the art to be exactly at present: to propose the controlling schemes that a kind of progress bar advances,, make progress bar can accurately reflect the task implementation progress in order to accurately to obtain the required time of finishing the work.
Summary of the invention
Technical matters to be solved by this invention provides the control method that a kind of progress bar advances, and in order to accurately to obtain the required time of finishing the work, makes progress bar can accurately reflect the task implementation progress.
The control device that the present invention also provides a kind of progress bar to advance is in order to guarantee said method application and realization in practice.
In order to address the above problem, the embodiment of the invention discloses the control method that a kind of progress bar advances, comprising:
Logger task loads and finishes the required time;
When described task loads once more, to finish the required time according to the task loading of being write down, the progress bar of controlling described task correspondence at the uniform velocity advances.
Preferably, to load the step of finishing required time be to load this task at the local record current device and finish the required time for described logger task; Described method also comprises:
Extracting corresponding task according to the load information of task from current device loads and finishes the required time.
Preferably, described task loads and finishes required time keeping in the webserver, and described method also comprises:
Obtaining corresponding task according to the load information of task from the webserver loads and finishes the required time.
Preferably, described logger task loading is finished the step of required time and is, a plurality of clients of record load this task and finish the required time in the webserver, and described client has configuration parameter information;
Described method also comprises:
Obtain request to the described webserver submission task loading deadline, comprise the information of task loading and the configuration parameter information of active client in the described request;
The described webserver is according to the load information of described task and the system parameter message of client, and the task of extracting correspondence loads the record of finishing required time and returns to active client.
Preferably, described task according to record loads to be finished the required time, and the step that the progress bar of control task correspondence at the uniform velocity advances comprises:
Adopt the task loading of described record to finish the required time, the progress bar of control task correspondence at the uniform velocity advances;
Perhaps,
Task according to described record loads the time coefficient of finishing the required time and presetting, and the progress bar of control task correspondence at the uniform velocity advances.
Preferably, when described task comprises a plurality of subtask, the progress bar of described task correspondence is made up of the sub-range of each subtask correspondence, and described task according to record loads to be finished the required time, and the step that the progress bar of control task correspondence at the uniform velocity advances comprises:
Load according to each subtask respectively and finish the required time, the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence.
Preferably, the progress bar of the described control task correspondence step of at the uniform velocity advancing comprises:
In the progress bar of task correspondence, be provided with at the uniform velocity interval and buffering interval, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
In described at the uniform velocity interval, at the uniform velocity advance according to described task deadline control progress bar;
If described task was finished in the at the uniform velocity interval pairing time, then progress bar directly advances to completion status;
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, described task loads and finish the required time for triggering the time of ending from task when task is carried out end.
The embodiment of the invention also discloses the control device that a kind of progress bar advances, comprising:
The time keeping module is used for the logger task loading and finishes the required time;
The progress bar control module of advancing is used for when described task loads once more, loads according to being write down of task and finishes the required time, and the progress bar of controlling described task correspondence at the uniform velocity advances.
Preferably, described time keeping module comprises:
The local record submodule is used for loading this task at the local record current device and finishes the required time;
Described device also comprises:
Local acquisition module is used for finishing the required time from the task loading that current device extracts correspondence according to the load information of task.
Preferably, described time keeping module comprises:
The Network records submodule is used for finishing the required time in the loading of webserver logger task;
Described device also comprises:
The network acquisition module is used for finishing the required time from the task loading that the webserver obtains correspondence according to the load information of task.
Preferably, described time keeping module comprises:
The server record submodule is used for loading this task in a plurality of clients of webserver record and finishes the required time, and described client has configuration parameter information;
Described device also comprises:
Request module is used for obtaining request to the described webserver submission task loading deadline, comprises the information of task loading and the configuration parameter information of active client in the described request;
Receiver module is used to receive the webserver according to the load information of described task and the system parameter message of client, and the corresponding task of returning loads finishes required time.
Preferably, the described progress bar control module of advancing comprises:
Directly controlling sub is used to adopt the task loading of described record to finish the required time, and the progress bar of control task correspondence at the uniform velocity advances;
Perhaps,
The calculation control submodule is used for loading the time coefficient of finishing the required time and presetting according to the task of described record, and the progress bar of control task correspondence at the uniform velocity advances.
Preferably, when described task comprised a plurality of subtask, the progress bar of described task correspondence was made up of the sub-range of each subtask correspondence, and the described progress bar control module of advancing comprises:
The sub-range controlling sub is used for loading according to each subtask respectively finishing the required time, and the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence.
Preferably, the described progress bar control module of advancing comprises:
The interval is provided with submodule, be used for the progress bar of task correspondence be provided with at the uniform velocity interval and buffering interval, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
At the uniform velocity controlling sub is used at the uniform velocity advancing according to described task deadline control progress bar in described at the uniform velocity interval;
The completion status controlling sub 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;
The Easy abeadl controlling sub 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, described task loads and finish the required time for triggering the time of ending from task when task is carried out end.
Compared with prior art, the present invention has the following advantages:
1, the embodiment of the invention is by finishing the required time record with task loading formerly, comprise and be recorded in local time keeping, perhaps, be recorded in the time keeping of the webserver etc., as the advance time reference of control of progress bar when the back task loads, make equipment can obtain to finish current task as far as possible exactly and load the required time, chien shih progress bar can accurately demonstrate the task executions situation during based on this, accurately reflects the progress that current task is carried out.
2, the embodiment of the invention can also in progress bar, be provided with at the uniform velocity interval and buffering interval, adopt formerly the task of record to load to finish required time to control progress bar and at the uniform velocity at the uniform velocity advancing in the interval.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 control method embodiment 1 that advances of a kind of progress bar of the present invention
Fig. 2 is the process flow diagram of the control method embodiment 2 that advances of a kind of progress bar of the present invention;
Fig. 3 is the process flow diagram of the control method embodiment 3 that advances of a kind of progress bar of the present invention
Fig. 4 is the process flow diagram of the control method embodiment 4 that advances of a kind of progress bar of the present invention;
Fig. 5 is the process flow diagram of the control method embodiment 5 that advances of a kind of progress bar of the present invention;
Fig. 6 is the structured flowchart of the control device embodiment that advances 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.
With reference to figure 1, show the process flow diagram of the control method embodiment 1 that a kind of progress bar of the present invention advances, specifically can may further comprise the steps:
Step 101, logger task load and finish the required time;
Step 102, when described task loads once more, load according to the task of being write down and to finish the required time, the progress bar of controlling described task correspondence at the uniform velocity advances.
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 the 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.
In embodiments of the present invention, described task loads to be finished the required time and is meant to trigger to task from task and carries out the time of ending when finishing, and is specifically as follows: trigger to begin to carry out to finish to the acquisition task from task and point out this section period only; Or be to trigger this section period that begins to carry out to task loading interface pass apolipsis from task; Or be to begin to carry out this section period that is all over and ends to process to the current task correspondence from the task triggering; Or be to trigger to begin to carry out to beginning from task and carry out this section period only etc. to next task.It all is feasible that those skilled in the art adopt any calculation task to load the mode of finishing required time according to actual conditions, and the present invention does not limit this.
The embodiment of the invention is by finishing the required time record with task loading formerly, as the advance time reference of control of progress bar when the back task loads, make equipment can obtain to finish current task as far as possible exactly and load the required time, based on the task of record formerly load finish required time determine current task load the length of corresponding progress bar, and load according to this task and to finish required time, control this progress bar and increase length at the uniform velocity forward.Thereby make progress bar can accurately demonstrate the task executions situation, accurately reflect the progress that current task is carried out.
With reference to figure 2, show the process flow diagram of the control method embodiment 2 that a kind of progress bar of the present invention advances, specifically can may further comprise the steps:
Step 201, load this task at the local record current device and finish the required time;
Step 202, when described task loads once more, extracting corresponding task according to the load information of task from current device loads and finishes the required time, and load according to described task and to finish the required time, the progress bar of controlling described task correspondence at the uniform velocity advances.
In specific implementation, can load this task at the local record current device at every turn and finish the required time, when described task loads once more, can extract in the current device certain once this task that loads and finish the required time, load the reference value of finishing required time as current task; Preferably, can extract the last time (promptly last) and load this task and finish the required time, load the reference value of finishing required time as current task.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 this task of the last loading of employing is finished the required time and loaded the reference value of finishing required time as current task, can make the more accurate progress that reflects that current task is carried out of progress bar.
In specific implementation, consider the problem that equipment performance and travelling speed reduce, those skilled in the art also can finish the local record of required time based on certain loading tasks, adopt a default adjustment coefficient, as 1.2, adjust, the adjusted time is loaded the reference value of finishing required time as current task; Perhaps, those skilled in the art also can get the mean value that loading tasks is several times finished required time, load the reference value of finishing required time as current task, and the present invention does not limit this.
With reference to figure 3, show the process flow diagram of the control method embodiment 3 that a kind of progress bar of the present invention advances, specifically can may further comprise the steps:
Step 301, the record current device loads this task and finishes the required time in the webserver;
Step 302, when described task loads once more, obtaining corresponding task according to the load information of task from the webserver loads and finishes the required time, and load according to described task and to finish the required time, the progress bar of controlling described task correspondence at the uniform velocity advances.
In the present embodiment, collected a lot of tasks loadings in the webserver and finished required time, these tasks loadings are finished required time information and can be gathered from client, also can preset, and also can import.When the webserver receives Client-initiated task load request, then according to the task load information that comprises in this request, find corresponding task loading and finish required time information, return to requesting users then.
With reference to figure 4, show the process flow diagram of the control method embodiment 4 that a kind of progress bar of the present invention advances, specifically can may further comprise the steps:
Step 401, a plurality of clients of record load this task and finish the required time in the webserver, and described client has configuration parameter information;
Step 402, when described task loads once more, load the deadline to described webserver submission task and obtain request, comprise the information that task loads and the configuration parameter information of active client in the described request;
Step 403, the described webserver are according to the load information of described task and the system parameter message of client, and the task of extracting correspondence loads the record of finishing required time and returns to active client.
In the present embodiment, the task of having collected a plurality of clients in the webserver loads the parameter configuration of finishing required 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 BDA0000053485090000091
In this case, when task loads once more, 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, finishes required time 40 minutes so the webserver extracts corresponding task loading, returns to active client.
In embodiments of the present invention, can directly adopt the task loading of described record to finish the required time, the progress bar of control task correspondence at the uniform velocity advances; Can also load according to the task of described record and finish required time and default time coefficient, the progress bar of control task correspondence at the uniform velocity advances.The present invention does not limit this.
In a preferred embodiment of the present invention, the step that the progress bar of described control task correspondence at the uniform velocity advances can comprise following substep:
Substep S11, in the progress bar of task correspondence, be provided with at the uniform velocity interval and buffering interval, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
Substep S12, in described at the uniform velocity interval, at the uniform velocity advance according to described task deadline control progress bar;
Substep S13, if described task in the at the uniform velocity interval pairing time, finish, then progress bar directly advances to completion status;
Substep S14, 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.
For example, suppose that it is t that the required time is finished in the task loading; Comprise N sub-range in the progress bar of task correspondence; Interval (1-x%) * N of at the uniform velocity interval x%*N and buffering is set in described progress bar; Get x=75, promptly current at the uniform velocity interval comprises 75% sub-range, and 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.If described task can not be finished in the at the uniform velocity interval pairing time, then control progress bar between buffer zone in according to the speed Easy abeadl of v2=1/2*v1, wherein, v1 is that progress bar is at the uniform velocity interval pace, v2 is the pace of progress bar between buffer zone, and this speed per second renewal once, 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.
Use present embodiment, not only can allow progress bar at the uniform velocity, advance smoothly, can also solve because of current task loads and finish the inaccurate abnormal problem that causes of required time.
With reference to figure 5, show the process flow diagram of the control method embodiment 5 that a kind of progress bar of the present invention advances, specifically can may further comprise the steps:
Step 501, logger task load and finish the required time; Described task comprises a plurality of subtasks, and described task loads and finishes the required time is that a plurality of subtasks load the accumulative total of finishing required time;
Step 502, when described task loads once more, load according to each subtask respectively and finish the required time, the control progress bar at the uniform velocity advances in the progress bar sub-range of subtask correspondence.
In the present embodiment, progress bar is the aggregate scheduling bar that represents a plurality of subtasks, for example, certain task Z comprises three subtask A, B, C, subtask A loads and finishes the required time is 3 minutes, subtask B loads and finishes the required time is 2 minutes, and subtask C loads and finishes the required time is 5 minutes, and the progress bar time corresponding of task Z is 10 minutes.In this case, subtask A accounts for 3/10 sub-range, and subtask B accounts for 2/10 sub-range, and subtask C accounts for 5/10 sub-range.When subtasking A, adopt subtask A to load and finish 3 minutes required time, the control progress bar at the uniform velocity advances in 3/10 shared sub-range of subtask A; When subtasking B, adopt subtask B to load and finish 2 minutes required time, the control progress bar at the uniform velocity advances in 2/10 shared sub-range of subtask B; When subtasking C, adopt subtask C to load and finish 5 minutes required time, the control progress bar at the uniform velocity advances in 5/10 shared sub-range of subtask C.
Use present embodiment, whenever finish a subtask, progress bar increases the number percent of this subtask correspondence forward, finishes up to whole task.
In embodiments of the present invention, can directly adopt described subtask to load and finish the required time, the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence; Can also load according to described subtask and finish required time and default time coefficient, the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence.The present invention does not limit this.
The embodiment of the invention is by finishing the required time record with subtask loading formerly, the progress bar time reference of control that advances when loading in the subtask, back, make equipment can obtain to finish current task as far as possible exactly and load the required time, based on the subtask of record formerly load finish required time determine current subtask load the length in corresponding progress bar sub-range, and load according to this task and to finish required time, the control progress bar increases length at the uniform velocity forward in the sub-range of correspondence.Thereby make progress bar can accurately reflect the progress that each subtask and general assignment are carried out.
In a preferred embodiment of the present invention, the progress bar sub-range of described subtask correspondence can be divided at the uniform velocity interval and buffering interval, between described buffer zone and the complete progress bar sub-range of at the uniform velocity interval formation; And in described at the uniform velocity interval, load to finish in the sub-range of required time control progress bar in correspondence and at the uniform velocity advance according to described subtask; And when finishing in time corresponding in described subtask, progress bar is directly covered current sub-range; In the time of can not in time corresponding, finishing in described subtask, control progress bar between buffer zone in Easy abeadl, when task is finished, cover current sub-range.
Need to prove, for preceding 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 6, show the structured flowchart of the control device embodiment that a kind of progress bar of the present invention advances, specifically can comprise with lower module:
Time keeping module 601 is used for the logger task loading and finishes the required time;
The progress bar control module 602 of advancing is used for when described task loads once more, loads according to being write down of task and finishes the required time, and the progress bar of controlling described task correspondence at the uniform velocity advances.
In a preferred embodiment of the present invention, described time keeping module can comprise following submodule:
The local record submodule is used for loading this task at the local record current device and finishes the required time;
In this case, described device can also comprise:
Local acquisition module is used for finishing the required time from the task loading that current device extracts correspondence according to the load information of task.
In another kind of preferred embodiment of the present invention, described time keeping module can comprise following submodule:
The Network records submodule is used for finishing the required time in the loading of webserver logger task;
In this case, described device can also comprise:
Network obtains submodule, is used for finishing the required time from the task loading that the webserver obtains correspondence according to the load information of task.
In another kind of preferred embodiment of the present invention, described time keeping module can comprise following submodule:
The server record submodule is used for loading this task in a plurality of clients of webserver record and finishes the required time, and described client has configuration parameter information;
In this case, described device can also comprise:
The request submodule is used for obtaining request to the described webserver submission task loading deadline, comprises the information of task loading and the configuration parameter information of active client in the described request;
Receive submodule, be used to receive the webserver according to the load information of described task and the system parameter message of client, the corresponding task of returning loads finishes required time.
In specific implementation, the described progress bar control module of advancing can also comprise following submodule:
Directly controlling sub is used to adopt the task loading of described record to finish the required time, and the progress bar of control task correspondence at the uniform velocity advances;
Perhaps,
The calculation control submodule is used for loading the time coefficient of finishing the required time and presetting according to the task of described record, and the progress bar of control task correspondence at the uniform velocity advances.
As the example of a kind of concrete application of the present invention, when described task comprised a plurality of subtask, the progress bar of described task correspondence was made up of the sub-range of each subtask correspondence, and the described progress bar control module of advancing can comprise following submodule:
The sub-range controlling sub is used for loading according to each subtask respectively finishing the required time, and the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence.
As a kind of more preferred embodiment of the present invention, the described progress bar control module of advancing can comprise following submodule:
The interval is provided with submodule, be used for the progress bar of task correspondence be provided with at the uniform velocity interval and buffering interval, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
At the uniform velocity controlling sub is used at the uniform velocity advancing according to described task deadline control progress bar in described at the uniform velocity interval;
The completion status controlling sub 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;
The Easy abeadl controlling sub 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 practice, described task loads and finish the required time for triggering the time of ending from task when task is carried out end.
Because present embodiment is substantially corresponding to preceding method embodiment, 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 control device that advances of control method that a kind of progress bar provided by the present invention is advanced and a kind of progress bar be 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 (16)

1. the control method that progress bar advances is characterized in that, comprising:
Logger task loads and finishes the required time;
When described task loads once more, to finish the required time according to the task loading of being write down, the progress bar of controlling described task correspondence at the uniform velocity advances.
2. the method for claim 1 is characterized in that, it is to load this task at the local record current device and finish the required time that described logger task loads the step of finishing required time; Described method also comprises:
Extracting corresponding task according to the load information of task from current device loads and finishes the required time.
3. the method for claim 1 is characterized in that, described task loads and finishes required time keeping in the webserver, and described method also comprises:
Obtaining corresponding task according to the load information of task from the webserver loads and finishes the required time.
4. the method for claim 1 is characterized in that, described logger task loading is finished the step of required time and is, a plurality of clients of record load this task and finish the required time in the webserver, and described client has configuration parameter information;
Described method also comprises:
Obtain request to the described webserver submission task loading deadline, comprise the information of task loading and the configuration parameter information of active client in the described request;
The described webserver is according to the load information of described task and the system parameter message of client, and the task of extracting correspondence loads the record of finishing required time and returns to active client.
5. as claim 1,2,3 or 4 described methods, it is characterized in that described task according to record loads to be finished the required time, the step that the progress bar of control task correspondence at the uniform velocity advances comprises:
Adopt the task loading of described record to finish the required time, the progress bar of control task correspondence at the uniform velocity advances;
Perhaps,
Task according to described record loads the time coefficient of finishing the required time and presetting, and the progress bar of control task correspondence at the uniform velocity advances.
6. the method for claim 1, it is characterized in that, when described task comprises a plurality of subtask, the progress bar of described task correspondence is made up of the sub-range of each subtask correspondence, described task according to record loads to be finished the required time, and the step that the progress bar of control task correspondence at the uniform velocity advances comprises:
Load according to each subtask respectively and finish the required time, the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence.
7. method as claimed in claim 5 is characterized in that, the step that the progress bar of described control task correspondence at the uniform velocity advances comprises:
In the progress bar of task correspondence, be provided with at the uniform velocity interval and buffering interval, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
In described at the uniform velocity interval, at the uniform velocity advance according to described task deadline control progress bar;
If described task was finished in the at the uniform velocity interval pairing time, then progress bar directly advances to completion status;
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.
8. the method for claim 1 is characterized in that, described task loads finishes the required time for triggering the time of ending from task when task is carried out end.
9. the control device that progress bar advances is characterized in that, comprising:
The time keeping module is used for the logger task loading and finishes the required time;
The progress bar control module of advancing is used for when described task loads once more, loads according to being write down of task and finishes the required time, and the progress bar of controlling described task correspondence at the uniform velocity advances.
10. device as claimed in claim 9 is characterized in that, described time keeping module comprises:
The local record submodule is used for loading this task at the local record current device and finishes the required time;
Described device also comprises:
Local acquisition module is used for finishing the required time from the task loading that current device extracts correspondence according to the load information of task.
11. device as claimed in claim 9 is characterized in that, described time keeping module comprises:
The Network records submodule is used for finishing the required time in the loading of webserver logger task;
Described device also comprises:
The network acquisition module is used for finishing the required time from the task loading that the webserver obtains correspondence according to the load information of task.
12. device as claimed in claim 9 is characterized in that, described time keeping module comprises:
The server record submodule is used for loading this task in a plurality of clients of webserver record and finishes the required time, and described client has configuration parameter information;
Described device also comprises:
Request module is used for obtaining request to the described webserver submission task loading deadline, comprises the information of task loading and the configuration parameter information of active client in the described request;
Receiver module is used to receive the webserver according to the load information of described task and the system parameter message of client, and the corresponding task of returning loads finishes required time.
13., it is characterized in that the described progress bar control module of advancing comprises as claim 9,10,11 or 12 described devices:
Directly controlling sub is used to adopt the task loading of described record to finish the required time, and the progress bar of control task correspondence at the uniform velocity advances;
Perhaps,
The calculation control submodule is used for loading the time coefficient of finishing the required time and presetting according to the task of described record, and the progress bar of control task correspondence at the uniform velocity advances.
14. device as claimed in claim 9 is characterized in that, when described task comprised a plurality of subtask, the progress bar of described task correspondence was made up of the sub-range of each subtask correspondence, and the described progress bar control module of advancing comprises:
The sub-range controlling sub is used for loading according to each subtask respectively finishing the required time, and the control progress bar at the uniform velocity advances in the sub-range of subtask correspondence.
15. method as claimed in claim 13 is characterized in that, the described progress bar control module of advancing comprises:
The interval is provided with submodule, be used for the progress bar of task correspondence be provided with at the uniform velocity interval and buffering interval, between described buffer zone and at the uniform velocity intervally constitute complete progress bar;
At the uniform velocity controlling sub is used at the uniform velocity advancing according to described task deadline control progress bar in described at the uniform velocity interval;
The completion status controlling sub 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;
The Easy abeadl controlling sub 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.
16. device as claimed in claim 9 is characterized in that, described task loads finishes the required time for triggering the time of ending from task when task is carried out end.
CN201110082492XA 2011-04-01 2011-04-01 Method and device for controlling progress bar to advance Pending CN102207863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110082492XA CN102207863A (en) 2011-04-01 2011-04-01 Method and device for controlling progress bar to advance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110082492XA CN102207863A (en) 2011-04-01 2011-04-01 Method and device for controlling progress bar to advance

Publications (1)

Publication Number Publication Date
CN102207863A true CN102207863A (en) 2011-10-05

Family

ID=44696711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110082492XA Pending CN102207863A (en) 2011-04-01 2011-04-01 Method and device for controlling progress bar to advance

Country Status (1)

Country Link
CN (1) CN102207863A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103631646A (en) * 2013-11-29 2014-03-12 北京京东尚科信息技术有限公司 Method and system for calculating task schedule
CN103631571A (en) * 2012-08-21 2014-03-12 腾讯科技(深圳)有限公司 Method and device for controlling progress bar
CN103686303A (en) * 2013-12-04 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and device for displaying loading icons
CN103942227A (en) * 2013-01-23 2014-07-23 腾讯科技(深圳)有限公司 Method, device and system for displaying information pushing process in rendering mode
WO2014198115A1 (en) * 2013-06-13 2014-12-18 Tencent Technology (Shenzhen) Company Limited Method, device and computer-readable storage medium for progress bar control
CN104778055A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
CN105183322A (en) * 2015-09-18 2015-12-23 百度在线网络技术(北京)有限公司 Progress bar display method and device
CN105389179A (en) * 2015-10-19 2016-03-09 上海斐讯数据通信技术有限公司 Method and device for processing router upgrade time
CN105446187A (en) * 2014-09-19 2016-03-30 Abb技术股份公司 Device for managing and configuring field devices in an automation installation
CN105653320A (en) * 2015-12-25 2016-06-08 小米科技有限责任公司 Loaded icon display method and apparatus
CN106383704A (en) * 2016-08-31 2017-02-08 腾讯科技(深圳)有限公司 Progress bar data processing method and apparatus
CN104123214B (en) * 2013-04-26 2017-07-14 阿里巴巴集团控股有限公司 The method and system of tasks carrying progress metrics and displaying based on runtime data
CN108037968A (en) * 2017-12-01 2018-05-15 东软集团股份有限公司 Display methods, device, storage medium and the electronic equipment of implementation progress
WO2018107720A1 (en) * 2016-12-12 2018-06-21 掌阅科技股份有限公司 Method and device for processing data of electronic book, and mobile terminal
CN112882768A (en) * 2021-02-07 2021-06-01 深圳市来玩科技有限公司 Progress bar loading method, device and equipment and computer readable storage medium
CN113287175A (en) * 2018-11-30 2021-08-20 蒋荣先 Interactive health status evaluation method and system thereof

Citations (2)

* 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
CN101394421A (en) * 2008-10-30 2009-03-25 深圳市金蝶中间件有限公司 Method, apparatus and system implementing operational notification

Patent Citations (2)

* 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
CN101394421A (en) * 2008-10-30 2009-03-25 深圳市金蝶中间件有限公司 Method, apparatus and system implementing operational notification

Non-Patent Citations (1)

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

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065087B (en) * 2011-10-20 2015-12-09 腾讯科技(深圳)有限公司 Multi engine antivirus software process progress display packing and device
CN103065087A (en) * 2011-10-20 2013-04-24 腾讯科技(深圳)有限公司 Display method and device of multiengine antivirus program processing schedule
CN103136089B (en) * 2011-11-25 2016-08-17 腾讯科技(深圳)有限公司 A kind of progress bar display packing and device
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
CN103631571B (en) * 2012-08-21 2017-09-22 腾讯科技(深圳)有限公司 The control method and device of a kind of progress bar
CN103942227A (en) * 2013-01-23 2014-07-23 腾讯科技(深圳)有限公司 Method, device and system for displaying information pushing process in rendering mode
CN103942227B (en) * 2013-01-23 2018-07-06 腾讯科技(深圳)有限公司 A kind of methods, devices and systems for process of information push render presentation
CN104123214B (en) * 2013-04-26 2017-07-14 阿里巴巴集团控股有限公司 The method and system of tasks carrying progress metrics and displaying based on runtime data
WO2014198115A1 (en) * 2013-06-13 2014-12-18 Tencent Technology (Shenzhen) Company Limited Method, device and computer-readable storage medium for progress bar control
CN104244100A (en) * 2013-06-13 2014-12-24 腾讯科技(深圳)有限公司 Progress bar control method and device
CN104244100B (en) * 2013-06-13 2018-09-11 腾讯科技(深圳)有限公司 progress bar control method and device
CN103631646B (en) * 2013-11-29 2016-08-17 北京京东尚科信息技术有限公司 A kind of method and system calculating Task Progress
CN103631646A (en) * 2013-11-29 2014-03-12 北京京东尚科信息技术有限公司 Method and system for calculating task schedule
CN103686303A (en) * 2013-12-04 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and device for displaying loading icons
CN104778055A (en) * 2014-01-15 2015-07-15 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
CN105446187A (en) * 2014-09-19 2016-03-30 Abb技术股份公司 Device for managing and configuring field devices in an automation installation
CN105183322A (en) * 2015-09-18 2015-12-23 百度在线网络技术(北京)有限公司 Progress bar display method and device
CN105183322B (en) * 2015-09-18 2018-02-27 百度在线网络技术(北京)有限公司 Progress bar display methods and device
CN105389179A (en) * 2015-10-19 2016-03-09 上海斐讯数据通信技术有限公司 Method and device for processing router upgrade time
CN105653320A (en) * 2015-12-25 2016-06-08 小米科技有限责任公司 Loaded icon display method and apparatus
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
WO2018107720A1 (en) * 2016-12-12 2018-06-21 掌阅科技股份有限公司 Method and device for processing data of electronic book, and mobile terminal
US10803339B2 (en) 2016-12-12 2020-10-13 Zhangyue Technology Co., Ltd Data processing method and device for electronic book, and mobile terminal
CN108037968A (en) * 2017-12-01 2018-05-15 东软集团股份有限公司 Display methods, device, storage medium and the electronic equipment of implementation progress
CN108037968B (en) * 2017-12-01 2021-11-05 东软集团股份有限公司 Execution progress display method and device, storage medium and electronic equipment
CN113287175A (en) * 2018-11-30 2021-08-20 蒋荣先 Interactive health status evaluation method and system thereof
CN113287175B (en) * 2018-11-30 2024-03-19 蒋荣先 Interactive health state assessment method and system thereof
CN112882768A (en) * 2021-02-07 2021-06-01 深圳市来玩科技有限公司 Progress bar loading method, device and equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102207863A (en) Method and device for controlling progress bar to advance
CN102141953B (en) Method and device for showing progress bar
US9037704B2 (en) Server and method for managing monitored data
US10935937B2 (en) Work assistance device, work assistance method, and work assistance program
US11200258B2 (en) Systems and methods for fast and effective grouping of stream of information into cloud storage files
US10088836B2 (en) Methods, systems, and apparatus for resource allocation in a manufacturing environment
WO2012124542A1 (en) Control device and system program
CN102207889B (en) Command control method and command controller
US9423957B2 (en) Adaptive system provisioning
KR102134944B1 (en) Method and system for bandwidth-dependent file transfer
CN103530145A (en) Progress bar setting method and device
CN103902357A (en) Application program management system and method
CN110187838B (en) Data IO information processing method, analysis method, device and related equipment
US9742684B1 (en) Adaptive service scaling
CN113196251A (en) Storage management apparatus, method and program
CN102882978A (en) Server and application updating method
CN114223189A (en) Duration statistical method and device, electronic equipment and computer readable medium
CN103903312A (en) Method and device for executing automatic inspection
CN103840910A (en) Data transmission control method and apparatus
WO2014190498A1 (en) Application ranking calculating apparatus and usage information collecting apparatus
US20160253591A1 (en) Method and apparatus for managing performance of database
WO2005115003A1 (en) System and method for efficiently implementing processed data structures in an electronic network
JP6031051B2 (en) Job execution planning device
CN103645983A (en) Method and device for generating journal file in domestic environment
CN104050100B (en) A kind of data flow memory management method and system suitable for big data environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111005