CN100565528C - A kind of system of automatic modifying target downloading file information, device and method - Google Patents

A kind of system of automatic modifying target downloading file information, device and method Download PDF

Info

Publication number
CN100565528C
CN100565528C CNB200710165968XA CN200710165968A CN100565528C CN 100565528 C CN100565528 C CN 100565528C CN B200710165968X A CNB200710165968X A CN B200710165968XA CN 200710165968 A CN200710165968 A CN 200710165968A CN 100565528 C CN100565528 C CN 100565528C
Authority
CN
China
Prior art keywords
file
information
unique identification
document
target downloading
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
CNB200710165968XA
Other languages
Chinese (zh)
Other versions
CN101158964A (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 CNB200710165968XA priority Critical patent/CN100565528C/en
Publication of CN101158964A publication Critical patent/CN101158964A/en
Application granted granted Critical
Publication of CN100565528C publication Critical patent/CN100565528C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of system, device and method of automatic modifying target downloading file information, when realizing from the network side file in download, is this document matching files information automatically.System comprises: server is used to collect the information of file and the unique identification of this document, and sets up the incidence relation between the unique identification of the information of file and this document; Client is used to obtain the unique identification of target downloading file, and obtains corresponding file information with this sign to server lookup, and revises the current information of described target downloading file with the fileinfo that obtains.Method comprises: collect the information of file and the unique identification of this document, and set up the incidence relation between the unique identification of the information of file and this document; Obtain the unique identification of target downloading file, and obtain corresponding file information, and revise the current information of described target downloading file with the fileinfo that obtains with the described incidence relation of this sign inquiry.

Description

A kind of system of automatic modifying target downloading file information, device and method
Technical field
The present invention relates to internet arena, particularly relate to a kind of system, device and method of automatic modifying target downloading file information.
Background technology
Along with Internet development, the user is increasing from the file of the Internet download.But the file name on the internet is very strange, and name has no rule, for example " 175863.wmv " or " XX download website-2134.mp3 ".Along with such name and the unmatched file of content are increasing, bring very big puzzlement for the file on required file of user's download and the management hard disk.
The user possibly can't be known the actual content (for example 142567.mp3) of this document after determining target downloading file at present, and then the user need can't determine whether to download; Referring to shown in Figure 1, even the user is known the fileinfo (as: title) that target downloading file should be named by info web or alternate manner, also can only manually before download, fill in " depositing title in addition ", perhaps revised file title after download, this is obviously more loaded down with trivial details, especially when downloading a plurality of file in batches.
In sum, prior art has been brought bad experience to the user.
Summary of the invention
The embodiment of the invention provides a kind of system, device and method of automatic modifying target downloading file information, when realizing from the network side file in download, is this document matching files information automatically.
The system of a kind of automatic modifying target downloading file information of the embodiment of the invention comprises:
Server is used to collect the information of file and the unique identification of this document, and sets up the incidence relation between the unique identification of the information of file and this document; Described server is collected the information of file at least by one of following manner:
Mode A1, file and info web thereof by reptile mechanism periodic search network side, and know the information of this document according to info web;
The fileinfo that mode A2, collection user issue by client;
Mode A3, collect fileinfo from client one side;
Client is used to obtain the unique identification of target downloading file, and obtains corresponding file information with this sign to server lookup, and revises the current information of described target downloading file with the fileinfo that obtains.
The method of a kind of automatic modifying target downloading file information of the embodiment of the invention comprises the following steps:
Server is collected the information of file and the unique identification of this document, and sets up the incidence relation between the unique identification of the information of file and this document; At least collect the information of file by one of following manner:
Mode A1, file and info web thereof by reptile mechanism periodic search network side, and know the information of this document according to info web;
The fileinfo that mode A2, collection user issue by client;
Mode A3, collect fileinfo from client one side;
Client is obtained the unique identification of target downloading file, and obtains corresponding file information with the described incidence relation of this sign inquiry, and revises the current information of described target downloading file with the fileinfo that obtains.
In the embodiment of the invention, owing to the incidence relation between the unique identification of the information of in server, having set up file and this document, so the service of automatic match query fileinfo can be provided for this client when the client downloads file, make that client can be according to the current information of the automatic modifying target downloading file of the information that server returns.
Description of drawings
Fig. 1 manually fills in the synoptic diagram of depositing title in addition for existing user before download;
Fig. 2 is the structural representation of system of a kind of automatic modifying target downloading file information of the embodiment of the invention;
Fig. 3 is the synoptic diagram that server is collected the fileinfo mode in the embodiment of the invention;
Fig. 4 is the synoptic diagram of client query fileinfo in the embodiment of the invention;
Fig. 5 is the structural representation of a kind of server of the embodiment of the invention;
Fig. 6 is the structural representation of a kind of client of the embodiment of the invention;
Fig. 7 is the flow chart of steps of method of a kind of automatic modifying target downloading file information of the embodiment of the invention.
Embodiment
In order to solve problems of the prior art, make user's downloaded files can match fileinfo automatically, make things convenient for the user at local hard drive resource to be managed in the future, the embodiment of the invention provides a kind of system of automatic modifying target downloading file information, referring to shown in Figure 2, it comprises: server 1 and client 2.
Wherein, described server 1 is used to collect the information of file and the unique identification of this document (described unique identification includes but not limited to file fingerprint), and sets up the incidence relation between the unique identification of the information of file and this document.
Further referring to shown in Figure 3, this server 1 can be collected fileinfo (described fileinfo includes but not limited to the title of file, also can comprise descriptors such as title, description, label, download time, singer, affiliated special edition) by one of following manner at least:
Mode A1, file and info web thereof by web crawlers Spider mechanism periodic search network side, and know the information such as title of this document according to info web;
The information such as file name that mode A2, collection user issue by client 2;
Mode A3, collect information such as file name from client 2 one sides.
Further, this server 1 is collected the unique identification of file by one of following manner:
Mode B1, when collecting the information of file, collect the unique identification of this document in the lump;
Mode B2, after collecting the information of file, calculate the unique identification of this document by certain algorithm (as Hash hash algorithm or md5-challenge MD5, Message-Digest Algorithm 5 below repeats no more).
Wherein, referring to shown in Figure 4, described client 2 is used for obtaining by certain algorithm computation the unique identification of target downloading file, and obtains corresponding file information with this sign to server 1 inquiry, and revises the current information of described target downloading file with the fileinfo that obtains.
Corresponding said system, the embodiment of the invention also provides a kind of server 1, and referring to shown in Figure 5, it comprises: collector unit 11 and Database Unit 12; Can comprise further in the described collector unit 11 that first collects the subelement 111 and the second collection subelement 112.
Described collector unit 11 is used to collect the information (described fileinfo includes but not limited to the title of file, also can comprise descriptors such as title, description, label, download time, singer, affiliated special edition) of file and the unique identification of this document.The first collection subelement 111 wherein can be collected the information of file: mode A1 at least, pass through the file and the info web thereof of reptile mechanism periodic search network side by one of following manner, and knows the information of this document according to info web; The fileinfo that mode A2, collection user issue by client 2; Mode A3, collect fileinfo from client 2 one sides.Wherein second collect subelement 112, be used for collecting the unique identification of file: mode B1, when collecting the information of file by one of following manner, collect the unique identification of this document in the lump; Mode B2, after collecting the information of file, calculate the unique identification of this document.
The type of described Database Unit 12 can be relationship type, is used to set up the incidence relation between the unique identification of the title of file and this document, in order to inquiry.
Corresponding said system, the embodiment of the invention also provides a kind of client 2, and referring to shown in Figure 6, it comprises: acquiring unit 21, query unit 22 and modification unit 23.
Acquiring unit 21 is used to obtain the unique identification of target downloading file; Specifically can obtain, perhaps directly obtain from loading source by certain algorithm computation.
Query unit 22 is used to send the query messages that carries described sign, and extracts the information of target downloading file from response message.
Revise unit 23, be used for revising the current information of described target downloading file with the fileinfo that query unit 22 inquiries obtain.
Corresponding said system, the embodiment of the invention also provides a kind of method of automatic modifying target downloading file information, referring to shown in Figure 7, comprises following key step:
S1, the information of collecting file and the unique identification of this document.
Specifically can collect the information of file: mode A1 at least by one of following manner, pass through the file and the info web thereof of reptile mechanism periodic search network side, and know the information of this document according to info web; The fileinfo that mode A2, collection user issue by client 2; Mode A3, collect fileinfo from client 2 one sides.
Specifically can collect the unique identification of this document in the lump by the unique identification of one of following manner collection file: mode B1, when collecting the information of file; Mode B2, after collecting the title of file, by the unique identification of certain algorithm computation this document.
Incidence relation between the unique identification of S2, the information of setting up file and this document.
S3, obtain the unique identification of target downloading file, and obtain corresponding file information with the described incidence relation of this sign inquiry.
S4, revise the current information of described target downloading file with the fileinfo that obtains.
Below be described in further detail description by an embodiment.
Embodiment 1, obtain fileinfo by web crawlers spider program, and when the user's download file automatic matching files title.
Step 100, ISP (Internet Service Provider, ISP) server is by the binary file in the web crawlers spider program periodic search webpage, and obtain the title of this document by info web, for example: a URL (Uniform Resource Locator, URL(uniform resource locator)) link content pointed is a sudden peal of thunder five client installation files, but this URL links the name of file pointed is called " adse.exe ", then can know that this document actual name should be " sudden peal of thunder five client setup.exe " by the descriptor webpage that is associated with this URL; Except that the title of file, also can obtain other descriptors of file in the lump, as title, description, label, download time etc.
Step 101, the isp server file (being adse.exe) that described URL is pointed carry out uniqueization sign with certain algorithm (as the CID algorithm, MD5 algorithm, hash algorithm etc.), as adopt a kind of algorithm computation to obtain the fingerprint " 575A1E " of this document.
Step 102, ginseng are shown in Table 1, and isp server is set up file fingerprint by relevant database and is the binary file of " 575A1E " and the incidence relation between its file name that should name " sudden peal of thunder five client setup.exe ".
The binary file filename File fingerprint
A sudden peal of thunder five client setup.exe 575A1
A sudden peal of thunder six client setup.exe 1E8C8
... ...
Table 1
Described relevant database can be realized by the relational data library software is installed on isp server, 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.
If in the step 100, except that the title of file, other information of file have also been obtained, as title, description, label, download time etc., then can expand this database, by the multiple information of a plurality of field description files, with the modification of the information that supports other fields except that file name, for example information such as the singer of the included song of ID3 label of mp3 file, special edition.
Step 103, when the user utilizes the client downloads file, at first (the used algorithm of this algorithm and server side is identical according to certain algorithm for client, can be by the realization of making an appointment, for example adopt the MD5 algorithm) calculate the fingerprint of desiring file in download, for example be " 575A1E ", and this fingerprint is sent to isp server.
Step 104, isp server find the record of coupling according to this fingerprint in described database, and return corresponding file title " sudden peal of thunder five client setup.exe " to client.
Step 105, ISP customer's end return response after receiving this document title, and with file name " sudden peal of thunder five client setup.exe " rename " adse.exe " file.
In sum, in the embodiment of the invention, owing to the incidence relation between the unique identification of the information of in server, having set up file and this document, so the service of automatic match query fileinfo can be provided for this client when the client downloads file, make the information of the automatic modifying target downloading file of information that client can be returned according to server, thereby simplified the behavior of user's download file.
Concrete, if described fileinfo is a file name, then be applicable to all types of files.By the title that embodiment of the invention user deposits in addition without written document, improved the accuracy of file in download name, and made user's downloaded files Naming conventions, come into plain view, be convenient to management.When downloading in batches, effect is particularly outstanding.
Concrete, if described fileinfo is a file description information, include but not limited to title, description, label, download time, singer and affiliated special edition etc., then applicable to the file of particular type.For example: during user's download MP3, can revise the ID3 label of MP3 automatically, make when the user uses support ID3 label to play the software of MP3, can directly obtain the relevant information of this MP3, bring better experience to the user.
Certainly, if described fileinfo comprises file name and file description information, then can bring optimum effect.
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 (13)

1, a kind of system of automatic modifying target downloading file information is characterized in that, comprising:
Server is used to collect the information of file and the unique identification of this document, and sets up the incidence relation between the unique identification of the information of file and this document; Described server is collected the information of file at least by one of following manner:
Mode A1, file and info web thereof by reptile mechanism periodic search network side, and know the information of this document according to info web;
The fileinfo that mode A2, collection user issue by client;
Mode A3, collect fileinfo from client one side;
Client is used to obtain the unique identification of target downloading file, and obtains corresponding file information with this sign to server lookup, and revises the current information of described target downloading file with the fileinfo that obtains.
2, the system as claimed in claim 1 is characterized in that, the fileinfo that server is collected comprises the title of file, then sets up the incidence relation between the unique identification of the title of file and this document;
Client is obtained the unique identification of target downloading file, and obtains the corresponding file title with this sign to server lookup, and with the described target downloading file of this document name nominating.
3, system as claimed in claim 1 or 2 is characterized in that, the fileinfo that server is collected comprises description information of files, then sets up the incidence relation between the unique identification of description information of files and this document;
Client is obtained the unique identification of target downloading file, and obtains the corresponding file descriptor with this sign to server lookup, and revises the current file description information of described target downloading file with the file description information that obtains.
4, system as claimed in claim 3 is characterized in that, it is one of following that described description information of files comprises at least: title, description, label, download time, singer and affiliated special edition.
5, system as claimed in claim 3 is characterized in that, described target downloading file is an audio file, then with the ID3 label of the described file description information modifying target downloading file that obtains.
6, the system as claimed in claim 1 is characterized in that, described server is collected the unique identification of file by one of following manner:
Mode B1, when collecting the information of file, collect the unique identification of this document in the lump;
Mode B2, after collecting the information of file, calculate the unique identification of this document.
7, the system as claimed in claim 1 is characterized in that, internal database in described server is with the incidence relation between the unique identification of the information of setting up file and this document.
8, a kind of method of automatic modifying target downloading file information is characterized in that, comprises the following steps:
Server is collected the information of file and the unique identification of this document, and sets up the incidence relation between the unique identification of the information of file and this document; At least collect the information of file by one of following manner:
Mode A1, file and info web thereof by reptile mechanism periodic search network side, and know the information of this document according to info web;
The fileinfo that mode A2, collection user issue by client;
Mode A3, collect fileinfo from client one side;
Client is obtained the unique identification of target downloading file, and obtains corresponding file information with the described incidence relation of this sign inquiry, and revises the current information of described target downloading file with the fileinfo that obtains.
9, method as claimed in claim 8 is characterized in that,
The fileinfo of collecting comprises the title of file, then sets up the incidence relation between the unique identification of the title of file and this document;
Obtain the unique identification of target downloading file, and obtain the corresponding file title with the described incidence relation of this sign inquiry, and with the described target downloading file of this document name nominating.
10, method as claimed in claim 8 or 9 is characterized in that,
The fileinfo of collecting comprises description information of files, then sets up the incidence relation between the unique identification of description information of files and this document;
Obtain the unique identification of target downloading file, and obtain the corresponding file descriptor, and revise the current file description information of described target downloading file with the file description information that obtains with the described incidence relation of this sign inquiry.
11, method as claimed in claim 10 is characterized in that, it is one of following that described description information of files comprises at least: title, description, label, download time, singer and affiliated special edition.
12, method as claimed in claim 10 is characterized in that, described target downloading file is an audio file, then with the ID3 label of the described file description information modifying target downloading file that obtains.
13, method as claimed in claim 8 is characterized in that, collects the unique identification of file by one of following manner:
Mode B1, when collecting the information of file, collect the unique identification of this document in the lump;
Mode B2, after collecting the information of file, calculate the unique identification of this document.
CNB200710165968XA 2007-11-09 2007-11-09 A kind of system of automatic modifying target downloading file information, device and method Active CN100565528C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200710165968XA CN100565528C (en) 2007-11-09 2007-11-09 A kind of system of automatic modifying target downloading file information, device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200710165968XA CN100565528C (en) 2007-11-09 2007-11-09 A kind of system of automatic modifying target downloading file information, device and method

Publications (2)

Publication Number Publication Date
CN101158964A CN101158964A (en) 2008-04-09
CN100565528C true CN100565528C (en) 2009-12-02

Family

ID=39307066

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200710165968XA Active CN100565528C (en) 2007-11-09 2007-11-09 A kind of system of automatic modifying target downloading file information, device and method

Country Status (1)

Country Link
CN (1) CN100565528C (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873355A (en) * 2010-06-28 2010-10-27 深圳市迅雷网络技术有限公司 Method, device and system for downloading file
CN102457584A (en) * 2010-10-25 2012-05-16 腾讯科技(深圳)有限公司 Method for automatically renaming media file while downloading and downloading system
CN102110144B (en) * 2011-02-12 2013-01-09 惠州Tcl移动通信有限公司 Document access method and terminal equipment
CN103634342B (en) * 2012-08-22 2018-03-20 腾讯科技(深圳)有限公司 Obtain the method and system for the resource name for downloading resource
CN103678295B (en) * 2012-08-29 2017-09-19 北京音之邦文化科技有限公司 Method and device for providing files for user
CN103401908A (en) * 2013-07-23 2013-11-20 百度在线网络技术(北京)有限公司 Method for renaming downloaded file and cloud server
CN104424188B (en) * 2013-08-19 2018-07-20 上海携程商务有限公司 The system and method that the web data of acquisition is updated
CN104317813A (en) * 2014-09-25 2015-01-28 珠海市君天电子科技有限公司 Method, client, server end and system for converting name of application program
CN105589863B (en) * 2014-10-22 2020-07-14 腾讯科技(深圳)有限公司 Searching method, data processing method, device and system
CN104572823A (en) * 2014-12-05 2015-04-29 深圳天珑无线科技有限公司 Intelligent terminal and naming method of apk file thereof
CN104731106B (en) * 2015-01-23 2017-09-01 广州快飞计算机科技有限公司 Parameter amending method and device based on flight controller
CN106681999B (en) * 2015-11-05 2021-01-26 阿里巴巴集团控股有限公司 Data table query method and device
CN106326394A (en) * 2016-08-18 2017-01-11 乐视控股(北京)有限公司 Method and device for obtaining file name
CN107040809B (en) * 2017-04-12 2019-11-29 维沃移动通信有限公司 Video name display methods and mobile terminal
CN109324801B (en) * 2018-09-18 2022-04-12 华为云计算技术有限公司 Algorithm downloading method, equipment and related product
WO2021056259A1 (en) * 2019-09-25 2021-04-01 深圳市大疆创新科技有限公司 File download control method, terminal, system, movable platform, and storage medium

Also Published As

Publication number Publication date
CN101158964A (en) 2008-04-09

Similar Documents

Publication Publication Date Title
CN100565528C (en) A kind of system of automatic modifying target downloading file information, device and method
US8635609B2 (en) Software certification and update process
US8726267B2 (en) Sharing software certification and process metadata
US8150729B2 (en) Method, system and program product for displaying advertising content on a music player
US7590981B2 (en) Update package for offline synchronization of software updates
CN101621405B (en) Distributed type management monitoring system, monitoring method and establishing method thereof
US20090222811A1 (en) Systems and methods for managing software patches
CN111078504A (en) Distributed call chain tracking method and device, computer equipment and storage medium
CN1828599A (en) Ghosted synchronization
CN100492367C (en) Reminding device and method used for download system
CN102262544A (en) Method and device for upgrading software
KR100916162B1 (en) Fingerprint database maintenance method and system
CN101179474A (en) Download method, system and device
US20110055352A1 (en) System and method for brokering content and metadata of content on network
CN102195802A (en) Terminal software transmission method, server and terminal
TW200935245A (en) System and method for providing visibility for dynamic webpages
CN101046806B (en) Search engine system and method
US20140359066A1 (en) System, method and device for offline downloading resource and computer storage medium
CN105760380A (en) Database query method, device and system
CN101983382B (en) Targeted distribution of search index fragments over a wireless communication network
US7657585B2 (en) Automated process for identifying and delivering domain specific unstructured content for advanced business analysis
CN101662478A (en) Method for tracking downloading, installation and uninstallation of software and system thereof
CN111158711A (en) Application program deployment method and device for multiple android system terminals
US8458098B1 (en) Methods of tracking remote software installations and registrations and related systems and computer program products
TWI430107B (en) Computer implemented method, computer program product, and data processing system for managing a plurality of lightewight directory access protocol servers

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: 20170620

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, building 11, Shenzhen Software Park, two road, Nanshan District science and technology, Guangdong, Shenzhen, 7,8

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 building 518000 Guangdong Han innovation city of Shenzhen province Nanshan District high tech park, North Central Avenue, 4 floor 401

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

TR01 Transfer of patent right