WO2012031541A1 - Method and device for displaying scan progress - Google Patents
Method and device for displaying scan progress Download PDFInfo
- Publication number
- WO2012031541A1 WO2012031541A1 PCT/CN2011/079319 CN2011079319W WO2012031541A1 WO 2012031541 A1 WO2012031541 A1 WO 2012031541A1 CN 2011079319 W CN2011079319 W CN 2011079319W WO 2012031541 A1 WO2012031541 A1 WO 2012031541A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- files
- scanned
- progress
- enumerated
- scanning
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/0035—User-machine interface; Control console
- H04N1/00405—Output means
- H04N1/00477—Indicating status, e.g. of a job
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0081—Image reader
Definitions
- the present invention relates to the field of information processing technologies, and in particular, to a method and apparatus for displaying a scan progress. Background of the invention
- the inventors have found that the prior art has at least the following disadvantages: whether it is estimating the number of files to be scanned in advance, or in the file directory, there is a problem that the scanning range is uncertain when displaying the scanning progress. , causing the display of the scan progress to be unsmooth, with defects such as jumps or long-term jams. Summary of the invention
- an embodiment of the present invention provides a method and apparatus for displaying a scanning progress.
- the technical solution is as follows:
- a method for displaying a scan progress comprising: enumerating a file to be scanned within a preset first time period;
- the file scanning is started, and the scanning progress is displayed according to the equal score size of the enumerated number of files to be scanned mapped to the total length of the progress bar, and at the same time, continue to To scan the file; After each preset second time period, the number of unscanned files in all the files to be scanned enumerated is corrected, and the number of unscanned files in all the files to be scanned enumerated is mapped to the length of the remaining progress bar, etc.
- the score size shows the progress of the scan.
- a device for displaying a scan progress comprising: an enumeration module, configured to enumerate a file to be scanned within a preset first time period;
- a display module configured to start a file scan when the enumeration module is still not enumerated after the preset first time period ends, and map the number of files to be scanned according to the enumeration module to the progress
- the equal-score size of the total length of the bar shows the progress of the scan, and at the same time, continues to enumerate the files to be scanned; after each preset second time period, the number of unscanned files in all the files to be scanned enumerated is corrected, and The number of unscanned files in all the files to be scanned is mapped to the equal-score size of the remaining progress bar length to show the scanning progress.
- FIG. 1 is a flowchart of a method for displaying a scan progress according to Embodiment 1 of the present invention
- FIG. 2 is a flowchart of a method for displaying a scan progress according to Embodiment 2 of the present invention
- FIG. 3 is a display of scan progress provided by Embodiment 2 of the present invention
- FIG. 4 is a schematic structural diagram of an apparatus for displaying a scanning progress according to Embodiment 3 of the present invention. Mode for carrying out the invention
- FIG. 1 is a flowchart of a method for displaying a scan progress according to Embodiment 1 of the present invention. Referring to FIG. 1 , the process of the method is as follows:
- the file scanning is started, and the scanning progress is displayed according to the equal score size of the enumerated number of files to be scanned mapped to the total length of the progress bar, and at the same time, continue to be To scan the file.
- the average score of the number of files to be scanned and the total length of the progress bar is: the ratio of the total length of the progress bar to the number of files to be scanned enumerated in the preset first time period.
- the file scanning may be started after the preset first time period ends, or the file scanning may be started after the enumeration is completed, and the specific implementation manner is not limited.
- the number of unscanned files in all the files to be scanned enumerated is corrected, and the number of unscanned files in all the files to be scanned enumerated is mapped to the remaining progress bar length.
- the equal score size shows the progress of the scan until all the files to be scanned have been scanned and the process ends.
- the files to be scanned that are enumerated may include the files to be scanned that are enumerated in the first time period and the files to be scanned that are subsequently enumerated, if the files to be scanned are preset in the first time period. After the scan has been completed, only the files to be scanned that continue to be enumerated are included; the number of unscanned files in all the files to be scanned that are mapped to the remaining progress bar length is as follows: Remaining progress bar length and enumeration The ratio of the number of unscanned files in all files to be scanned.
- the method provided in this embodiment displays the scanning progress by the edge enumeration scanning and the equal-score size of the length of the progress bar according to the number of enumerated files, thereby effectively overcoming the defects such as sudden change of progress and jamming when displaying the scanning progress. , to achieve a smooth display of the scan progress.
- Embodiment 2
- FIG. 2 is a flowchart of a method for displaying a scanning progress according to Embodiment 2 of the present invention. Referring to FIG. 2, the process is as follows:
- the preset first time period is not specifically limited. In order to minimize the waiting time of the user and ensure the user experience, the preset first time period can be accepted by the user.
- the first time period is preset. Set to 1 second. When the preset first time period is over, the file scanning will start regardless of whether all the files to be scanned are enumerated.
- step 202 Determine whether all the files to be scanned are enumerated, if yes, go to step 203; otherwise, go to step 204.
- the present embodiment does not limit the total number of scanned files due to factors such as the uncertainty of the scanning range. For example, if the preset first time period is still 1 second, if 1000 files to be scanned are enumerated in 0.5 seconds, and the files to be scanned are not enumerated between 0.5 seconds and 1 second, it is determined that all the files to be scanned are enumerated. The file to be scanned; if 1000 files to be scanned are enumerated after 1 second, and the enumeration can be continued later, it is determined that all the files to be scanned are not enumerated.
- the file scanning may be started after the enumeration ends, without waiting for the preset first time period. After the end, you can wait for the preset first time period to end before starting the file scanning. Since the preset waiting time is set in the preset first time period, in the case of enumerating all the files to be scanned, in which case the file scanning is started, the effect is not large, and this embodiment does not Specifically limited. 203: Start file scanning, and display the scanning progress according to the equal score size of the enumerated number of files to be scanned mapped to the total length of the progress bar, until all the files to be scanned are scanned, and the process ends.
- the score of the number of files to be scanned that is mapped to the total length of the progress bar is specifically the ratio of the total length of the progress bar to the number of files to be scanned enumerated.
- the number of files mapped to the total length of the progress bar is 0.01. For each file to be scanned, the length of the displayed progress bar is increased by 0.01 cm.
- the scanning progress is displayed according to the equal score size of the enumerated number of files to be scanned and the total length of the progress bar, which specifically includes:
- the total length of the progress bar is still 10 cm, and the number of files to be scanned is 1000.
- the scanning progress is displayed in the same manner as the above-mentioned step 203 according to the number of the number of files to be scanned that are mapped to the total length of the progress bar, which will not be described here.
- the files to be scanned are continuously enumerated, and the scanning progress is displayed by enumerating while scanning, which not only solves the problem that the enumeration time is too long, but also avoids the phenomenon that the progress is stuck for a long time. How to scan the progress of the files to be scanned enumerated in this step Show, see the next steps.
- the number of unscanned files in all the files to be scanned enumerated is corrected, and the number of unscanned files in all the files to be scanned enumerated is mapped to the remaining progress bar length.
- the equal score size shows the progress of the scan until all the files to be scanned have been scanned and the process ends.
- the preset second time for correcting the number of unscanned files in the step is not specifically limited.
- the remaining progress bar length is specifically the difference between the total length of the progress bar and the length of the displayed progress bar; the scan progress is displayed according to the equal score size of the number of unscanned files in all the files to be scanned that are mapped to the length of the remaining progress bar.
- the scan progress is displayed according to the equal score size of the number of unscanned files in all the files to be scanned that are mapped to the length of the remaining progress bar.
- the scan progress of 500 files is displayed, that is, according to the The number of unscanned files in the file to be scanned is mapped to the equal-score size of the remaining progress bar length.
- the length of the progress bar displayed should be increased by 0.0005 cm.
- n is a positive integer, which can be regarded as the total number of all files to be scanned, and is displayed as the number of scanned files increases continuously.
- the length of the progress bar is also continuously increased until the scan progress is updated to the nth time after all the files to be scanned are scanned, and the length of the displayed progress bar is equal to the total length of the progress bar.
- the method provided in this embodiment displays the scanning progress by the edge enumeration scanning and the equal-score size of the length of the progress bar according to the number of enumerated files, thereby effectively overcoming the defects such as sudden change of progress and jamming when displaying the scanning progress. , to achieve a smooth display of the scan progress.
- Embodiment 3
- FIG. 4 is a schematic structural diagram of an apparatus for displaying a scanning progress according to Embodiment 3 of the present invention.
- the apparatus includes:
- the enumeration module 401 is configured to enumerate the to-be-scanned file in the preset first time period; the display module 402 is configured to start the file when the enumeration module 401 is still not enumerated after the preset first time period ends.
- the display module 402 is specifically configured to determine a ratio of the total length of the progress bar to the total number of files to be scanned enumerated in the preset first time period; and map the determined ratio as the number of files to be scanned to the total length of the progress bar.
- the equal score size, and the scan progress is displayed according to the ratio.
- the ratio of the number of unscanned files in the file; the determined ratio is used as the enumerated text to be scanned
- the number of unscanned files in the piece is mapped to the equal-score size of the remaining progress bar length, and the scan progress is displayed according to the ratio.
- the remaining progress bar length is specifically: The difference between the total length of the progress bar and the length of the displayed progress bar.
- the display module 402 is further configured to: if the enumeration module 401 is enumerated in the preset first time period, start the file scanning after the preset first time period ends, or, when the enumeration is completed, Start file scanning.
- the apparatus for displaying the scanning progress displays the scanning progress by enumerating the edges and displaying the scanning progress according to the score of the number of the enumerated files and the length of the progress bar, thereby effectively overcoming the existence of displaying the scanning progress. Defects such as sudden changes in progress, stuck, etc., achieve a smooth display of the scanning progress.
- the device for displaying the scanning progress is only illustrated by the division of each functional module. In actual applications, the functions may be assigned to different functional modules as needed. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
- the device for displaying the scanning progress provided by the foregoing embodiment is the same as the method for displaying the scanning progress. The specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- All or part of the steps in the embodiment of the present invention may be implemented by software, and the corresponding software program may be stored in a readable storage medium such as an optical disk or a hard disk.
Abstract
Description
Claims
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
BR112012028810A BR112012028810A2 (en) | 2010-09-09 | 2011-09-05 | method and apparatus for displaying scan progress |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010280432.4 | 2010-09-09 | ||
CN201010280432.4A CN102402524B (en) | 2010-09-09 | 2010-09-09 | Method and device for displaying scanning progress |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012031541A1 true WO2012031541A1 (en) | 2012-03-15 |
Family
ID=45810120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/079319 WO2012031541A1 (en) | 2010-09-09 | 2011-09-05 | Method and device for displaying scan progress |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN102402524B (en) |
BR (1) | BR112012028810A2 (en) |
WO (1) | WO2012031541A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898776A (en) * | 2016-04-05 | 2016-08-24 | 乐视控股(北京)有限公司 | Method and device for intelligently controlling updating frequency of email attachment uploading progress |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853569B (en) * | 2012-12-04 | 2017-03-08 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of display incremental update progress |
CN103942496A (en) * | 2013-01-17 | 2014-07-23 | 腾讯科技(深圳)有限公司 | Display method and device for system scanning |
CN103995809A (en) * | 2013-02-18 | 2014-08-20 | 阿里巴巴集团控股有限公司 | Information processing method and device of socialized media |
CN104317627B (en) * | 2014-11-13 | 2017-06-06 | 北京奇虎科技有限公司 | The cleaning data one-key scan method and device of memory space |
CN105824639B (en) * | 2016-03-17 | 2019-05-10 | 百度在线网络技术(北京)有限公司 | Schedule estimation method and device |
CN115270077B (en) * | 2022-08-16 | 2024-01-26 | 南京网藤科技有限公司 | Method, device, electronic equipment and computer readable medium for smoothing calculation progress |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127061A (en) * | 2006-08-16 | 2008-02-20 | 珠海金山软件股份有限公司 | Device preventing and treating computer virus capable of pre-estimating schedule and schedule pre-estimation method |
CN101470572A (en) * | 2007-12-29 | 2009-07-01 | 英业达股份有限公司 | Optimum display system and method for context progress |
CN101697573A (en) * | 2009-10-23 | 2010-04-21 | 深圳创维-Rgb电子有限公司 | Method for displaying progress of manual searching of digital television |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7203960B1 (en) * | 2003-06-20 | 2007-04-10 | Trend Micro, Inc. | Anti-virus method and system guaranteeing a maximum delay for streaming data |
-
2010
- 2010-09-09 CN CN201010280432.4A patent/CN102402524B/en active Active
-
2011
- 2011-09-05 BR BR112012028810A patent/BR112012028810A2/en not_active Application Discontinuation
- 2011-09-05 WO PCT/CN2011/079319 patent/WO2012031541A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127061A (en) * | 2006-08-16 | 2008-02-20 | 珠海金山软件股份有限公司 | Device preventing and treating computer virus capable of pre-estimating schedule and schedule pre-estimation method |
CN101470572A (en) * | 2007-12-29 | 2009-07-01 | 英业达股份有限公司 | Optimum display system and method for context progress |
CN101697573A (en) * | 2009-10-23 | 2010-04-21 | 深圳创维-Rgb电子有限公司 | Method for displaying progress of manual searching of digital television |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898776A (en) * | 2016-04-05 | 2016-08-24 | 乐视控股(北京)有限公司 | Method and device for intelligently controlling updating frequency of email attachment uploading progress |
Also Published As
Publication number | Publication date |
---|---|
BR112012028810A2 (en) | 2016-07-26 |
CN102402524B (en) | 2015-02-25 |
CN102402524A (en) | 2012-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012031541A1 (en) | Method and device for displaying scan progress | |
JP2007249856A5 (en) | ||
US7533277B2 (en) | Operating system shut down | |
RU2010151992A (en) | CONTENT MANAGEMENT DEVICE AND METHOD FOR CONTROLLING CONTENTS | |
US8577181B1 (en) | Determining content to be displayed | |
RU2010152600A (en) | METHOD AND DEVICE FOR READING PHYSICAL OBJECT CHARACTERISTICS | |
RU2011151556A (en) | DISPLAYS OF THE INTEGRATING DIGITAL BOOK INTERFACE AND SCALE CHANGE | |
JP2011008792A5 (en) | ||
JP2010517143A5 (en) | ||
US20100293330A1 (en) | Displaying transition images during a slide transition | |
US20160180803A1 (en) | Power optimization by rendering low-resolution tiles during page load | |
WO2017032306A1 (en) | Method and apparatus for de-grouping folder | |
JP2014520305A5 (en) | ||
WO2020134708A1 (en) | Screenshot processing method, computing device and computer storage medium | |
RU2016130451A (en) | METHOD AND SYSTEM OF ASSISTANCE TO THE USER IN EMERGENCY COMPLETIONS OF THE SOFTWARE APPLICATION | |
JP2006279924A5 (en) | ||
CN107203303A (en) | A kind of interface display method and device | |
WO2023207563A1 (en) | Image rendering method and apparatus, and storage medium | |
US20160292174A1 (en) | File scanning method and device | |
EP2990983B1 (en) | Method and apparatus for scanning files | |
WO2015090242A1 (en) | Method and device for locating a picture in a list of pictures | |
JP6160115B2 (en) | Information processing apparatus, presentation material optimization method, and program | |
WO2013186928A1 (en) | Output control device, output control method, output control program, and information recording medium | |
EP3341917B1 (en) | Smart flip operation for grouped objects | |
EP2530640A1 (en) | Image copying method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11823064 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112012028810 Country of ref document: BR |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26/07/2013) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11823064 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 112012028810 Country of ref document: BR Kind code of ref document: A2 Effective date: 20121109 |