CN104462591A - Method for avoiding repeated download and mobile terminal - Google Patents

Method for avoiding repeated download and mobile terminal Download PDF

Info

Publication number
CN104462591A
CN104462591A CN201410845517.0A CN201410845517A CN104462591A CN 104462591 A CN104462591 A CN 104462591A CN 201410845517 A CN201410845517 A CN 201410845517A CN 104462591 A CN104462591 A CN 104462591A
Authority
CN
China
Prior art keywords
mobile terminal
file
download
user
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410845517.0A
Other languages
Chinese (zh)
Inventor
郭倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410845517.0A priority Critical patent/CN104462591A/en
Publication of CN104462591A publication Critical patent/CN104462591A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for avoiding repeated download and a mobile terminal. The method includes the steps that a file downloading task exists in the mobile terminal, and a local download file of the mobile terminal is traversed; through a binary comparison method, whether files same as download files exist in the local download file is compared; if the files same as the download files exist, the mobile terminal prompts a user whether to continue loading or not. According to method, because downloading software of the mobile terminal is improved, when the user downloads network resources, and the resources having been locally downloaded are automatically filtered out; for the resources having existed locally, a prompt that the same resources exist locally is given to the user, resource waste is avoided, convenient is brought to the user, and user experience is improved.

Description

A kind of method and mobile terminal avoiding repeated downloads
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and the mobile terminal of avoiding repeated downloads.
Background technology
Along with the development of the communication technology, mobile terminal becomes the necessity of people's life, and utilize mobile terminal down loading network resource also more and more frequent, more and more, user often forgets oneself to download which file, and the trouble of repeated downloads is following.
But, in prior art, the download software that most PC and mobile terminal carry is when an interpolation downloading task, just determine whether merely duplication of name file, if filename repeats, downloading task can be performed again by after current download file rename, this method makes user cannot understand the whether local resource that there is identical content, causes the waste of flow and bandwidth, then provides that a kind of to avoid the method for repeated downloads to be applicable to mobile terminal particularly important.
Summary of the invention
Based on the deficiencies in the prior art, embodiments provide a kind of method and the mobile terminal of avoiding repeated downloads, to make user when down loading network resource, automatic fitration this locality downloaded resources, for Already in local resource, there is same asset in prompting user this locality, avoids the wasting of resources, facilitate user, improve Consumer's Experience.
In order to realize above goal of the invention, a kind of method of repeated downloads and mobile terminal avoided that the embodiment of the present invention provides is realized by following technical scheme:
Avoid a method for repeated downloads, for mobile terminal, comprise the following steps:
When mobile terminal has download file task, the local download folder of traversal mobile terminal;
By scale-of-two relative method, in the local download folder of comparison, whether there is the file identical with download file;
When there being identical file, whether mobile terminal prompting user continues to download.
Further, in computer, mobile terminal, all data all adopt two-stage system form to store, the form stored as A file is " 0101001 ", the form that B file stores is " 0110100 ", scale-of-two relative method refers to each numeral of successive appraximation, if identical, be judged as same file, otherwise be judged as different file.
In order to realize foregoing invention object, the embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal is realized by following technical scheme:
A kind of mobile terminal, comprising:
Monitor module, whether have downloading task in order to monitor mobile terminal;
Whether comparing module, in order to have the file identical with download file in the local download folder of comparison mobile terminal;
Prompting module, in order to when there being identical file, whether prompting user continues to download.
Further, comparing module comes whether there be the file identical with download file in the local download folder of comparison mobile terminal by scale-of-two relative method.
Method and the mobile terminal of repeated downloads that what the embodiment of the present invention provided avoid, make user when down loading network resource, automatic fitration this locality downloaded resources, for Already in local resource, there is same asset in prompting user this locality, avoid the wasting of resources, facilitate user, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the block diagram that the embodiment of the present invention avoids the mobile terminal of repeated downloads;
Fig. 2 is the process flow diagram that the embodiment of the present invention avoids the method for repeated downloads.
Embodiment
Technical scheme of the present invention is understood better in order to make relevant technical staff in the field, below in conjunction with the accompanying drawing of embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.
Fig. 1 is the block diagram that the embodiment of the present invention avoids the mobile terminal of repeated downloads.
As shown in Figure 1, the mobile terminal 100 of repeated downloads of avoiding of the embodiment of the present invention comprises: monitor module 110, comparing module 120, prompting module.
Monitor module 110, whether have downloading task in order to monitor mobile terminal 100;
Whether comparing module 120, in order to have the file identical with download file in the local download folder of comparison mobile terminal 100;
Prompting module 130, in order to when there being identical file, whether prompting user continues to download.
Further, comparing module comes whether there be the file identical with download file in the local download folder of comparison mobile terminal by scale-of-two relative method.
Further, further, in computer, mobile terminal, all data all adopt two-stage system form to store, the form stored as A file is " 0101001 ", the form that B file stores is " 0110100 ", scale-of-two relative method refers to each numeral of successive appraximation, if identical, is judged as same file, otherwise is judged as different file.
A kind of mobile terminal that the embodiment of the present invention provides, makes user when down loading network resource, automatic fitration this locality downloaded resources, for Already in local resource, there is same asset in prompting user this locality, avoids the wasting of resources, facilitate user, improve Consumer's Experience.
Fig. 2 is the process flow diagram that the embodiment of the present invention avoids the method for repeated downloads.
As shown in Figure 2, the method avoiding repeated downloads of the embodiment of the present invention, comprises the following steps:
S201. when mobile terminal has download file task, the local download folder of traversal mobile terminal;
S202. by scale-of-two relative method, in the local download folder of comparison, the file identical with download file whether is had;
S203., when there being identical file, whether mobile terminal prompting user continues to download.
Further, in computer, mobile terminal, all data all adopt two-stage system form to store, the form stored as A file is " 0101001 ", the form that B file stores is " 0110100 ", scale-of-two relative method refers to each numeral of successive appraximation, if identical, be judged as same file, otherwise be judged as different file.
In concrete enforcement, mobile terminal downloading task C file, the form that C file stores is " 010100 ", the All Files of the local download folder of traversal mobile terminal, such as comprise D file and E file, wherein, the form that D file stores is " 010100 ", and the form that E file stores is " 010101 ", each numeral of successive appraximation, D file is identical with C file numeral, then judge that C file is as repeated downloads, reminding user.
A kind of method avoiding repeated downloads that the embodiment of the present invention provides, make user when down loading network resource, automatic fitration this locality downloaded resources, for Already in local resource, there is same asset in prompting user this locality, avoid the wasting of resources, facilitate user, improve Consumer's Experience.
Below only have expressed several embodiment of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (4)

1. avoid a method for repeated downloads, for mobile terminal, it is characterized in that, comprising:
When described mobile terminal has download file task, travel through the local download folder of described mobile terminal;
By scale-of-two relative method, in local download folder described in comparison, whether there is the file identical with described download file;
When there being described identical file, whether described mobile terminal prompting user continues to download.
2. avoid the method for repeated downloads as claimed in claim 1, it is characterized in that, in computer, mobile terminal, all data all adopt two-stage system form to store, and scale-of-two relative method refers to each numeral of successive appraximation, if identical, be judged as same file, otherwise be judged as different file.
3. a mobile terminal, is characterized in that, comprising:
Monitor module, whether have downloading task in order to monitor described mobile terminal;
Whether comparing module, in order to have the file identical with described download file in the local download folder of mobile terminal described in comparison;
Prompting module, in order to when there being described identical file, whether prompting user continues to download.
4. mobile terminal as claimed in claim 3, it is characterized in that, described comparing module, is come whether there be the file identical with described download file in the local download folder of mobile terminal described in comparison by scale-of-two relative method.
CN201410845517.0A 2014-12-31 2014-12-31 Method for avoiding repeated download and mobile terminal Pending CN104462591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410845517.0A CN104462591A (en) 2014-12-31 2014-12-31 Method for avoiding repeated download and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410845517.0A CN104462591A (en) 2014-12-31 2014-12-31 Method for avoiding repeated download and mobile terminal

Publications (1)

Publication Number Publication Date
CN104462591A true CN104462591A (en) 2015-03-25

Family

ID=52908626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410845517.0A Pending CN104462591A (en) 2014-12-31 2014-12-31 Method for avoiding repeated download and mobile terminal

Country Status (1)

Country Link
CN (1) CN104462591A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468686A (en) * 2015-11-17 2016-04-06 北京奇虎科技有限公司 Method and device for reducing redundant data
CN106095518A (en) * 2016-06-28 2016-11-09 东软集团股份有限公司 Application program installation method and device
CN107018068A (en) * 2017-05-25 2017-08-04 深圳市保千里电子有限公司 The method and system that file is transmitted during a kind of instant messaging
CN108495147A (en) * 2018-03-09 2018-09-04 网宿科技股份有限公司 A kind of method and system that video resource is provided
CN108920683A (en) * 2018-07-12 2018-11-30 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium of cloud computing platform downloading external resource
CN109871503A (en) * 2019-01-18 2019-06-11 平安普惠企业管理有限公司 Data calling method, device, computer equipment and storage medium
CN113542391A (en) * 2021-07-12 2021-10-22 一飞(海南)科技有限公司 Method, system and medium for downloading and filtering same files of formation airplane waypoint files

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624661A (en) * 2003-11-06 2005-06-08 微软公司 Optimizing file replication using binary comparisons
CN101257670A (en) * 2007-02-28 2008-09-03 中国移动通信集团公司 Method, equipment and system for searching and downloading phone file
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
CN103412900A (en) * 2013-07-29 2013-11-27 宇龙计算机通信科技(深圳)有限公司 File downloading treatment method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1624661A (en) * 2003-11-06 2005-06-08 微软公司 Optimizing file replication using binary comparisons
CN101257670A (en) * 2007-02-28 2008-09-03 中国移动通信集团公司 Method, equipment and system for searching and downloading phone file
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
CN103412900A (en) * 2013-07-29 2013-11-27 宇龙计算机通信科技(深圳)有限公司 File downloading treatment method and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张艳霞等: "基于NoSQL的文件型大数据存储技术研究", 《制造业自动化》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468686A (en) * 2015-11-17 2016-04-06 北京奇虎科技有限公司 Method and device for reducing redundant data
CN106095518A (en) * 2016-06-28 2016-11-09 东软集团股份有限公司 Application program installation method and device
CN106095518B (en) * 2016-06-28 2019-05-14 东软集团股份有限公司 Application program installation method and device
CN107018068A (en) * 2017-05-25 2017-08-04 深圳市保千里电子有限公司 The method and system that file is transmitted during a kind of instant messaging
CN108495147A (en) * 2018-03-09 2018-09-04 网宿科技股份有限公司 A kind of method and system that video resource is provided
CN108920683A (en) * 2018-07-12 2018-11-30 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium of cloud computing platform downloading external resource
CN109871503A (en) * 2019-01-18 2019-06-11 平安普惠企业管理有限公司 Data calling method, device, computer equipment and storage medium
CN113542391A (en) * 2021-07-12 2021-10-22 一飞(海南)科技有限公司 Method, system and medium for downloading and filtering same files of formation airplane waypoint files

Similar Documents

Publication Publication Date Title
CN104462591A (en) Method for avoiding repeated download and mobile terminal
CN104461504B (en) A kind of management method of end application
CN105812435B (en) Application upgrading data packet processing method and device, electronic equipment and system
CN104598286B (en) The Oftware updating method and device of mobile terminal
CN104053126B (en) Show wireless communication terminal, the device and method of both call sides position
DE502005004286D1 (en) METHOD FOR PRIORIZING NETWORKS IN A TELECOMMUNICATIONS END USER WITH DIGITAL RIGHTS MANAGEMENT CHARACTERISTICS
EP2631826A3 (en) Mobile terminal and associated method for accessing and managing data stored in a cloud service
CN105530130A (en) Method and device for upgrading Over-The-Air downloading technology
CN111225056A (en) OTA-based intelligent door lock upgrading method and system
CN104484206A (en) Method, terminal and system for setting up application program
CN103944805A (en) Information updating method and system based on Wechat platform
CN105760183A (en) File processing method, device, and communication system
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN104778168A (en) Data processing method and device
US9854429B2 (en) Mobile terminal configuration method and system
CN103067599A (en) Mobile terminal wallpaper renewal method and system
CN105183797A (en) Substation file management and control method based on IEC61850 file service
CN102624861A (en) Enterprise network-oriented operating system upgrade patch updating method
WO2017201936A1 (en) Method and apparatus for replacing icon of application installation package, and electronic device
CN103440145A (en) Method and device for updating application programs and mobile terminal
CN103793231A (en) Processing method and system for mobile terminal parameters
CN104301352A (en) Dual-card terminal adapting method and device
CN102932513B (en) A kind of business card maintaining method, device and equipment
CN105760198A (en) Mobile phone app updating method and system
CN104166554A (en) Software developing method and installation method supporting multiple operation systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325