CN103401908A - Method for renaming downloaded file and cloud server - Google Patents
Method for renaming downloaded file and cloud server Download PDFInfo
- Publication number
- CN103401908A CN103401908A CN2013103117915A CN201310311791A CN103401908A CN 103401908 A CN103401908 A CN 103401908A CN 2013103117915 A CN2013103117915 A CN 2013103117915A CN 201310311791 A CN201310311791 A CN 201310311791A CN 103401908 A CN103401908 A CN 103401908A
- Authority
- CN
- China
- Prior art keywords
- download
- download file
- cloud server
- file
- content
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method for renaming a downloaded file and a cloud server. The method comprises the following steps that the cloud server receives a download request of a user for the file to be downloaded; the cloud server acquires a download address of the file to be downloaded; the cloud server acquires download prompt contents according to the download address and renames the name of the downloaded file according to the download prompt contents. According to the method in the embodiment of the invention, the input operation of manually modifying a file name by the user is reduced and the user experience is improved.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of file and download method and the cloud server of rename.
Background technology
At present, the user is during from the cloud server downloading files, and cloud server generates the filename of download file according to download address (URL address).
The problem that exists at present is that cloud server can not be named according to the content meaning of download file according to the filename that download address generates, and causes the content meaning of filename and download file inconsistent.Need oneself manually filename to be carried out rename after user's download file, increased user's operation, poor user experience.
Summary of the invention
The present invention is intended to one of solve the problems of the technologies described above at least.
For this reason, first purpose of the present invention is to propose a kind of file and downloads the method for rename.The method has reduced the input operation of the own manual modification filename of user, has promoted user's experience.
Second purpose of the present invention is to propose a kind of cloud server.
To achieve these goals, the method for the file of first aspect present invention embodiment download rename comprises the following steps: cloud server receives the download request of user for download file; Described cloud server obtains download address corresponding to described download file; And described cloud server obtains the prompting download content according to described download address, and according to described prompting download content, the title of described download file carried out rename.
Download the method for rename according to the file of the embodiment of the present invention, cloud server obtains the filename consistent with download file content meaning by the download address analysis to download file, and according to the filename that obtains, download file is carried out rename.Reduce the input operation of the own manual modification filename of user, promoted user's experience.
To achieve these goals, the cloud server of second aspect present invention embodiment comprises: receiver module is used for receiving the download request of user for download file; The first acquisition module, be used for obtaining download address corresponding to described download file; The second acquisition module, be used for obtaining the prompting download content according to described download address; And modified module, be used for, according to described prompting download content, the title of described download file is carried out rename.
, according to the cloud server of the embodiment of the present invention, obtain the filename consistent with download file content meaning by the download address analysis to download file, and according to the filename that obtains, download file is carried out rename.Reduce the input operation of the own manual modification filename of user, promoted user's experience.
The aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or by practice of the present invention, recognize.
Description of drawings
Above-mentioned and/or the additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments and obviously and easily understand, wherein,
Fig. 1 is that file is downloaded the flow chart of the method for rename according to an embodiment of the invention;
Fig. 2 is the structural representation of cloud server according to an embodiment of the invention; And
Fig. 3 is the structural representation of the cloud server of a specific embodiment according to the present invention.
Embodiment
Below describe embodiments of the invention in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise spirit and interior all changes, modification and the equivalent of intension scope that falls into additional claims.
In description of the invention, it will be appreciated that, term " first ", " second " etc. only are used for describing purpose, and can not be interpreted as indication or hint relative importance.In description of the invention, need to prove, unless otherwise clearly defined and limited, term " is connected ", " connection " should do broad understanding, for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be also to be electrically connected to; Can be directly to be connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
Describe and can be understood in flow chart or in this any process of otherwise describing or method, expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used to realize specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by opposite order, carry out function, this should be understood by the embodiments of the invention person of ordinary skill in the field.
Method and the cloud server of downloading rename according to the file of the embodiment of the present invention described below with reference to accompanying drawing.
At present, need manual filename to download file to carry out rename after user's download file, if cloud server is analyzed by the Webpage to download file and download address, thereby obtain the filename consistent with download file content meaning, can help thus the user to reduce the operation of input rename, promote the user and experience.For this reason, the present invention proposes a kind of file and download the method for rename, comprise the following steps: cloud server receives the download request of user for download file; Cloud server obtains download address corresponding to download file; And cloud server obtains the prompting download content according to download address, and according to the prompting download content, the title of download file carried out rename.
Fig. 1 is that file is downloaded the flow chart of the method for rename according to an embodiment of the invention.
As shown in Figure 1, the method for file download rename comprises:
S101, cloud server receive the download request of user for download file.
S102, cloud server obtain download address corresponding to download file.
S103, cloud server obtains the prompting download content according to download address, and according to the prompting download content, the title of download file is carried out rename.
Wherein, the prompting download content can comprise the content information of the affiliated webpage of download file, the type of download file, the content of download file etc.Particularly, cloud server obtains the prompting download content according to Webpage and the download address (URL address) of download file, then the prompting download content is analyzed to identify the content meaning of download file.Cloud server, according to the comparatively rational filename of the Information generations such as the content meaning of download file, download time, download address, is then controlled the original filename of filename replacement that will arrange by content configuration Content-Disposition field.Wherein, the Content-Disposition field is http(hypertext transport protocol, HTTP) in title definition, cloud server carries out rename by the Content-Disposition field is set.
In one embodiment of the invention, cloud server obtains the content information of the affiliated webpage of download file, and determines the title of download file according to content information.Particularly, after cloud server obtains the download address of download file, at first can analyze the webpage under download file.Cloud server is analyzed the title of this webpage and the content meaning of content, and determines the title of download file according to the content meaning.
In one embodiment of the invention, cloud server obtains the type of download file, and the title of determining download file according to type and the attribute of download file.Particularly, if cloud server can not go out according to web page analysis under download file the title of download file, cloud server can be according to the attribute of the type-collection download file of download file, for example, if download file is the file of Mp3 type, cloud server can extract the information such as song title in the download file attribute, singer, special edition.Cloud server is analyzed the type of this download file and the content meaning of attribute, and determines the title of download file according to the content meaning.
In one embodiment of the invention, cloud server obtains at least part of content of download file, and determines the title of download file according at least part of content of download file.Particularly, if the title that cloud server can not be determined download file according to type and the attribute of download file, cloud server can be by reading the partial document content of download file, for example, if download file is document, cloud server can read the title of the document etc.The content meaning of the partial document content that the cloud server analysis is read, and determine the title of download file according to the content meaning.
In one embodiment of the invention, cloud server obtains the naming rule that the user sets, and determines the title of download file according to naming rule.Particularly, cloud server can be followed the rule of user's setting, according to user's individual, organizes custom to determine the title of download file.For example, some user habit is with the form name of Mp3 file according to singer _ title of the song, and some user habit is with the form name of Mp3 file according to title of the song _ singer.
Download the method for rename according to the file of the embodiment of the present invention, cloud server obtains the filename consistent with download file content meaning by the download address analysis to download file, and according to the filename that obtains, download file is carried out rename.Reduce the input operation of the own manual modification filename of user, promoted user's experience.
In order to realize above-described embodiment, the present invention also proposes a kind of cloud server.
A kind of cloud server comprises: receiver module is used for receiving the download request of user for download file; The first acquisition module, be used for obtaining download address corresponding to download file; The second acquisition module, be used for obtaining the prompting download content according to download address; And modified module, be used for, according to the prompting download content, the title of download file is carried out rename.
Fig. 2 is the structural representation of cloud server according to an embodiment of the invention.
As shown in Figure 2, cloud server comprises: receiver module 110, the first acquisition module 120, the second acquisition module 130 and modified module 140.
Particularly, receiver module 110 is used for receiving the download request of user for download file.
The first acquisition module 120 is used for obtaining download address corresponding to download file.
The second acquisition module 130 is used for obtaining the prompting download content according to download address.Wherein, the prompting download content can comprise the content information of the affiliated webpage of download file, the type of download file, the content of download file etc.More specifically, the second acquisition module 130 obtains the prompting download content according to Webpage and the download address (URL address) of download file.
Modified module 140 is used for, according to the prompting download content, the title of download file is carried out rename.More specifically, 140 pairs of prompting download contents of modified module analyze to identify the content meaning of download file.Modified module 140, according to the comparatively rational filename of the Information generations such as the content meaning of download file, download time, download address, is then controlled the original filename of filename replacement that will arrange by content configuration Content-Disposition field.Wherein, the Content-Disposition field is http(hypertext transport protocol, HTTP) in title definition, modified module 140 carries out rename by the Content-Disposition field is set.
, according to the cloud server of the embodiment of the present invention, obtain the filename consistent with download file content meaning by the download address analysis to download file, and according to the filename that obtains, download file is carried out rename.Reduce the input operation of the own manual modification filename of user, promoted user's experience.
In one embodiment of the invention, the second acquisition module 130 also is used for obtaining the content information of the affiliated webpage of download file, and determines the title of download file according to content information.Particularly, after the first acquisition module 120 obtained the download address of download file, at first the second acquisition module 130 can be analyzed the webpage under download file.The second acquisition module 130 is analyzed the title of this webpage and the content meaning of content, and determines the title of download file according to the content meaning.
In one embodiment of the invention, the second acquisition module 130 also is used for obtaining the type of download file, and the title of determining download file according to type and the attribute of download file.Particularly, if the second acquisition module 130 can not go out according to web page analysis under download file the title of download file, the second acquisition module 130 can be according to the attribute of the type-collection download file of download file, for example, if download file is the file of Mp3 type, the second acquisition module 130 can extract the information such as song title in the download file attribute, singer, special edition.The second acquisition module 130 is analyzed the type of this download file and the content meaning of attribute, and determines the title of download file according to the content meaning.
In one embodiment of the invention, the second acquisition module 130 also is used for obtaining at least part of content of download file, and determines the title of download file according at least part of content of download file.Particularly, if the title that the second acquisition module 130 can not be determined download file according to type and the attribute of download file, the second acquisition module 130 can be by reading the partial document content of download file, for example, if download file is document, the second acquisition module 130 can read the title of the document etc.The second acquisition module 130 is analyzed the content meaning of the partial document content that reads, and determines the title of download file according to the content meaning.
Fig. 3 is the structural representation of the cloud server of a specific embodiment according to the present invention.
As shown in Figure 3, cloud server comprises: receiver module 110, the first acquisition module 120, the second acquisition module 130, modified module 140 and the 3rd acquisition module 150.
Particularly, the 3rd acquisition module 150 is used for obtaining the naming rule that the user sets, and determines the title of download file according to naming rule.Particularly, the 3rd acquisition module 150 can be followed the rule of user's setting, according to user's individual, organizes custom to determine the title of download file.For example, some user habit is with the form name of Mp3 file according to singer _ title of the song, and some user habit is with the form name of Mp3 file according to title of the song _ singer.
According to the cloud server of the embodiment of the present invention, the naming rule of setting by obtaining the user, can determine according to naming rule the title of download file.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in memory and by software or firmware that suitable instruction execution system is carried out.For example, if with hardware, realize, the same in another embodiment, can realize with any one in following technology well known in the art or their combination: have for data-signal being realized the discrete logic of the logic gates of logic function, application-specific integrated circuit (ASIC) with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the characteristics of this embodiment or example description.In this manual, the schematic statement of above-mentioned term not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or characteristics can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that do not break away from principle of the present invention and aim can be carried out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.
Claims (10)
1. a file is downloaded the method for rename, it is characterized in that, comprises the following steps:
Cloud server receives the download request of user for download file;
Described cloud server obtains download address corresponding to described download file; And
Described cloud server obtains the prompting download content according to described download address, and according to described prompting download content, the title of described download file is carried out rename.
2. the method for claim 1, is characterized in that, also comprises:
Described cloud server obtains the content information of the affiliated webpage of described download file, and determines the title of described download file according to described content information.
3. method as claimed in claim 1 or 2, is characterized in that, also comprises:
Described cloud server obtains the type of described download file, and the title of determining described download file according to type and the attribute of described download file.
4., as the described method of claim 1-3 any one, it is characterized in that, also comprise:
Described cloud server obtains at least part of content of described download file, and determines the title of described download file according at least part of content of described download file.
5., as the described method of claim 1-3 any one, it is characterized in that, also comprise:
Described cloud server obtains the naming rule that described user sets, and determines the title of described download file according to described naming rule.
6. a cloud server, is characterized in that, comprising:
Receiver module, be used for receiving the download request of user for download file;
The first acquisition module, be used for obtaining download address corresponding to described download file;
The second acquisition module, be used for obtaining the prompting download content according to described download address; And
Modified module, be used for, according to described prompting download content, the title of described download file is carried out rename.
7. cloud server as claimed in claim 6, is characterized in that, described the second acquisition module also is used for obtaining the content information of the affiliated webpage of described download file, and determine the title of described download file according to described content information.
8. cloud server as claimed in claim 6, is characterized in that, described the second acquisition module also is used for obtaining the type of described download file, and the title of determining described download file according to type and the attribute of described download file.
9., as the described cloud server of claim 6-8 any one, it is characterized in that, described the second acquisition module also is used for obtaining at least part of content of described download file, and determines the title of described download file according at least part of content of described download file.
10., as the described cloud server of claim 6-8 any one, it is characterized in that, also comprise:
The 3rd acquisition module, be used for obtaining the naming rule that described user sets, and determine the title of described download file according to described naming rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103117915A CN103401908A (en) | 2013-07-23 | 2013-07-23 | Method for renaming downloaded file and cloud server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103117915A CN103401908A (en) | 2013-07-23 | 2013-07-23 | Method for renaming downloaded file and cloud server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103401908A true CN103401908A (en) | 2013-11-20 |
Family
ID=49565431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013103117915A Pending CN103401908A (en) | 2013-07-23 | 2013-07-23 | Method for renaming downloaded file and cloud server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103401908A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631916A (en) * | 2013-11-29 | 2014-03-12 | 北京奇虎科技有限公司 | Method and device for downloading downloadable resources |
CN103648053A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and device for connecting remote storage device in intelligent television |
CN103699597A (en) * | 2013-12-12 | 2014-04-02 | 北京奇虎科技有限公司 | Method for downloading file through browser and browser |
CN104572823A (en) * | 2014-12-05 | 2015-04-29 | 深圳天珑无线科技有限公司 | Intelligent terminal and naming method of apk file thereof |
CN105447061A (en) * | 2014-09-29 | 2016-03-30 | 优视科技有限公司 | Method and system for automatically renaming file after downloading |
CN106095898A (en) * | 2016-06-07 | 2016-11-09 | 武汉斗鱼网络科技有限公司 | A kind of video title management method and device |
CN106326394A (en) * | 2016-08-18 | 2017-01-11 | 乐视控股(北京)有限公司 | Method and device for obtaining file name |
CN107040809A (en) * | 2017-04-12 | 2017-08-11 | 维沃移动通信有限公司 | Video name display methods and mobile terminal |
US10565164B2 (en) | 2017-11-01 | 2020-02-18 | International Business Machines Corporation | Dynamic file name generation for a plurality of devices |
CN111104382A (en) * | 2019-12-18 | 2020-05-05 | 北京明略软件系统有限公司 | File default naming method and device and electronic equipment |
CN113691568A (en) * | 2020-05-18 | 2021-11-23 | 青岛海信移动通信技术股份有限公司 | Terminal and method for acquiring file information |
CN117014425A (en) * | 2023-08-11 | 2023-11-07 | 深圳先锋居善科技有限公司 | File downloading method, device, equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158964A (en) * | 2007-11-09 | 2008-04-09 | 深圳市迅雷网络技术有限公司 | System, device and method for automatically modifying target downloading file information |
CN102420870A (en) * | 2011-12-02 | 2012-04-18 | 山东大学 | Network file storage method for thin client |
CN102457584A (en) * | 2010-10-25 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Method for automatically renaming media file while downloading and downloading system |
CN102789484A (en) * | 2012-06-28 | 2012-11-21 | 奇智软件(北京)有限公司 | Method and device for webpage information processing |
-
2013
- 2013-07-23 CN CN2013103117915A patent/CN103401908A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101158964A (en) * | 2007-11-09 | 2008-04-09 | 深圳市迅雷网络技术有限公司 | System, device and method for automatically modifying target downloading file information |
CN102457584A (en) * | 2010-10-25 | 2012-05-16 | 腾讯科技(深圳)有限公司 | Method for automatically renaming media file while downloading and downloading system |
CN102420870A (en) * | 2011-12-02 | 2012-04-18 | 山东大学 | Network file storage method for thin client |
CN102789484A (en) * | 2012-06-28 | 2012-11-21 | 奇智软件(北京)有限公司 | Method and device for webpage information processing |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103631916B (en) * | 2013-11-29 | 2017-04-19 | 北京奇虎科技有限公司 | Method and device for downloading downloadable resources |
CN103631916A (en) * | 2013-11-29 | 2014-03-12 | 北京奇虎科技有限公司 | Method and device for downloading downloadable resources |
CN103699597A (en) * | 2013-12-12 | 2014-04-02 | 北京奇虎科技有限公司 | Method for downloading file through browser and browser |
CN103648053A (en) * | 2013-12-23 | 2014-03-19 | 乐视致新电子科技(天津)有限公司 | Method and device for connecting remote storage device in intelligent television |
CN105447061A (en) * | 2014-09-29 | 2016-03-30 | 优视科技有限公司 | Method and system for automatically renaming file after downloading |
CN104572823A (en) * | 2014-12-05 | 2015-04-29 | 深圳天珑无线科技有限公司 | Intelligent terminal and naming method of apk file thereof |
CN106095898A (en) * | 2016-06-07 | 2016-11-09 | 武汉斗鱼网络科技有限公司 | A kind of video title management method and device |
CN106326394A (en) * | 2016-08-18 | 2017-01-11 | 乐视控股(北京)有限公司 | Method and device for obtaining file name |
CN107040809A (en) * | 2017-04-12 | 2017-08-11 | 维沃移动通信有限公司 | Video name display methods and mobile terminal |
CN107040809B (en) * | 2017-04-12 | 2019-11-29 | 维沃移动通信有限公司 | Video name display methods and mobile terminal |
US10565164B2 (en) | 2017-11-01 | 2020-02-18 | International Business Machines Corporation | Dynamic file name generation for a plurality of devices |
US11176094B2 (en) | 2017-11-01 | 2021-11-16 | International Business Machines Corporation | Dynamic file name generation for a plurality of devices |
CN111104382A (en) * | 2019-12-18 | 2020-05-05 | 北京明略软件系统有限公司 | File default naming method and device and electronic equipment |
CN113691568A (en) * | 2020-05-18 | 2021-11-23 | 青岛海信移动通信技术股份有限公司 | Terminal and method for acquiring file information |
CN117014425A (en) * | 2023-08-11 | 2023-11-07 | 深圳先锋居善科技有限公司 | File downloading method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103401908A (en) | Method for renaming downloaded file and cloud server | |
CN104461504B (en) | A kind of management method of end application | |
US9367303B2 (en) | Upgrade packet generation method, server, software upgrade method, and mobile terminal | |
US9769143B2 (en) | Content-based association of device to user | |
CN103092665B (en) | Immediate updating device and immediate updating method | |
CN103353844B (en) | A kind of SDK upgrade method and system | |
CN103384275B (en) | Cross-terminal downloading method, system cloud server and terminal | |
CN108255993A (en) | Extract method, apparatus, electronic equipment and the storage medium of service fields | |
CN105279278A (en) | File searching method and device | |
CN103279477A (en) | Searching method, device and system of application program | |
CN106201577B (en) | A kind of method and device updating Lua file | |
CN104461505B (en) | A kind of terminal | |
CN103699597A (en) | Method for downloading file through browser and browser | |
CN103365644A (en) | Method and device for expanding software functions | |
CN103955536A (en) | Classification method and device of applications | |
CN103345393A (en) | Method and device for controlling webpage | |
CN105224344A (en) | A kind of software upgrading file configuration method realized based on XML | |
CN104536775A (en) | Method and system for upgrading preset application under Android platform | |
CN108762800A (en) | The dynamic updating method and device of application program | |
CN111083214A (en) | Method, device, client, server and system for updating application software | |
CN101977217A (en) | Widget updating method and system as well as Widget client and Widget server | |
CN103853774A (en) | Page data configuration method, device and system | |
US9336228B2 (en) | Synchronization of program code between revision management applications utilizing different version-control architectures | |
CN103324551A (en) | Application data migration method and system | |
CN105447061A (en) | Method and system for automatically renaming file after downloading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131120 |
|
RJ01 | Rejection of invention patent application after publication |