CN106407166A - Filename acquisition and processing method and device - Google Patents

Filename acquisition and processing method and device Download PDF

Info

Publication number
CN106407166A
CN106407166A CN201610875610.5A CN201610875610A CN106407166A CN 106407166 A CN106407166 A CN 106407166A CN 201610875610 A CN201610875610 A CN 201610875610A CN 106407166 A CN106407166 A CN 106407166A
Authority
CN
China
Prior art keywords
decoding process
coded
coded string
filename
string
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
CN201610875610.5A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610875610.5A priority Critical patent/CN106407166A/en
Publication of CN106407166A publication Critical patent/CN106407166A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • 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/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the invention provides a filename acquisition and processing method and device. The method comprises the following steps of sending a download request of a target file to a server; receiving a response message of the download request, which is returned by the server, wherein the response message comprises a coded string corresponding to a filename of the target file, and the coded string is obtained by adopting an encoding method to encode the filename; obtaining a decoding method corresponding to the encoding method from a preset database according to the coded string; and decoding the coded string to obtain the filename of the target file according to the decoding method. The embodiments of the invention solve a problem that the terminal cannot obtain the correct filename of a download file due to diversity of the filename encoding methods in the existing technology, so that the terminal can obtain the correct filename of the download file.

Description

Filename obtains processing method and processing device
Technical field
The present embodiments relate to computer processing technology field, more particularly, to a kind of filename acquisition processing method and dress Put.
Background technology
At present, the coded system that server adopts is diversified, and server can be pre-set using this server Coded system encodes to downloading the corresponding filename of file.Terminal (being mounted with client) when carrying out file download, The decoding process that would generally be pre-set using this terminal downloads the corresponding filename of file to parse.But, sometimes Coded system that the decoding process that this terminal pre-sets is pre-set with this server does not simultaneously match that, therefore, in this feelings Under condition, terminal cannot parse exactly and download the corresponding filename of file, and that is, terminal sometimes can adopt exactly and close Suitable decoding process downloads the corresponding filename of file to parse, so sometimes can lead to decode unsuccessful, and then eventually The correct filename of file cannot be downloaded in end.
In consideration of it, how to make the correct filename that terminal obtains download file become the current technology needing to solve asking Topic.
Content of the invention
For defect of the prior art, the embodiment of the present invention provides a kind of filename to obtain processing method and processing device, uses To solve to lead to terminal cannot obtain the correct of download file in prior art due to the multiformity of filename coded system The problem of filename, enables the terminals to obtain the correct filename downloading file.
For solving above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
The embodiment of the present invention provides a kind of filename to obtain processing method, including:
Send the download request of file destination to server;
Receive the response message of the described download request that described server returns, described response message includes described target literary composition The corresponding coded string of filename of part, described coded string is to carry out coding using coded system to described filename to obtain ?;
According to described coded string, presetting database obtains decoding process corresponding with described coded system;
According to described decoding process, described coded string is decoded, obtains the filename of described file destination.
Optionally, include in described presetting database:Coded string and decoding side corresponding with described coded string Formula;
Correspondingly, described according to described coded string, in presetting database obtain corresponding with described coded system Decoding process, including:
According to described coded string, presetting database is directly searched decoding side corresponding with described coded string Formula.
Optionally, include in described presetting database:Coded string coding staff corresponding with described coded string Formula and decoding process corresponding with described coded system;
Correspondingly, described according to described coded string, in presetting database obtain corresponding with described coded system Decoding process, including:
According to described coded string, presetting database is searched coded system corresponding with described coded string;
According to described coded system, presetting database is searched decoding process corresponding with described coded system.
Optionally, described response message also includes:The file type of described file destination and the download of described file destination Address.
Optionally, described decoding process is any one in following decoding process:ASCII decoding process, GB2312 solution Code mode, GBK decoding process, BIG5 decoding process, GB18030 decoding process, Unicode decoding process, MIME+BASE64 solution Code mode, PUNYCODE decoding process and URL decoding process.
The embodiment of the present invention provides a kind of filename to obtain processing meanss, including:
Sending module, for sending the download request of file destination to server;
Receiver module, for receiving the response message of the described download request that described server returns, described response message Including the corresponding coded string of filename of described file destination, described coded string is to described literary composition using coded system Part name carries out encoding acquisition;
First acquisition module, for according to described coded string, obtaining and described coded system in presetting database Corresponding decoding process;
Second acquisition module, for being decoded to described coded string according to described decoding process, obtains described mesh The filename of mark file.
Optionally, include in described presetting database:Coded string and decoding side corresponding with described coded string Formula;
Correspondingly, described first acquisition module, specifically for
According to described coded string, presetting database is directly searched decoding side corresponding with described coded string Formula.
Optionally, include in described presetting database:Coded string coding staff corresponding with described coded string Formula and decoding process corresponding with described coded system;
Correspondingly, described first acquisition module, specifically for
According to described coded string, presetting database is searched coded system corresponding with described coded string;
According to described coded system, presetting database is searched decoding process corresponding with described coded system.
Optionally, described response message also includes:The file type of described file destination and the download of described file destination Address.
Optionally, described decoding process is any one in following decoding process:ASCII decoding process, GB2312 solution Code mode, GBK decoding process, BIG5 decoding process, GB18030 decoding process, Unicode decoding process, MIME+BASE64 solution Code mode, PUNYCODE decoding process and URL decoding process.
As shown from the above technical solution, filename provided in an embodiment of the present invention obtains processing method and processing device, by end End receives the response letter of the described download request that described server returns after the download request sending file destination to server Breath, this response message includes the corresponding coded string of filename of described file destination, and described coded string is using volume Code mode described filename is carried out encode obtain, according to described coded string, in presetting database obtain with described The corresponding decoding process of coded system, is decoded to described coded string according to described decoding process, obtains described target The filename of file, thus, solves in prior art and leads to terminal cannot obtain due to the multiformity of filename coded system Take off the problem of the correct filename of published article part, enable the terminals to obtain the correct filename downloading file.
Brief description
In order to be illustrated more clearly that the present invention or technical scheme of the prior art, below will be to embodiment or prior art In description the accompanying drawing of required use be briefly described it should be apparent that, drawings in the following description are the one of the present invention A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 obtains the schematic flow sheet of processing method for a kind of filename that one embodiment of the invention provides;
Fig. 2 obtains the structural representation of processing meanss for a kind of filename that one embodiment of the invention provides;
The entity structure schematic diagram of the terminal that Fig. 3 provides for another embodiment of the present invention;
Fig. 4 is the Signalling exchange schematic diagram of embodiment illustrated in fig. 1 methods described.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, is clearly and completely described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is the present invention A part of embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having The every other embodiment being obtained under the premise of making creative work, broadly falls into the scope of protection of the invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " Individual ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that arranging used in the description of the present invention Diction " inclusion " refers to there is described feature, integer, step, operation, element and/or assembly, but it is not excluded that existing or adding Other features one or more, integer, step, operation, element, assembly and/or their group.
Those skilled in the art of the present technique are appreciated that " first " and " second " in the embodiment of the present invention etc. is not to elder generation Sequentially make regulation afterwards, simply title is made with difference, in embodiments of the present invention, does not make any restriction.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (include technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Also should Be understood by, those terms defined in such as general dictionary it should be understood that have with the context of prior art in The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with idealization or excessively formal implication.
Fig. 1 shows that a kind of filename that one embodiment of the invention provides obtains the schematic flow sheet of processing method, this reality Apply in example, described filename obtains processing method and is applied to terminal (i.e. client), as shown in figure 1, the filename of the present embodiment Obtain processing method, specifically include following steps:
100th, the download request of file destination is sent to server.
101st, receive the response message of the described download request that described server returns, described response message includes described mesh The corresponding coded string of filename of mark file, described coded string is using coded system, described filename to be compiled Code obtains.
In a particular application, described response message also should include:The file type of described file destination and described target literary composition The download address of part.Terminal can be downloaded operation according to this download address to described file destination.
It is understood that described file destination can be picture file, music file, video file, application program literary composition Part etc., the embodiment of the present invention does not limit to the file type and file size of described file destination.
102nd, according to described coded string, presetting database obtains decoding side corresponding with described coded system Formula.
It is understood that the presetting database of the present embodiment pre-builds, in a particular application, described present count Can include according in storehouse:Coded string and decoding process corresponding with described coded string.
For example, the All Files of download can be provided for server, advance with the file to All Files for the coded system Name is encoded, and obtains the coded string of All Files respectively, for the coded string of All Files, sets up this volume respectively Code character string with for decoding the corresponding relation of the decoding process of this code character, and by the coded string of All Files and Corresponding decoding process is stored in advance in presetting database.
Correspondingly, described step 102 can include:
According to described coded string, presetting database is directly searched decoding side corresponding with described coded string Formula.
In a particular application, can include in described presetting database:Coded string is corresponding with described coded string Coded system and decoding process corresponding with described coded system.
Certainly, after obtaining the coded string of All Files respectively, for the coded string of All Files, difference Set up this coded string with for generating the corresponding relation of the coded system of this coded string, and coded system and decoding The corresponding relation of mode, and the coded string of All Files and corresponding coded system, decoding process are stored in advance in In presetting database.
Correspondingly, described step 102 can include:
According to described coded string, presetting database is searched coded system corresponding with described coded string;
According to described coded system, presetting database is searched decoding process corresponding with described coded system.
In a particular application, described coded system is any one in following coded system:ASCII coded system, GB2312 coded system, GBK coded system, BIG5 coded system, GB18030 coded system, Unicode coded system, MIME+ BASE64 coded system, PUNYCODE coded system and URL coded system etc.;The present embodiment is not limited, and also may be used In the way of including other and filename encoded;Wherein, described Unicode coded system can for UTF-8 coded system, Or UTF-16 coded system or UTF-32 coded system etc.;
Correspondingly, described decoding process is any one in following decoding process:ASCII decoding process, GB2312 solution Code mode, GBK decoding process, BIG5 decoding process, GB18030 decoding process, Unicode decoding process, MIME+BASE64 solution Code mode, PUNYCODE decoding process and URL decoding process etc.;Wherein, described Unicode decoding process can solve for UTF-8 Code mode or UTF-16 decoding process or UTF-32 decoding process etc..
103rd, according to described decoding process, described coded string is decoded, obtains the file of described file destination Name.
It should be noted that, the terminal in the present embodiment can include:Personal computer (Personal Computer, referred to as PC), smart mobile phone, personal digital assistant (Personal Digital Assistant, abbreviation PDA), panel computer etc..
In a particular application, the signalling interactive process of the present embodiment methods described may be referred to Fig. 4.
The filename of the present embodiment obtains processing method, and executive agent is terminal (i.e. client), by server The response message of the described download request that described server returns, this response message is received after the download request sending file destination Including the corresponding coded string of filename of described file destination, described coded string is to described literary composition using coded system Part name carries out encoding acquisition, according to described coded string, obtains corresponding with described coded system in presetting database Decoding process, is decoded to described coded string according to described decoding process, obtains the filename of described file destination, by This, solved and led to due to the multiformity of filename coded system terminal cannot obtain the correct of download file in prior art Filename problem, enable the terminals to obtain download file correct filename.Need to download from server in terminal During file, it is possible to use the present embodiment methods described is obtaining the correct filename of downloaded file.
Fig. 2 shows that a kind of filename that one embodiment of the invention provides obtains the structural representation of processing meanss, such as Fig. 2 Shown, the filename of the present embodiment obtains processing meanss 2, including:Sending module 20, receiver module 21, the first acquisition module 22 With the second acquisition module 23;
Sending module 20, for sending the download request of file destination to server;
Receiver module 21 is used for receiving the response message of the described download request that described server returns, described response message Including the corresponding coded string of filename of described file destination, described coded string is to described literary composition using coded system Part name carries out encoding acquisition;
First acquisition module 22 is used for according to described coded string, obtains and described coded system in presetting database Corresponding decoding process;
Second acquisition module 23 is used for according to described decoding process, described coded string being decoded, and obtains described mesh The filename of mark file.
It is understood that sending module 20 sends the download request of file destination to server, receiver module 21 receives The response message of the described download request that described server returns, described response message includes the filename pair of described file destination The coded string answered, described coded string is using coded system, described filename to be carried out with coding to obtain, and first obtains Delivery block 22, according to described coded string, obtains decoding process corresponding with described coded system in presetting database, the Two acquisition modules 23 are decoded to described coded string according to described decoding process, obtain the file of described file destination Name.
In a particular application, described response message also should include:The file type of described file destination and described target literary composition The download address of part.Terminal can be downloaded operation according to this download address to described file destination.
It is understood that described file destination can be picture file, music file, video file, application program literary composition Part etc., the embodiment of the present invention does not limit to the file type and file size of described file destination.
It is understood that the presetting database of the present embodiment pre-builds, in a particular application, described present count Can include according in storehouse:Coded string and decoding process corresponding with described coded string.
For example, the All Files of download can be provided for server, advance with the file to All Files for the coded system Name is encoded, and obtains the coded string of All Files respectively, for the coded string of All Files, sets up this volume respectively Code character string with for decoding the corresponding relation of the decoding process of this code character, and by the coded string of All Files and Corresponding decoding process is stored in advance in presetting database.
Correspondingly, described first acquisition module 22 can be specifically for
According to described coded string, presetting database is directly searched decoding side corresponding with described coded string Formula.
In a particular application, can include in described presetting database:Coded string is corresponding with described coded string Coded system and decoding process corresponding with described coded system.
Certainly, after obtaining the coded string of All Files respectively, for the coded string of All Files, can divide Do not set up this coded string with for generating the corresponding relation of the coded system of this coded string, and coded system and solution The corresponding relation of code mode, and the coded string of All Files and corresponding coded system, decoding process are prestored In presetting database.
Correspondingly, described first acquisition module 22 can be specifically for
According to described coded string, presetting database is searched coded system corresponding with described coded string;
According to described coded system, presetting database is searched decoding process corresponding with described coded system.
In a particular application, described coded system is any one in following coded system:ASCII coded system, GB2312 coded system, GBK coded system, BIG5 coded system, GB18030 coded system, Unicode coded system, MIME+ BASE64 coded system, PUNYCODE coded system and URL coded system etc.;The present embodiment is not limited, and also may be used In the way of including other and filename encoded;Wherein, described Unicode coded system can for UTF-8 coded system, Or UTF-16 coded system or UTF-32 coded system etc.;
Correspondingly, described decoding process is any one in following decoding process:ASCII decoding process, GB2312 solution Code mode, GBK decoding process, BIG5 decoding process, GB18030 decoding process, Unicode decoding process, MIME+BASE64 solution Code mode, PUNYCODE decoding process and URL decoding process etc.;Wherein, described Unicode decoding process can solve for UTF-8 Code mode or UTF-16 decoding process or UTF-32 decoding process etc..
It should be noted that, the terminal in the present embodiment can include:Personal computer PC, smart mobile phone, personal digital help Reason PDA, panel computer etc..
The filename of the present embodiment obtains processing meanss, is asked by the download that sending module sends file destination to server Ask, receiver module receives the response message of the described download request that described server returns, described response message includes described mesh The corresponding coded string of filename of mark file, described coded string is using coded system, described filename to be compiled Code obtains, and the first acquisition module, according to described coded string, obtains corresponding with described coded system in presetting database Decoding process, the second acquisition module is decoded to described coded string according to described decoding process, obtains described target The filename of file, thus, solves in prior art and leads to terminal cannot obtain due to the multiformity of filename coded system Take off the problem of the correct filename of published article part, enable the terminals to obtain the correct filename downloading file.
Embodiments provide a kind of terminal (i.e. client), including:Filename described in embodiment illustrated in fig. 2 obtains Take processing meanss 2.
The terminal (i.e. client) of the present embodiment, solve in prior art due to filename coded system multiformity and Lead to terminal cannot obtain the problem of the correct filename downloading file, the correct filename downloading file can be obtained.
Fig. 3 shows a kind of entity structure schematic diagram of terminal provided in an embodiment of the present invention, as shown in figure 3, this terminal Can include:Processor (processor) 31, communication interface (Communications Interface) 32, memorizer (memory) 33 and bus 34;
Wherein, described processor 31, communication interface 32, memorizer 33 completes mutual communication by described bus 34;
Described communication interface 34 can be used for carrying out information transfer with other-end or service;
Described processor 31 can call the logical order of memorizer 33, to execute what above-mentioned each method embodiment was provided Method, for example, include:Send the download request of file destination to server;Receive the described download request that described server returns Response message, described response message includes the corresponding coded string of filename of described file destination, described code character String is using coded system, described filename to be carried out with coding to obtain;According to described coded string, in presetting database Obtain decoding process corresponding with described coded system;According to described decoding process, described coded string is decoded, obtains Take the filename of described file destination.
Referring to Fig. 1, the embodiment of the present invention discloses a kind of computer program, and described computer program includes storing Computer program on non-transient computer readable storage medium storing program for executing, described computer program includes programmed instruction, when described journey When sequence instruction is computer-executed, computer is able to carry out the method that above-mentioned each method embodiment is provided, for example, include:To clothes Business device sends the download request of file destination;Receive the response message of the described download request that described server returns, described sound Information is answered to include the corresponding coded string of filename of described file destination, described coded string is using coded system pair Described filename carries out encoding acquisition;According to described coded string, obtain and described coded system in presetting database Corresponding decoding process;According to described decoding process, described coded string is decoded, obtains the literary composition of described file destination Part name.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, described non-transient computer readable storage Medium storing computer instructs, and described computer instruction makes described computer execute the side that above-mentioned each method embodiment is provided Method, for example, include:Send the download request of file destination to server;Receive the described download request that described server returns Response message, described response message includes the corresponding coded string of filename of described file destination, described coded string It is using coded system, described filename to be carried out with coding to obtain;According to described coded string, obtain in presetting database Take decoding process corresponding with described coded system;According to described decoding process, described coded string is decoded, obtains The filename of described file destination.
One of ordinary skill in the art will appreciate that:The all or part of step realizing said method embodiment can be passed through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, this program Upon execution, execute the step including said method embodiment;And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only Memorizer (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Device embodiment described above is only schematically, wherein said illustrate as separating component unit/ Module can be or may not be physically separate, as the part that units/modules show can be or can also It is not physical location/module, you can with positioned at a place, or can also be distributed on multiple NEs.Can basis Actual need to select the purpose to realize this embodiment scheme for some or all of module therein.Ordinary skill people Member is not in the case of paying performing creative labour, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement Example or some partly described methods of embodiment.
Finally it should be noted that:Above example only in order to technical scheme to be described, is not intended to limit;Although With reference to the foregoing embodiments the present invention is described in detail, it will be understood by those within the art that:It still may be used To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to wherein some technical characteristics; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of filename obtains processing method it is characterised in that including:
Send the download request of file destination to server;
Receive the response message of the described download request that described server returns, described response message includes described file destination The corresponding coded string of filename, described coded string is using coded system, described filename to be carried out with coding to obtain 's;
According to described coded string, presetting database obtains decoding process corresponding with described coded system;
According to described decoding process, described coded string is decoded, obtains the filename of described file destination.
2. method according to claim 1 is it is characterised in that include in described presetting database:Coded string and with The corresponding decoding process of described coded string;
Correspondingly, described according to described coded string, in presetting database obtain decoding corresponding with described coded system Mode, including:
According to described coded string, presetting database is directly searched decoding process corresponding with described coded string.
3. method according to claim 1 is it is characterised in that include in described presetting database:Coded string and institute State the corresponding coded system of coded string and decoding process corresponding with described coded system;
Correspondingly, described according to described coded string, in presetting database obtain decoding corresponding with described coded system Mode, including:
According to described coded string, presetting database is searched coded system corresponding with described coded string;
According to described coded system, presetting database is searched decoding process corresponding with described coded system.
4. method according to claim 1 is it is characterised in that described response message also includes:The literary composition of described file destination Part type and the download address of described file destination.
5. the method according to any one of claim 1-4 is it is characterised in that described decoding process is following decoding process In any one:ASCII decoding process, GB2312 decoding process, GBK decoding process, BIG5 decoding process, GB18030 solution Code mode, Unicode decoding process, MIME+BASE64 decoding process, PUNYCODE decoding process and URL decoding process.
6. a kind of filename obtains processing meanss it is characterised in that including:
Sending module, for sending the download request of file destination to server;
Receiver module, for receiving the response message of the described download request that described server returns, described response message includes The corresponding coded string of filename of described file destination, described coded string is to described filename using coded system Carry out what coding obtained;
First acquisition module, for according to described coded string, obtaining corresponding with described coded system in presetting database Decoding process;
Second acquisition module, for being decoded to described coded string according to described decoding process, obtains described target literary composition The filename of part.
7. device according to claim 6 is it is characterised in that include in described presetting database:Coded string and with The corresponding decoding process of described coded string;
Correspondingly, described first acquisition module, specifically for
According to described coded string, presetting database is directly searched decoding process corresponding with described coded string.
8. device according to claim 6 is it is characterised in that include in described presetting database:Coded string and institute State the corresponding coded system of coded string and decoding process corresponding with described coded system;
Correspondingly, described first acquisition module, specifically for
According to described coded string, presetting database is searched coded system corresponding with described coded string;
According to described coded system, presetting database is searched decoding process corresponding with described coded system.
9. device according to claim 6 is it is characterised in that described response message also includes:The literary composition of described file destination Part type and the download address of described file destination.
10. the method according to any one of claim 6-9 is it is characterised in that described decoding process is following decoding side Any one in formula:ASCII decoding process, GB2312 decoding process, GBK decoding process, BIG5 decoding process, GB18030 Decoding process, Unicode decoding process, MIME+BASE64 decoding process, PUNYCODE decoding process and URL decoding process.
CN201610875610.5A 2016-09-30 2016-09-30 Filename acquisition and processing method and device Pending CN106407166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875610.5A CN106407166A (en) 2016-09-30 2016-09-30 Filename acquisition and processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875610.5A CN106407166A (en) 2016-09-30 2016-09-30 Filename acquisition and processing method and device

Publications (1)

Publication Number Publication Date
CN106407166A true CN106407166A (en) 2017-02-15

Family

ID=59227980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875610.5A Pending CN106407166A (en) 2016-09-30 2016-09-30 Filename acquisition and processing method and device

Country Status (1)

Country Link
CN (1) CN106407166A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1711539A (en) * 2002-11-28 2005-12-21 国际商业机器公司 Method and systems for hyperlinking files
CN1926493A (en) * 2004-04-08 2007-03-07 国际商业机器公司 Method and system for linking certificates to signed files
CN101997895A (en) * 2009-08-25 2011-03-30 华为技术有限公司 File downloading method and equipment
CN104978330A (en) * 2014-04-04 2015-10-14 西南大学 Data storage method and device
CN105516372A (en) * 2016-02-25 2016-04-20 深圳天珑无线科技有限公司 Filename processing method and device and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1711539A (en) * 2002-11-28 2005-12-21 国际商业机器公司 Method and systems for hyperlinking files
CN1926493A (en) * 2004-04-08 2007-03-07 国际商业机器公司 Method and system for linking certificates to signed files
CN101997895A (en) * 2009-08-25 2011-03-30 华为技术有限公司 File downloading method and equipment
CN104978330A (en) * 2014-04-04 2015-10-14 西南大学 Data storage method and device
CN105516372A (en) * 2016-02-25 2016-04-20 深圳天珑无线科技有限公司 Filename processing method and device and server

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
CN101610268B (en) Implementation method and equipment of keyword filtration
CN105812456A (en) File transmission method and device
CN108494762A (en) Web access method, device and computer readable storage medium, terminal
CN103747436A (en) Application program downloading method and device
CN101702641A (en) Coding method and network server
CN103577180A (en) Data processing method and data processing device
CN112035763A (en) Information processing method, device and system, electronic equipment and storage medium
CN105554136A (en) Backup data restoration method, device and system
CN111176706A (en) Terminal upgrading method and device, electronic equipment and storage medium
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN107402811B (en) Resource binding method and device
CN109587197B (en) Method, device and system for associating reported data
CN103647763A (en) Mobile terminal advertisement invoking method and system
CN110505289B (en) File downloading method and device, computer readable medium and wireless communication equipment
CN102523271B (en) Terminal and communication method and system thereof
CN107423446A (en) New media based on cloud storage automates credible deployment system and method
CN104298521A (en) Window updating method and device
CN106407166A (en) Filename acquisition and processing method and device
CN105979003A (en) File downloading method, device and system
CN105204883B (en) A kind of plug-in unit loading processing method and device
CN104965720B (en) Using installation method and device
CN105488199A (en) Mixed form processing method, device and mobile terminal
CN114172998B (en) File transmission method and device, electronic equipment and storage medium
CN114253441B (en) Method and device for enabling target function, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170215

WD01 Invention patent application deemed withdrawn after publication