A control method and device for a progress bar
A control method and a technology of a progress bar, applied in the field of computer security, can solve the problems such as the incompatibility of the progress execution time of the progress bar, the inability of the progress bar to accurately reflect the progress of the task execution, the inability of the progress bar to accurately reflect the execution of the task, etc., so as to optimize the use experience. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1 It is a flowchart of a method for controlling a progress bar provided by an embodiment of the present invention, see figure 1 , the example includes:
[0055] 101. Obtain the last running time of the current task;
[0056]102. Obtain the current usage status of the terminal device, and determine the corresponding impact factor according to the current usage status;
[0057] 103. Obtain the current running time of the current task according to the last running time and impact factor of the current task;
[0058] 104. Control the current running progress of the progress bar according to the current running time of the current task.
[0059] Among them, the last running time of the current task is obtained, including:
[0060] When the current task is running for the first time, calculate the first running time of the current task separately, and obtain the total time of the first running of the current task;
[0061] When the current task is not running for ...
Embodiment 2
[0076] figure 2 It is a flowchart of a method for controlling a progress bar provided by an embodiment of the present invention. see figure 2 , the example includes:
[0077] 201. Obtain the last running time of the current task;
[0078] Specifically, if the current task is running for the first time, the first running time of the current task is calculated separately, and the total first running time of the current task is obtained;
[0079] Separately calculate the first running time of the current task, you can enable a separate thread to calculate the first running time of the current task;
[0080] According to the consumed computing time and the calculated first running time, the total first running time of the current task is obtained, and the first running time of the current task is recorded. For example, it takes 59 seconds to complete the current task, and the computing time consumed by the calculation is 18 seconds, so the total time for the first running of...
Embodiment 3
[0102] image 3 It is an embodiment of the present invention that provides a progress bar control device, see image 3 , the device consists of:
[0103] The first obtaining module 301 is used to obtain the last running time of the current task;
[0104] The second acquiring module 302 is configured to acquire the current usage status of the terminal device, and determine the corresponding impact factor according to the current usage status;
[0105] Calculation module 303, for obtaining the current running time of the current task according to the last running time and impact factor of the current task;
[0106] The control module 304 is configured to control the current running progress of the progress bar according to the current running time of the current task.
[0107] Wherein, the first acquisition module 301 specifically includes:
[0108] The first acquisition unit is used to separately calculate the first running time of the current task when the current task is ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



