CN100492367C - Reminding device and method used for download system - Google Patents

Reminding device and method used for download system Download PDF

Info

Publication number
CN100492367C
CN100492367C CNB2007101634288A CN200710163428A CN100492367C CN 100492367 C CN100492367 C CN 100492367C CN B2007101634288 A CNB2007101634288 A CN B2007101634288A CN 200710163428 A CN200710163428 A CN 200710163428A CN 100492367 C CN100492367 C CN 100492367C
Authority
CN
China
Prior art keywords
size
file
url
free memory
user
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.)
Active
Application number
CNB2007101634288A
Other languages
Chinese (zh)
Other versions
CN101140589A (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.)
Shenzhen Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Xunlei Network 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 Shenzhen Xunlei Network Technology Co Ltd filed Critical Shenzhen Xunlei Network Technology Co Ltd
Priority to CNB2007101634288A priority Critical patent/CN100492367C/en
Publication of CN101140589A publication Critical patent/CN101140589A/en
Application granted granted Critical
Publication of CN100492367C publication Critical patent/CN100492367C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a promotion device for download systems and a relevant method, and relates to the field of Internet. The invention aims at avoiding failure in download task establishment because of storage space shortcomings during the course of download task establishment. A promotion device for download systems comprises: A target download file size acquisition unit, is used to acquire size of target download files from the network side; an available storage space size acquisition unit, is used to locally acquire the size of available storage space in current storage path; a comparison unit, is used to compare the acquired size of the target download files, with the acquired size of the available storage space, and output comparison results; a promotion unit, is used to prompt users with the comparison results that are output from the comparison unit.

Description

A kind of suggestion device and method that is used for download system
Technical field
The present invention relates to internet arena, particularly relate to a kind of suggestion device and method that is used for download system.
Background technology
As the design and the exploitation of downloaded software, all be the center with the user experience, reduce the mortality of user's download, reduce user misoperation or before the user carries out maloperation, give reasonable prompting, all be the standard of product design.
It is comparatively unified that at present common downloaded software is downloaded flow process, referring to shown in Figure 1, all need pass through following flow process:
A, user choose a link URL (Uniform Resource Locator, URL(uniform resource locator)), this URL definite object file in download.
B, downloaded software are opened newly-built panel.
C, user are provided with the download attribute in newly-built panel, storage directory wherein mainly is set.
D, user set up downloading task after confirming to download.
In the existing downloading mode, user and downloaded software just can be known the size of target downloading file after flow process d, that is to say, after setting up downloading task, just can know the size of target downloading file, when the situation of memory space inadequate in setting up the process of downloading task, occurring like this, can cause downloading task to set up failure, bring bad experience to the user.
Summary of the invention
The embodiment of the invention provides a kind of suggestion device and method that is used for download system, and when avoiding memory space inadequate occurring in setting up the process of downloading task, the downloading task that causes is set up failure.
A kind of suggestion device that is used for download system of the embodiment of the invention, comprise: the target downloading file size acquisition unit, be used for when the user clicks URL, obtain this URL information, obtain the file fingerprint of this URL association by pre-download, and use this document fingerprint to the documentary URL of network side preservation, file size, and the data base querying of the incidence relation between the file fingerprint obtains the size of the target downloading file of this document fingerprint association; Available storage space size acquisition unit is used for obtaining from this locality the free memory size of current store path; Comparing unit, the size that is used for the described target downloading file that will obtain compares with the size of the described free memory that obtains, and the output comparative result; Tip element is used for the comparative result prompting user according to comparing unit output.
A kind of reminding method that is used for download system of the embodiment of the invention, when comprising the following steps: that the user clicks URL, obtain this URL information, obtain the file fingerprint of this URL association by pre-download, and use this document fingerprint to the documentary URL of network side preservation, file size, and the data base querying of the incidence relation between the file fingerprint obtains the size of the target downloading file of this document fingerprint association, and obtains the free memory size of current store path from this locality; The size of the described target downloading file that the obtains size with the described free memory that obtains is compared; According to comparative result prompting user.
The embodiment of the invention can make the user just can accurately know the size of target downloading file and the free memory size of current store path in setting up the process of downloading task, thereby when avoiding in setting up the process of downloading task, memory space inadequate occurring, cause downloading task to set up failure.
Description of drawings
Fig. 1 downloads flow process for existing downloaded software;
A kind of structural representation of Fig. 2 for installing in the embodiment of the invention;
The another kind of structural representation of Fig. 3 for installing in the embodiment of the invention;
Fig. 4 is the method step process flow diagram of the embodiment of the invention;
Fig. 5 is the design sketch of the free memory size of the accurate display-object download file size of newly-built panel and current store path in the embodiment of the invention;
Fig. 6 is a free memory deficiency of pointing out current store path in the embodiment of the invention in the newly-built panel, requires the user to put the disk of current store path or the design sketch of change store path in order.
Embodiment
Know that the size of target downloading file and the free memory of current store path (include but not limited to disk space in order to be implemented in to set up before the downloading task, also can be flash memory space etc.) size, thereby when avoiding in setting up the process of downloading task, memory space inadequate occurring, the downloading task that causes is set up failure, the embodiment of the invention provides a kind of suggestion device 1 that is used for download system, referring to shown in Figure 2, it comprises: target downloading file size acquisition unit 11, available storage space size acquisition unit 12, comparing unit 13 and Tip element 14.
Target downloading file size acquisition unit 11 is used for obtaining from network side the size of target downloading file.
Available storage space size acquisition unit 12 is used for obtaining from this locality the free memory size of current store path.
Comparing unit 13, the size that is used for the described target downloading file that will obtain compares with the size of the described free memory that obtains, and the output comparative result.
Tip element 14 is used for the comparative result prompting user according to comparing unit 13 outputs.
Can comprise in the target downloading file size acquisition unit 11 in the embodiment of the invention system that first obtains subelement 111 and/or second and obtain subelement 112,, obtain subelement 111 and second to obtain subelement 112 be example to comprise first simultaneously referring to shown in Figure 3; Can comprise in the Tip element 14: the first prompting subelement 141 or the second prompting subelement 142.
First obtains subelement 111, is used for when the user clicks URL, obtains original URL information and carries out pre-connection, with the size of the target downloading file that obtains this original URL association.
Second obtains subelement 112, be used for when the user clicks URL, to the documentary URL of network side preservation, file size, and the fingerprint of file correspondence (utilizes certain algorithm, md5-challenge MD5 for example, Message-Digest Algorithm 5 calculates the fingerprint of this document) between the data base querying of incidence relation obtain the size of the target downloading file of this URL association.
The first prompting subelement 141, be used for the comparative result of comparing unit 13 output for smaller or equal to the time, show the size of described target downloading file and the free memory size of current store path to the user.
The second prompting subelement 142, be used for the comparative result of comparing unit 13 output for greater than the time, to the free memory deficiency of the current store path of user prompt.
The embodiment of the invention also provides a kind of reminding method that is used for download system, referring to shown in Figure 4, comprises following key step:
S1, obtain the size of target downloading file, and obtain the free memory size of current store path from this locality from network side.
Wherein, obtain the size of target downloading file at least by one of following manner:
Mode one, when the user clicks URL, obtain original URL information and carry out pre-connection, with the size of the target downloading file that obtains this original URL association;
Mode two, server be by the file of web crawlers (spider) timing search network side, and set up URL, the file size of file and the incidence relation between the fingerprint of file correspondence with relevant database.Afterwards, when the user clicked URL, to the documentary URL of network side preservation, file size, and the data base querying of the incidence relation between the fingerprint of file correspondence obtained the size of the target downloading file of this URL association.
Wherein, obtain the free memory size of current store path from this locality, can be by the directly attribute realization of this disk of inquiry.
The size of S2, the described target downloading file that will obtain compares with the size of the described free memory that obtains.
S3, according to comparative result prompting user.
If comparative result be smaller or equal to the time, then show the size of free memory of the big or small and current store path of described target downloading file to the user, inform that promptly the current store path of user can set up this downloading task; If comparative result be greater than the time, then to the free memory deficiency of the current store path of user prompt, require the user to put the disk or the change store path of current store path in order, with the satisfied condition of setting up this downloading task.
Below be described in further detail by two embodiment.
Embodiment 1, obtain the size of target downloading file by pre-download.
S101, after the user clicks download link URL, first obtains subelement 111 (being integrated in the newly-built downloading task panel) in specific implementation obtains this URL information, and original URL is carried out pre-connection on the backstage, obtain the target downloading file size attribute (this mode lost efficacy for original link or the part stream media protocol does not come into force) of this original URL association.
And available storage space size acquisition unit 12 is inquired about the attribute of current store paths (for example last stored path), obtains the free memory size of current store path.
The size of the size of the described target downloading file that S102, comparing unit 13 will obtain and the described free memory that obtains compares, present embodiment hypothesis comparative result be smaller or equal to.
S103, the first prompting subelement 141 the comparative result of comparing unit 13 output be smaller or equal to the time, show the size of described target downloading file and the free memory size of current store path to the user, show that promptly the free memory of current store path satisfies this downloading task.The user can confirm download according to own needs after knowing the size and the free memory size of current store path of target downloading file, thereby guarantees the successful foundation of this downloading task.
Embodiment 2, obtain the size of target downloading file by data base querying.
S200, present embodiment need to set up database at network side in advance, in order to inquiry.The process of setting up this database comprises following content:
Isp server utilizes the binary file on the reptile spider mechanism periodic search internet, and the fingerprint storage that information such as the URL of binary file, file size is corresponding with it is in database.Database can adopt the relevant database technology to realize, on server the relational data library software can be installed, and the application programming interfaces (API, Application ProgrammingInterface) that can adopt relevant database manufacturer to provide.Generally in relevant database, adopt the interface routine of Structured Query Language (SQL) (SQL, Structured QueryLanguage) as the management database content.In binary file name and fingerprint contrasting data storehouse, store the tables of data of following content:
URL filename file size File fingerprint
URL1\aaa\1.2MB 575A1EDCF129D2
URL2\abc\1.2MB 575A1EDCF129D2
URL3\bbb\1GB 6E6B98CF0BCFD3
... ...
In the last table as can be seen, database with URL file name file size information such as fingerprint set up incidence relation.
S201, after the user clicks download link URL, second obtains subelement 112 (being integrated in the newly-built downloading task panel) in specific implementation obtains this URL information, and obtains the file fingerprint of this URL association by pre-download; Use this document fingerprint or this URL size afterwards to the target downloading file of this URL association of described data base querying.
And available storage space size acquisition unit 12 is inquired about the attribute of current store paths (for example last stored path), obtains the free memory size of current store path.
The size of the size of the described target downloading file that S202, comparing unit 13 will obtain and the described free memory that obtains compares, present embodiment hypothesis comparative result be greater than.
S203, the second prompting subelement 142, be used for the comparative result of comparing unit 13 output for greater than the time, to the free memory deficiency of the current store path of user prompt, require the user to put the disk or the change store path of current store path in order.Put the disk or change store path of current store path in order through the user after, can guarantee the successful foundation of this downloading task, can as prior art, not cause downloading task to set up failure, bring bad experience to the user.
Obtain the mode of target downloading file size in conjunction with (priority orders of dual mode for example being set with obtaining among the mode of target downloading file size and the embodiment 2 by pre-download in the foregoing description 1 by data base querying; For example obtain by dual mode simultaneously again and mutually verification etc.), can further reach more fast, accurately obtain the effect of target downloading file size, thereby bring better experience to the user.
In sum, referring to shown in Figure 5, be the design sketch of the free memory size of accurate display-object download file size of newly-built panel and current store path.
Referring to shown in Figure 6, be the free memory deficiency of the current store path of prompting in the newly-built panel, require the user to put the disk of current store path or the design sketch of change store path in order.Wherein can use different colours to highlight.
As seen, the embodiment of the invention can make the user (promptly open in the process of newly-built panel) in setting up the process of downloading task just can accurately know the size of target downloading file and the free memory size of current store path, thereby when avoiding memory space inadequate occurring in setting up the process of downloading task, the downloading task that causes is set up failure.And can make the user better grasp the operating position of working as front disk, make more rational store path and select.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1, a kind of suggestion device that is used for download system is characterized in that, comprising:
The target downloading file size acquisition unit, be used for when the user clicks URL, obtain this URL information, obtain the file fingerprint of this URL association by pre-download, and use the data base querying of the incidence relation of this document fingerprint between the documentary URL of network side preservation, file size and file fingerprint to obtain the size of the target downloading file of this document fingerprint association;
Available storage space size acquisition unit is used for obtaining from this locality the free memory size of current store path;
Comparing unit, the size that is used for the described target downloading file that will obtain compares with the size of the described free memory that obtains, and the output comparative result;
Tip element is used for the comparative result prompting user according to comparing unit output.
2, suggestion device as claimed in claim 1 is characterized in that, comprises in the described Tip element:
The first prompting subelement, be used for the comparative result of comparing unit output for smaller or equal to the time, show the size of described target downloading file and the free memory size of current store path to the user.
3, suggestion device as claimed in claim 1 is characterized in that, comprises in the described Tip element:
The second prompting subelement, be used for the comparative result of comparing unit output for greater than the time, to the free memory deficiency of the current store path of user prompt.
4, a kind of reminding method that is used for download system is characterized in that, comprises the following steps:
When the user clicks URL, obtain this URL information, obtain the file fingerprint of this URL association by pre-download, and use this document fingerprint to the documentary URL of network side preservation, file size, and the data base querying of the incidence relation between the file fingerprint obtains the size of the target downloading file of this document fingerprint association, and obtains the free memory size of current store path from this locality;
The size of the described target downloading file that the obtains size with the described free memory that obtains is compared;
According to comparative result prompting user.
5, reminding method as claimed in claim 4 is characterized in that, by the file of web crawlers spider search network side, and sets up URL, the file size of file and the incidence relation between the fingerprint of file correspondence with relevant database.
6, reminding method as claimed in claim 4 is characterized in that, described comparative result be smaller or equal to the time, show the size of described target downloading file and the size of the free memory of current store path to the user.
7, reminding method as claimed in claim 4 is characterized in that, described comparative result be greater than the time, to the free memory deficiency of the current store path of user prompt.
CNB2007101634288A 2007-10-22 2007-10-22 Reminding device and method used for download system Active CN100492367C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101634288A CN100492367C (en) 2007-10-22 2007-10-22 Reminding device and method used for download system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101634288A CN100492367C (en) 2007-10-22 2007-10-22 Reminding device and method used for download system

Publications (2)

Publication Number Publication Date
CN101140589A CN101140589A (en) 2008-03-12
CN100492367C true CN100492367C (en) 2009-05-27

Family

ID=39192541

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101634288A Active CN100492367C (en) 2007-10-22 2007-10-22 Reminding device and method used for download system

Country Status (1)

Country Link
CN (1) CN100492367C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997853A (en) * 2009-08-31 2011-03-30 中兴通讯股份有限公司 Data downloading method and terminal
CN101819561A (en) * 2010-04-21 2010-09-01 中兴通讯股份有限公司 File downloading method and system
CN103685197A (en) * 2012-09-24 2014-03-26 腾讯科技(深圳)有限公司 Client information acquisition method and server
US9942601B2 (en) * 2013-01-24 2018-04-10 Saturn Licensing Llc Storing non-real time content
CN104267803B (en) * 2014-09-09 2017-11-07 联想(北京)有限公司 Information processing method and electronic equipment
CN105592143B (en) * 2015-11-23 2019-09-06 新华三技术有限公司 A kind of file loading method and device
CN105812894A (en) * 2016-03-15 2016-07-27 青岛海信传媒网络技术有限公司 Video file processing method and device based on intelligent terminal
CN107220122A (en) * 2017-05-25 2017-09-29 深信服科技股份有限公司 A kind of task recognition method and device based on cloud platform
CN108319524A (en) * 2018-02-02 2018-07-24 郑州云海信息技术有限公司 A kind of method and device that baseboard management controller passes through KVM carry files
JP7171430B2 (en) * 2018-12-28 2022-11-15 キヤノン株式会社 IMAGE FORMING APPARATUS AND IMAGE FORMING APPARATUS CONTROL METHOD
CN111930696B (en) * 2020-07-22 2023-08-01 建信金融科技有限责任公司 File transmission processing method and system based on small program

Also Published As

Publication number Publication date
CN101140589A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN100492367C (en) Reminding device and method used for download system
CN100557567C (en) A kind of method, system and device of prompting software version update
CN102169507B (en) Implementation method of distributed real-time search engine
US9268853B2 (en) Business application fingerprinting and tagging
CN102195802B (en) Terminal software transmission method, server and terminal
US8997041B2 (en) Method of managing script, server performing the same and storage media storing the same
CN101789888B (en) Detection method and device for software installation
CN100565528C (en) A kind of system of automatic modifying target downloading file information, device and method
US7526530B2 (en) System and method for cacheing web files
CN105302920B (en) Cloud storage data optimization management method and system
AU2013210018B2 (en) Location independent files
CN105630808A (en) Distributed file system based file reading and writing method and node server
CN106302592A (en) The update method of terminal applies, server and terminal
CN102750629B (en) Schedule association method and device
CN103617199A (en) Data operating method and data operating system
CN102360410A (en) User operation discovery method of file system and synchronous system utilizing the same
CN104699511A (en) Plug-in upgrading method and plug-in upgrading device
CN103257971A (en) Terminal and file management method
CN110413292B (en) Light application installation method of application program, mobile terminal and storage medium
CN101122978A (en) Contract risk transferring system and method
CN104615459A (en) MoCA equipment parameter configuration method and device
EP1645978A1 (en) Organization of static and dynamic data sets
CN102541593A (en) Rapid comparison method of versions of remote files
CN104298757A (en) Method and system allowing compatibility with mobile clients and databases different in version
CN103412869A (en) Method for batch pushing of server data updating

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170421

Address after: A District No. 9018 building 518000 Guangdong Han innovation city of Shenzhen province Nanshan District high tech park, North Central Avenue, 4 floor 401

Patentee after: Shenzhen thunder network culture Co., Ltd.

Address before: 518057 Guangdong, Shenzhen, Nanshan District science and technology in the road, Shenzhen, No. 11, software park, building 7, level 8, two

Patentee before: Xunlei Network Technology Co., Ltd., Shenzhen

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180206

Address after: Nanshan District Guangdong streets of science and technology of Shenzhen city in Guangdong province 518057 two Road No. 11 Shenzhen Software Park Building 7, 8 floor

Patentee after: Xunlei Network Technology Co., Ltd., Shenzhen

Address before: A District No. 9018 Han innovation building 518000 Shenzhen city Nanshan District high tech park, North Central Avenue, 4 floor 401

Patentee before: Shenzhen thunder network culture Co., Ltd.

TR01 Transfer of patent right