CN113590007A - Progress bar generation method and device, computer equipment and storage medium - Google Patents

Progress bar generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113590007A
CN113590007A CN202110856488.8A CN202110856488A CN113590007A CN 113590007 A CN113590007 A CN 113590007A CN 202110856488 A CN202110856488 A CN 202110856488A CN 113590007 A CN113590007 A CN 113590007A
Authority
CN
China
Prior art keywords
progress
value
progress bar
virtual
bar
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
CN202110856488.8A
Other languages
Chinese (zh)
Other versions
CN113590007B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202110856488.8A priority Critical patent/CN113590007B/en
Publication of CN113590007A publication Critical patent/CN113590007A/en
Application granted granted Critical
Publication of CN113590007B publication Critical patent/CN113590007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application belongs to the technical field of computers, and relates to a method for generating a progress bar, which comprises the following steps: after the business operation of the back end is started, monitoring and acquiring a first real progress value of the business operation, and generating and updating a progress bar by taking the first real progress value as a progress value of the progress bar; before the progress of the progress bar is finished, if the first real progress value is detected to be interrupted, determining estimated time length from the interruption time point as a starting point to the end of the business operation execution according to the progress value of the progress bar at the interruption time point and preset total estimated time length for executing the business operation; and generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value. The application also provides a generating device of the progress bar, computer equipment and a storage medium.

Description

Progress bar generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a progress bar, a computer device, and a storage medium.
Background
At present, when some complex time-consuming operations are executed, the progress of the operations is updated in real time by using a progress bar, so that the patience threshold of a user can be improved, and the user experience is well optimized. The progress scrolling of the progress bar needs the back end to provide the progress value in real time, but the back end cannot be interrupted in the middle under certain specific conditions to return the progress information, so that the process bar is unlikely to be updated in real time, optimization can be replaced by some other modes, and the effect is far from intuitive without the progress bar.
Therefore, how to generate the simulation progress bar at the front-end simulation progress value without a real back-end real-time progress value is a technical problem to be solved at present.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for generating a progress bar, a computer device, and a storage medium, so as to solve a technical problem of how to generate a simulated progress bar by simulating a progress value at a front end to achieve a user experience same as that of a real progress bar.
In order to solve the above technical problem, an embodiment of the present application provides a method for generating a progress bar, which adopts the following technical solutions:
after the business operation of the back end is started, monitoring and acquiring a first real progress value of the business operation, and generating and updating the progress bar by taking the first real progress value as the progress value of the progress bar;
before the progress of the progress bar is finished, if the first real progress value is detected to be interrupted, determining the estimated time length from the interruption time point as a starting point to the execution finish of the business operation according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation;
and generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value.
In some possible implementation manners of the embodiment of the application, after the step of generating the virtual progress value of the progress bar after the interruption time point according to the preset algorithm and the estimated duration and updating the progress bar according to the virtual progress value, the method for generating the progress bar may further include:
before the progress of the progress bar is finished, if a second real progress value of the business operation is detected again, whether the second real progress value is larger than or equal to the current virtual progress value of the progress bar is judged;
if the progress value is larger than or equal to the first true progress value, updating the progress bar by taking the second true progress value as the progress value of the progress bar;
if the second real progress value is smaller than the virtual progress value, the progress bar is stopped to be updated until the second real progress value is larger than or equal to the virtual progress value, and then the progress bar is updated by taking the second real progress value as the progress value of the progress bar.
In some possible implementation manners of the embodiment of the application, the step of generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value may include:
step a, inputting the estimated duration into a first preset algorithm, and calculating a single increment, where the first preset algorithm may include:
Rise=random/(comTime/rate)
wherein Rise represents a single increment, combime is an estimated duration, rate is a single rate duration, and random is a random number between 100 and 999 generated in each calculation;
step B, inputting the single increment into a second preset algorithm, and calculating a virtual progress value of the progress bar after the interruption time point, where the second preset algorithm may include:
next=cur+(100%-cur)*rise*multiVal
wherein, next represents the calculated virtual progress value, cur represents the progress value of the progress bar at the last time point, 100% represents the maximum progress value, and MultiVal represents the preset growth multiplying power;
step C, updating the progress bar according to the virtual progress value;
and step D, circularly executing the following steps A to C every preset rate duration until the business operation execution is finished.
In some possible implementation manners of the embodiment of the present application, in the step C, the step of updating the progress bar according to the virtual progress value may include:
judging whether the virtual progress value is greater than 100% or not and judging whether the business operation is finished or not;
if the virtual progress value is less than 100% and the business operation is not finished, updating the progress bar by taking the virtual progress value as the progress value of the progress bar;
if the virtual progress value is greater than or equal to 100% and the business operation is not finished, stopping the updating process of the progress value of the progress bar and the progress of the progress bar in the round;
and if the business operation is finished, updating the progress value of the progress bar to be 100 percent, and updating the progress of the progress bar to be the maximum value.
In some possible implementation manners of the embodiment of the present application, the step of determining whether the service operation is ended may include:
after the operation ending identifier at the back end is inquired, whether the service operation is ended or not is determined according to the value of the operation ending identifier, and the operation ending identifier is used for indicating whether the service operation is executed and ended or not.
In some possible implementation manners of the embodiment of the present application, after the step of updating the progress bar by using the virtual progress value as the progress value of the progress bar if the virtual progress value is smaller than 100% and the service operation is not finished, the method for generating the progress bar may further include:
if the virtual progress value is less than 100% but greater than a preset threshold value and the business operation is not finished, the increase rate is reduced to slow down the increase speed of the virtual progress value.
In some possible implementation manners of the embodiment of the present application, if the service operation needs to be connected by a network, in step B, the single increment is input into a second preset algorithm, and a virtual progress value of the progress bar after the interruption time point is calculated, before the step that the second preset algorithm may include, the method for generating the progress bar may further include:
determining the current network speed;
if the network speed is greater than or equal to a preset speed, setting the numerical value of the increase multiplying factor as a first numerical value;
if the network speed is lower than the preset speed, setting the numerical value of the increase multiplying factor as a second numerical value, wherein the first numerical value is higher than the second numerical value.
In order to solve the above technical problem, an embodiment of the present application further provides a device for generating a progress bar, which adopts the following technical solutions:
the first progress bar updating unit is used for monitoring and acquiring a first real progress value of the business operation after the business operation of the back end is started, and generating and updating the progress bar by taking the first real progress value as the progress value of the progress bar;
a calculating unit, configured to determine, before the progress of the progress bar is finished, an estimated time length from the time point of interruption to the end of the service operation according to the progress value of the progress bar at the time point of interruption and a preset total estimated time length for executing the service operation if it is detected that the first true progress value is interrupted;
and the second progress bar updating unit generates a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updates the progress bar according to the virtual progress value.
In some possible implementation manners of the embodiment of the present application, the generating device of the progress bar may further include:
a determining unit, configured to determine, before the progress of the progress bar is completed, whether a second real progress value of the business operation is detected again, where the second real progress value is greater than or equal to a current virtual progress value of the progress bar;
a third progress bar updating unit, configured to update the progress bar with the second true progress value as the progress value of the progress bar if the second true progress value is greater than or equal to the first true progress value; if the second real progress value is smaller than the virtual progress value, the progress bar is stopped to be updated until the second real progress value is larger than or equal to the virtual progress value, and then the progress bar is updated by taking the second real progress value as the progress value of the progress bar.
In some possible implementation manners of the embodiment of the application, the second progress bar updating unit may include:
a first calculating subunit, configured to perform step a, input the estimated duration into a first preset algorithm, and calculate a single increment, where the first preset algorithm may include:
Rise=random/(comTime/rate)
wherein Rise represents a single increment, combime is an estimated duration, rate is a single rate duration, and random is a random number between 100 and 999 generated in each calculation;
a second calculating subunit, configured to perform step B, input the single increment into a second preset algorithm, and calculate a virtual progress value of the progress bar after the interruption time point, where the second preset algorithm may include:
next=cur+(100%-cur)*rise*multiVal
wherein, next represents the calculated virtual progress value, cur represents the progress value of the progress bar at the last time point, 100% represents the maximum progress value, and MultiVal represents the preset growth multiplying power;
an updating subunit, configured to execute step C, and update the progress bar according to the virtual progress value;
and the timing task subunit is used for executing the step D, and circularly executing the steps A to C every preset rate duration until the business operation is finished.
In some possible implementation manners of the embodiment of the present application, the updating subunit includes:
the judging module is used for judging whether the virtual progress value is greater than 100% or not and judging whether the business operation is finished or not;
a first updating module, configured to update the progress bar by using the virtual progress value as the progress value of the progress bar if the virtual progress value is less than 100% and the service operation is not completed;
a second updating module, configured to stop the progress value of the progress bar and the progress of the progress bar in the current round if the virtual progress value is greater than or equal to 100% and the service operation is not finished;
and the third updating module is used for updating the progress value of the progress bar to 100% and updating the progress of the progress bar to the maximum value if the business operation is finished.
In some possible implementation manners of the embodiment of the present application, the determining module is specifically configured to determine whether the service operation is ended according to a value of an operation ending identifier after querying the operation ending identifier at the back end, where the operation ending identifier is used to indicate whether the service operation is ended after being executed.
In some possible implementation manners of the embodiment of the present application, the updating subunit further includes:
and the setting module is used for reducing the increase rate to slow down the increase speed of the virtual progress value if the virtual progress value is less than 100% but greater than a preset threshold value and the business operation is not finished.
In some possible implementation manners of the embodiment of the present application, if the service operation needs to be connected by a network, the generating device of the progress bar may further include:
the network speed detection unit is used for determining the current network speed;
the adjusting unit is used for setting the numerical value of the growth rate as a first numerical value if the network speed is greater than or equal to a preset speed; if the network speed is lower than the preset speed, setting the numerical value of the increase multiplying factor as a second numerical value, wherein the first numerical value is higher than the second numerical value.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which adopts the following technical solutions:
a computer device may comprise a memory having computer readable instructions stored therein and a processor implementing the steps of the method of generating a progress bar as described above when executing the computer readable instructions.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer readable instructions, which when executed by a processor, implement the steps of the generation method of a progress bar as described above.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
according to the method for generating the progress bar, after the business operation at the back end starts, the first real progress value of the business operation can be monitored and obtained, and the progress bar is generated and updated by taking the first real progress value as the progress value of the progress bar. Then, before the progress of the progress bar is finished, if it is detected that the first real progress value is interrupted, the estimated time length from the interruption time point as a starting point to the end of the business operation execution can be determined according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation. And then generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value. According to the foregoing description, that is, in the embodiment of the present application, under the condition that a real backend real-time progress value is lacked, a simulation progress value may be generated to update a progress bar, so as to avoid a technical problem of poor user experience caused by that a progress bar cannot be generated when real backend data is lacked in the prior art.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow diagram of one embodiment of a method of generating a progress bar according to the present application;
FIG. 2 is a flow chart of one embodiment after step S103 in FIG. 1;
fig. 3 is a schematic structural diagram of an embodiment of a progress bar generating apparatus 300 according to the present application;
fig. 4 is a schematic structural diagram of still another embodiment of a progress bar generating apparatus 300 according to the present application;
FIG. 5 is a block diagram of one embodiment of a computer device 500 according to the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the above-described drawings are used for distinguishing between different objects and not for describing a particular order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
Referring specifically to fig. 1, a flow chart of one embodiment of a method of generating a progress bar according to the present application is shown. The generation method of the progress bar comprises the following steps:
step S101, after the business operation of the back end is started, monitoring and acquiring a first real progress value of the business operation, and generating and updating the progress bar by taking the first real progress value as the progress value of the progress bar.
In this embodiment of the present application, a polling mechanism may be set, and after a certain period of time, a first true progress value of a service operation at a back end is obtained by monitoring, and after obtaining, a value of the first true progress value is assigned to a progress value of a progress bar, so that the progress bar is generated and updated based on the first true progress value.
Step S102, before the progress of the progress bar is finished, if the interruption of the first real progress value is detected, determining the estimated time length from the interruption time point as a starting point to the service operation execution end according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the service operation.
In this embodiment, the maximum value of the progress bar is 100%, and if the progress of the progress bar is not completed, that is, the progress value of the progress bar does not reach 100%, if the first true progress value cannot be queried in one polling, it is determined that the first true progress value is interrupted. At this time, the estimated time length from the interruption time point as the starting point to the completion of the service operation execution can be determined according to the current progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the service operation. The following formula can be adopted for calculating the estimated duration:
t=T*(100%-r)/100%
wherein T is the estimated duration obtained by calculation, T is the preset total estimated duration, r is the progress value of the progress bar at the interruption time point, and 100% is the maximum progress value.
For example, if the first real-progress value is monitored to 20%, and the first real-progress value is not queried in the next update period or is not reported by the back end, it is determined that the first real-progress value is interrupted. At this time, if the total estimated time length of the preset rear end is 100s, it is calculated that after the time point of 20%, the time of executing the rear 80% progress is 100s (100% -20%) by 80 s.
And S103, generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value.
In this embodiment, in order to enable the progress of the progress bar to correspond to the progress of the back-end business operation, after the estimated time length is determined, the estimated time length may be input into a preset algorithm, and after a terminal time point is generated, a virtual progress value of the progress bar is generated. And replacing the first real progress value with the virtual progress value to serve as the progress value of the progress bar, and updating the progress bar.
In some possible implementation manners of the embodiment of the application, the step of generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value includes:
step A, inputting the estimated duration into a first preset algorithm, and calculating the single increment, wherein the first preset algorithm comprises the following steps:
Rise=random/(comTime/rate)
wherein Rise represents a single increment, combime is an estimated duration, rate is a single rate duration, and random is a random number between 100 and 999 generated in each calculation;
step B, inputting the single increment into a second preset algorithm, and calculating the virtual progress value of the progress bar after the interruption time point, wherein the second preset algorithm comprises the following steps:
next=cur+(100%-cur)*Rise*multiVal
wherein, next represents the calculated virtual progress value, cur represents the progress value of the progress bar at the last time point, 100% represents the maximum progress value, and MultiVal represents the preset increase multiplying power;
step C, updating the progress bar according to the virtual progress value;
and step D, repeatedly executing the step A to the step C every other time of the rate duration until the service operation execution is finished.
Specifically, in the calculation, the progress value is input in the form of a percentage. The generated random number random can be an integer value between 100 and 999, so as to simulate the randomness of the progress data. The timer may set the wait execution interval to 100ms, that is, rate is 100ms, because the change recognizable to the human eye is 100 ms. The increase multiplying power can be adjusted, different sizes represent different increase speeds of the virtual progress value, and the larger the numerical value is, the faster the increase speed of the virtual progress value is.
In some possible implementation manners of the embodiment of the present application, in step C, the step of updating the progress bar according to the virtual progress value includes:
judging whether the virtual progress value is greater than 100% or not and judging whether the business operation is finished or not;
if the virtual progress value is less than 100% and the business operation is not finished, updating the progress bar by taking the virtual progress value as the progress value of the progress bar;
if the virtual progress value is greater than or equal to 100% and the business operation is not finished, stopping the updating process of the progress value of the progress bar and the progress of the progress bar in the round;
and if the business operation is finished, updating the progress value of the progress bar to be 100 percent, and updating the progress of the progress bar to be the maximum value.
In some possible implementation manners of the embodiment of the present application, the step of determining whether the service operation is ended includes:
after the operation ending identifier at the back end is inquired, whether the service operation is ended or not is determined according to the value of the operation ending identifier, and the operation ending identifier is used for indicating whether the service operation is executed and ended or not.
Specifically, in this embodiment of the present application, the back end may include an operation end identifier, and it may be determined whether the service operation of the back end has ended or not through the operation end identifier. For example, it may be set that the operation end flag may be a variable stopFlag, the variable stopFlag has values of false and true, the variable stopFlag is set to false after the service operation starts, and the value of the variable stopFlag is updated to true after the service operation ends. Thus, it is subsequently possible to determine whether the service operation is finished by determining the value of the variable stopFlag. Whether the business operation is executed is determined according to the operation ending identifier, and then the process of simulating the progress bar progress is controlled according to the judgment result, so that the corresponding accuracy of the progress bar and the real progress of the back-end business operation is improved.
In some possible implementation manners of the embodiment of the present application, after the step of updating the progress bar by using the virtual progress value as the progress value of the progress bar if the virtual progress value is smaller than 100% and the service operation is not finished, the method for generating the progress bar further includes:
if the virtual progress value is less than 100% but greater than a preset threshold value and the business operation is not finished, the increase rate is reduced to slow down the increase speed of the virtual progress value.
Specifically, the general user psychology is analyzed, the progress bar is moderately and quickly scrolled when the progress bar is just started, the motivation effect on the user is stronger, and the acceptable waiting time is longer. Based on this, a preset threshold value may be set, for example, 95%, and when it is determined that the virtual progress value is less than 95% and the service operation is not finished, a larger increase magnification is adopted to realize a faster increase of the virtual progress value; and when the virtual progress value is larger than or equal to 95% and the business operation is not finished, the increasing speed of the virtual progress value is slowed down by reducing the numerical value of the increasing multiplying factor. The reduction degree of the increase multiplying power can be improved along with the improvement of the virtual progress value, namely when the business operation is determined not to be finished, the more the progress is close to 100% of progress, the slower the increase is, until the business operation execution at the rear end is determined to be finished, the progress value of the progress bar is directly filled, and the progress of the progress bar is updated to the maximum. The user experience of the virtual progress bar is improved.
In some possible implementation manners of the embodiment of the present application, if the service operation needs to be connected by a network, in step B, the single increment is input into a second preset algorithm, and a virtual progress value of the progress bar after the interruption time point is calculated, before the step of the second preset algorithm, the method for generating the progress bar further includes:
determining the current network speed;
if the network speed is greater than or equal to the preset speed, setting the numerical value of the increase multiplying power as a first numerical value;
and if the network speed is lower than the preset speed, setting the numerical value of the increase multiplying power as a second numerical value, wherein the first numerical value is higher than the second numerical value.
Specifically, when some back-end service operations are related to network connection, for example, in a loading process of a game process at the back end of an online game, the execution progress of the back-end service often has a direct or indirect relationship with the quality of the network. Based on this, when the virtual progress value is generated, a factor of the network speed can be added, namely after the current network speed is determined, if the current network speed is greater than or equal to the preset speed, the numerical value of the growth multiplying factor is set as a first numerical value; if the speed is less than the preset speed, the numerical value of the increase multiplying power is set as a second numerical value so as to obtain a slower increase speed of the progress value. Wherein the first value is greater than the second value, for example, the first value may be between 1 and 1.5 and the second value may be between 0.5 and 1. When the first numerical value is taken, a faster progress value increasing speed can be obtained according to the calculation formula of the second preset algorithm; when the first value is taken, a slower progress value increase speed can be obtained according to the calculation formula of the second preset algorithm.
In some possible implementations of the embodiment of the present application, referring to the influence of the network speed parameter, the execution speed of some back-end service operations may also be related to the occupancy rate of hardware, such as the occupancy rate of a processor and a memory. Therefore, referring to the above-described influence of the network speed, it may be set that the increase rate has a different value when the occupancy rate of the hardware is different. The occupancy rate of the hardware is low, namely when more hardware resources can be used in the service operation of the back end, the increase rate is set to be a higher numerical value, and the occupancy rate of the hardware is high, namely when no more hardware resources can be used in the service operation of the back end, the increase rate is set to be a lower numerical value. Thus, the simulation effect of the progress bar can be better achieved.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
according to the method for generating the progress bar, after the business operation at the back end starts, the first real progress value of the business operation can be monitored and obtained, and the progress bar is generated and updated by taking the first real progress value as the progress value of the progress bar. Then, before the progress of the progress bar is finished, if it is detected that the first real progress value is interrupted, the estimated time length from the interruption time point as a starting point to the end of the business operation execution can be determined according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation. And then generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value. According to the foregoing description, that is, in the embodiment of the present application, under the condition that a real backend real-time progress value is lacked, a simulation progress value may be generated to update a progress bar, so as to avoid a technical problem of poor user experience caused by that a progress bar cannot be generated when real backend data is lacked in the prior art.
In some possible implementation manners of the embodiment of the present application, referring to fig. 2 specifically, which is an illustration of an embodiment after step S103, the method for generating a progress bar may further include:
s201, before the progress of the progress bar is finished, if a second real progress value of the business operation is detected again, whether the second real progress value is larger than or equal to the current virtual progress value of the progress bar is judged;
s202, if the progress value is larger than or equal to the first true progress value, updating the progress bar by taking the second true progress value as the progress value of the progress bar;
and S203, if the progress value is smaller than the first true progress value, stopping updating the progress bar until the second true progress value is larger than or equal to the virtual progress value, and updating the progress bar by taking the second true progress value as the progress value of the progress bar.
Specifically, in the embodiment of the present application, in the process of updating the progress bar by using the virtual progress bar, if the progress bar is ended, that is, before the progress value of the virtual progress bar reaches 100%, the second real progress value of the back-end service operation is detected again. At this time, in order to achieve the accuracy of the progress bar progress corresponding to the back-end service operation, the calculation process of the virtual progress value should be stopped, and the virtual progress value is converted into a progress value using the second real progress value as the progress bar, so as to update the front-end progress bar. It should be noted that, the second real progress value is directly used instead of the virtual progress value as the progress value of the progress bar to update the front end bar, and although the display of the progress bar may be more accurate, an error condition that the progress bar is backed off may occur. For example, if the virtual progress value is 87% and the progress bar is updated to 87%, and the second real progress value obtained by re-detection is 79%, then if the progress bar is updated by directly using the second real progress value, the display length of the progress bar may be shortened. Therefore, to avoid the above situation, it is possible to set: after the second real progress value is obtained, the second real progress value is compared with the virtual progress value, if the second real progress value is larger than or equal to the virtual progress value, the second real progress value is adopted for updating, otherwise, the calculation of the virtual progress bar is stopped, the progress bar is stopped to be updated, and the progress bar is updated by the second real progress value after the second real progress value is detected to be larger than or equal to the virtual progress value, so that the situation that the display length of the progress bar is shortened is avoided.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
the accuracy of the corresponding progress of the progress bar at the front end and the actual progress of the back-end business operation is improved.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware associated with computer readable instructions, which can be stored in a computer readable storage medium, and when executed, the processes of the embodiments of the methods described above can be included. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
With further reference to fig. 3, as an implementation of the method shown in fig. 1, the present application provides an embodiment of a device for generating a progress bar, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 1, and the device may be applied to various electronic devices.
As shown in fig. 3, the apparatus 300 for generating a progress bar according to this embodiment includes:
a first progress bar updating unit 301, configured to monitor and obtain a first true progress value of a service operation after the service operation at the back end starts, and generate and update the progress bar by using the first true progress value as a progress value of the progress bar;
a calculating unit 302, configured to determine, before the progress of the progress bar is finished, an estimated time length from the time point of interruption to the end of the business operation execution according to the progress value of the progress bar at the time point of interruption and a preset total estimated time length for executing the business operation if it is detected that the first true progress value is interrupted;
the second progress bar updating unit 303 generates a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updates the progress bar according to the virtual progress value.
In some possible implementation manners of the embodiment of the present application, referring to fig. 4 in particular, for a schematic view of another embodiment of a generating apparatus 300 of a progress bar, the generating apparatus 300 of a progress bar may further include:
a determining unit 304, configured to determine, before the progress of the progress bar is finished, whether a second real progress value of the business operation is detected again, whether the second real progress value is greater than or equal to a current virtual progress value of the progress bar;
a third progress bar updating unit 305, configured to update the progress bar by using the second true progress value as the progress value of the progress bar if the second true progress value is greater than or equal to the first true progress value; if the second real progress value is smaller than the virtual progress value, the progress bar is stopped to be updated until the second real progress value is larger than or equal to the virtual progress value, and then the progress bar is updated by taking the second real progress value as the progress value of the progress bar.
In some possible implementation manners of the embodiment of the present application, the second progress bar updating unit 303 may include:
a first calculating subunit, configured to perform step a, input the estimated duration into a first preset algorithm, and calculate a single increment, where the first preset algorithm may include:
Rise=random/(comTime/rate)
wherein Rise represents a single increment, combime is an estimated duration, rate is a single rate duration, and random is a random number between 100 and 999 generated in each calculation;
a second calculating subunit, configured to perform step B, input the single increment into a second preset algorithm, and calculate a virtual progress value of the progress bar after the interruption time point, where the second preset algorithm may include:
next=cur+(100%-cur)*rise*multiVal
wherein, next represents the calculated virtual progress value, cur represents the progress value of the progress bar at the last time point, 100% represents the maximum progress value, and MultiVal represents the preset growth multiplying power;
an updating subunit, configured to execute step C, and update the progress bar according to the virtual progress value;
and the timing task subunit is used for executing the step D, and circularly executing the steps A to C every preset rate duration until the business operation is finished.
In some possible implementation manners of the embodiment of the present application, the updating subunit includes:
the judging module is used for judging whether the virtual progress value is greater than 100% or not and judging whether the business operation is finished or not;
a first updating module, configured to update the progress bar by using the virtual progress value as the progress value of the progress bar if the virtual progress value is less than 100% and the service operation is not completed;
a second updating module, configured to stop the progress value of the progress bar and the progress of the progress bar in the current round if the virtual progress value is greater than or equal to 100% and the service operation is not finished;
and the third updating module is used for updating the progress value of the progress bar to 100% and updating the progress of the progress bar to the maximum value if the business operation is finished.
In some possible implementation manners of the embodiment of the present application, the determining module is specifically configured to determine whether the service operation is ended according to a value of an operation ending identifier after querying the operation ending identifier at the back end, where the operation ending identifier is used to indicate whether the service operation is ended after being executed.
In some possible implementation manners of the embodiment of the present application, the updating subunit further includes:
and the setting module is used for reducing the increase rate to slow down the increase speed of the virtual progress value if the virtual progress value is less than 100% but greater than a preset threshold value and the business operation is not finished.
In some possible implementation manners of the embodiment of the present application, if the service operation needs to be connected by a network, the generating device of the progress bar may further include:
the network speed detection unit is used for determining the current network speed;
the adjusting unit is used for setting the numerical value of the growth rate as a first numerical value if the network speed is greater than or equal to a preset speed; if the network speed is lower than the preset speed, setting the numerical value of the increase multiplying factor as a second numerical value, wherein the first numerical value is higher than the second numerical value.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
the device for generating the progress bar provided by the application can monitor and acquire the first real progress value of the business operation after the business operation at the rear end is started, and generate and update the progress bar by taking the first real progress value as the progress value of the progress bar. Then, before the progress of the progress bar is finished, if it is detected that the first real progress value is interrupted, the estimated time length from the interruption time point as a starting point to the end of the business operation execution can be determined according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation. And then generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value. According to the foregoing description, that is, in the embodiment of the present application, under the condition that a real backend real-time progress value is lacked, a simulation progress value may be generated to update a progress bar, so as to avoid a technical problem of poor user experience caused by that a progress bar cannot be generated when real backend data is lacked in the prior art.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 5, fig. 5 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 500 includes a memory 501, a processor 502, and a network interface 503 communicatively coupled to each other via a system bus. It is noted that only a computer device 500 having components 501 and 503 is shown, but it is understood that not all of the illustrated components are required and that more or fewer components may alternatively be implemented. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 501 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 501 may be an internal storage unit of the computer device 500, such as a hard disk or a memory of the computer device 500. In other embodiments, the memory 501 may also be an external storage device of the computer device 500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 500. Of course, the memory 501 may also include both internal and external memory units of the computer device 500. In this embodiment, the memory 501 is generally used for storing an operating system installed in the computer device 500 and various application software, such as computer readable instructions of a method for generating a progress bar. In addition, the memory 501 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 502 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 502 generally serves to control the overall operation of the computer device 500. In this embodiment, the processor 502 is configured to execute computer readable instructions stored in the memory 501 or process data, for example, execute computer readable instructions of the generating method of the progress bar.
The network interface 503 may include a wireless network interface or a wired network interface, and the network interface 503 is generally used for establishing a communication connection between the computer device 500 and other electronic devices.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
when executing the method for generating the progress bar, the computer device 500 may monitor and obtain a first real progress value of the business operation after the business operation at the back end is started, and generate and update the progress bar by using the first real progress value as a progress value of the progress bar. Then, before the progress of the progress bar is finished, if it is detected that the first real progress value is interrupted, the estimated time length from the interruption time point as a starting point to the end of the business operation execution can be determined according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation. And then generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value. According to the foregoing description, that is, in the embodiment of the present application, under the condition that a real backend real-time progress value is lacked, a simulation progress value may be generated to update a progress bar, so as to avoid a technical problem of poor user experience caused by that a progress bar cannot be generated when real backend data is lacked in the prior art.
The present application further provides another embodiment, which is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, which can be executed by at least one processor, so as to cause the at least one processor to execute the steps of the method for generating a progress bar as described above.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
when executing the method for generating the progress bar, the processor may monitor and acquire a first real progress value of the business operation after the business operation at the back end is started, and generate and update the progress bar by using the first real progress value as a progress value of the progress bar. Then, before the progress of the progress bar is finished, if it is detected that the first real progress value is interrupted, the estimated time length from the interruption time point as a starting point to the end of the business operation execution can be determined according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation. And then generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value. According to the foregoing description, that is, in the embodiment of the present application, under the condition that a real backend real-time progress value is lacked, a simulation progress value may be generated to update a progress bar, so as to avoid a technical problem of poor user experience caused by that a progress bar cannot be generated when real backend data is lacked in the prior art.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that the present application may be practiced without modification or with equivalents of some of the features described in the foregoing embodiments. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A method for generating a progress bar is characterized by comprising the following steps:
after the business operation of the back end is started, monitoring and acquiring a first real progress value of the business operation, and generating and updating a progress bar by taking the first real progress value as a progress value of the progress bar;
before the progress of the progress bar is finished, if the first real progress value is detected to be interrupted, determining the progress value of the progress bar as the estimated time length for finishing the execution of the business operation at the starting point at the interruption time point according to the progress value of the progress bar at the interruption time point and the preset total estimated time length for executing the business operation;
and generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value.
2. The method for generating a progress bar according to claim 1, wherein after the step of generating the virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration and updating the progress bar according to the virtual progress value, the method for generating a progress bar further comprises:
before the progress of the progress bar is finished, if a second real progress value of the business operation is detected again, judging whether the second real progress value is larger than or equal to the current virtual progress value of the progress bar;
if the progress value is larger than or equal to the first real progress value, updating the progress bar by taking the second real progress value as the progress value of the progress bar;
and if the progress value is smaller than the first real progress value, stopping updating the progress bar until the second real progress value is larger than or equal to the virtual progress value, and updating the progress bar by taking the second real progress value as the progress value of the progress bar.
3. The method for generating the progress bar according to claim 1 or 2, wherein the step of generating the virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration and updating the progress bar according to the virtual progress value comprises:
step A, inputting the estimated duration into a first preset algorithm, and calculating the single increment, wherein the first preset algorithm comprises the following steps:
Rise=random/(comTime/rate)
wherein Rise represents a single increment, combime is an estimated duration, rate is a single rate duration, and random is a random number between 100 and 999 generated in each calculation;
step B, inputting the single increment into a second preset algorithm, and calculating the virtual progress value of the progress bar after the interruption time point, wherein the second preset algorithm comprises the following steps:
next=cur+(100%-cur)*rise*multiVal
wherein, next represents the calculated virtual progress value, cur represents the progress value of the progress bar at the last time point, 100% represents the maximum progress value, and MultiVal represents the preset growth multiplying power;
step C, updating the progress bar according to the virtual progress value;
and step D, repeatedly executing the step A to the step C every other time the speed duration till the service operation execution is finished.
4. The method for generating a progress bar according to claim 3, wherein the step C of updating the progress bar according to the virtual progress value includes:
judging whether the virtual progress value is greater than 100% or not and judging whether the business operation is finished or not;
if the virtual progress value is smaller than 100% and the business operation is not finished, updating the progress bar by taking the virtual progress value as the progress value of the progress bar;
if the virtual progress value is greater than or equal to 100% and the business operation is not finished, stopping the updating process of the progress value of the progress bar and the progress of the progress bar in the current round;
and if the business operation is finished, updating the progress value of the progress bar to be 100% and updating the progress of the progress bar to be the maximum value.
5. The method for generating a progress bar according to claim 4, wherein the step of determining whether the service operation has ended comprises:
after the operation ending identifier at the back end is inquired, whether the service operation is ended or not is determined according to the value of the operation ending identifier, wherein the operation ending identifier is used for indicating whether the service operation is executed and ended or not.
6. The method for generating a progress bar according to claim 4, wherein after the step of updating the progress bar by using the virtual progress value as the progress value of the progress bar if the virtual progress value is less than 100% and the business operation is not finished, the method for generating a progress bar further comprises:
and if the virtual progress value is smaller than 100% but larger than a preset threshold value and the business operation is not finished, reducing the increase rate to slow down the increase speed of the virtual progress value.
7. The method for generating a progress bar according to claim 3, wherein if the business operation requires a network connection, in step B, the single increment is input into a second preset algorithm, and a virtual progress value of the progress bar after the interruption time point is calculated, and before the step included in the second preset algorithm, the method for generating a progress bar further includes:
determining the current network speed;
if the network speed is greater than or equal to a preset speed, setting the numerical value of the increase multiplying power as a first numerical value;
and if the network speed is lower than the preset speed, setting the numerical value of the increase multiplying power as a second numerical value, wherein the first numerical value is higher than the second numerical value.
8. An apparatus for generating a progress bar, comprising:
the first progress bar updating unit is used for monitoring and acquiring a first real progress value of the business operation after the business operation of the back end starts, and generating and updating the progress bar by taking the first real progress value as the progress value of the progress bar;
a calculating unit, configured to determine, before the progress of the progress bar is ended, an estimated time length from the time point of interruption to the end of the business operation execution according to the progress value of the progress bar at the time point of interruption and a preset total estimated time length for executing the business operation if it is detected that the first true progress value is interrupted;
and the second progress bar updating unit is used for generating a virtual progress value of the progress bar after the interruption time point according to a preset algorithm and the estimated duration, and updating the progress bar according to the virtual progress value.
9. A computer device comprising a memory having computer readable instructions stored therein and a processor which when executed implements the steps of the method of generating a progress bar according to any one of claims 1 to 7.
10. A computer-readable storage medium, having computer-readable instructions stored thereon, which, when executed by a processor, implement the steps of the method of generating a progress bar according to any one of claims 1 to 7.
CN202110856488.8A 2021-07-28 2021-07-28 Method and device for generating progress bar, computer equipment and storage medium Active CN113590007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110856488.8A CN113590007B (en) 2021-07-28 2021-07-28 Method and device for generating progress bar, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110856488.8A CN113590007B (en) 2021-07-28 2021-07-28 Method and device for generating progress bar, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113590007A true CN113590007A (en) 2021-11-02
CN113590007B CN113590007B (en) 2024-05-10

Family

ID=78250891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110856488.8A Active CN113590007B (en) 2021-07-28 2021-07-28 Method and device for generating progress bar, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113590007B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924821A (en) * 2022-05-19 2022-08-19 安天科技集团股份有限公司 Annular progress bar display method and device, electronic equipment and storage medium
CN116737512A (en) * 2023-08-14 2023-09-12 杭州玳数科技有限公司 Spark-based offline task execution progress calculation and acquisition method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010516A1 (en) * 2006-06-14 2008-01-10 Inventec Corporation Method and apparatus for indicating the actual progress of a booting procedure
DE102008061177A1 (en) * 2008-12-09 2010-06-24 Siemens Aktiengesellschaft Method for confirmation about progress of problem to be solved in computer system, involves representing number/time requirement of completed and uncompleted steps as bar portions, respectively, such that bar portions complement each other
EP2639716A2 (en) * 2012-03-09 2013-09-18 Apple Inc. Progress bar
US20140258910A1 (en) * 2013-03-08 2014-09-11 Sap Ag Computer Execution Progress Indicator
CN105824639A (en) * 2016-03-17 2016-08-03 百度在线网络技术(北京)有限公司 Progress estimating method and progress estimating device
US20170153779A1 (en) * 2015-11-30 2017-06-01 International Business Machines Corporation Progress bar updated based on crowd sourced statistics
CN110007985A (en) * 2019-04-16 2019-07-12 北京字节跳动网络技术有限公司 Small routine music player component call method and apparatus
CN112486783A (en) * 2020-11-25 2021-03-12 建信金融科技有限责任公司 Progress bar display method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010516A1 (en) * 2006-06-14 2008-01-10 Inventec Corporation Method and apparatus for indicating the actual progress of a booting procedure
DE102008061177A1 (en) * 2008-12-09 2010-06-24 Siemens Aktiengesellschaft Method for confirmation about progress of problem to be solved in computer system, involves representing number/time requirement of completed and uncompleted steps as bar portions, respectively, such that bar portions complement each other
EP2639716A2 (en) * 2012-03-09 2013-09-18 Apple Inc. Progress bar
US20140258910A1 (en) * 2013-03-08 2014-09-11 Sap Ag Computer Execution Progress Indicator
US20170153779A1 (en) * 2015-11-30 2017-06-01 International Business Machines Corporation Progress bar updated based on crowd sourced statistics
CN105824639A (en) * 2016-03-17 2016-08-03 百度在线网络技术(北京)有限公司 Progress estimating method and progress estimating device
CN110007985A (en) * 2019-04-16 2019-07-12 北京字节跳动网络技术有限公司 Small routine music player component call method and apparatus
CN112486783A (en) * 2020-11-25 2021-03-12 建信金融科技有限责任公司 Progress bar display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924821A (en) * 2022-05-19 2022-08-19 安天科技集团股份有限公司 Annular progress bar display method and device, electronic equipment and storage medium
CN114924821B (en) * 2022-05-19 2023-09-05 安天科技集团股份有限公司 Method and device for displaying annular progress bar, electronic equipment and storage medium
CN116737512A (en) * 2023-08-14 2023-09-12 杭州玳数科技有限公司 Spark-based offline task execution progress calculation and acquisition method and device
CN116737512B (en) * 2023-08-14 2023-11-10 杭州玳数科技有限公司 Spark-based offline task execution progress calculation and acquisition method and device

Also Published As

Publication number Publication date
CN113590007B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN113590007A (en) Progress bar generation method and device, computer equipment and storage medium
CN108491304B (en) electronic device, business system risk control method and storage medium
CN110955438A (en) Method, device and equipment for monitoring performance of small program and storage medium
CN114095567A (en) Data access request processing method and device, computer equipment and medium
CN112631911A (en) Automatic testing method and device, computer equipment and storage medium
CN114417780B (en) State synchronization method and device, electronic equipment and storage medium
CN107146098B (en) Advertisement operation configuration method and equipment
CN111159038A (en) Method for simulating CPU load and electronic equipment
CN117009221A (en) Processing method, device, equipment, storage medium and program product for product test
CN115481594B (en) Scoreboard implementation method, scoreboard, electronic equipment and storage medium
CN115391158A (en) Time delay determination method, system and device and electronic equipment
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN112328381A (en) Decision-making method and device for starting task execution sequence, computer equipment and medium
CN107728769B (en) Background application management method and device and computer readable storage medium
CN111782208A (en) Index early warning method and device, computer equipment and storage medium
CN111506382A (en) Progress bar curve determination method and device, storage medium and electronic equipment
CN112882791B (en) Method, equipment and storage medium for optimizing performance of virtual machine
CN113422734B (en) Resource distribution method, device, electronic equipment and storage medium
CN113961405B (en) State switching instruction verification method and device, electronic equipment and storage medium
CN113713378A (en) Content generation method and device
CN115358080A (en) Method, device, equipment and medium for predicting task waiting time
CN114428464A (en) Robot cluster control interaction method and device, terminal equipment and storage medium
CN116301992A (en) Upgrading method, device, equipment and storage medium
CN114416191A (en) Application configuration utilization rate prediction method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant