CN103902559B - File name conversion method and device - Google Patents

File name conversion method and device Download PDF

Info

Publication number
CN103902559B
CN103902559B CN201210574871.5A CN201210574871A CN103902559B CN 103902559 B CN103902559 B CN 103902559B CN 201210574871 A CN201210574871 A CN 201210574871A CN 103902559 B CN103902559 B CN 103902559B
Authority
CN
China
Prior art keywords
filename
identification information
file name
temporary file
name
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
CN201210574871.5A
Other languages
Chinese (zh)
Other versions
CN103902559A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210574871.5A priority Critical patent/CN103902559B/en
Priority to PCT/CN2013/082201 priority patent/WO2013189427A2/en
Publication of CN103902559A publication Critical patent/CN103902559A/en
Application granted granted Critical
Publication of CN103902559B publication Critical patent/CN103902559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • G06F16/166File name conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a file name conversion method and device. The method includes the steps of obtaining file name identification information of a file name on which file name conversion operations are to be carried out, looking for a temporary file name in a processing catalogue where the preceding file name is stored according to matching rule information of a source file name, and carrying out the file name conversion operations on the preceding temporary file name according to the file name identification information. The problems that in a related technique, the achievement mode of the file name conversion operations is single and cost is high are solved, and accordingly conversion requirements of file names of various types are met simply in less time, maintenance difficulty is reduced, and cost is saved.

Description

A kind of filename conversion method and device
Technical field
The present invention relates to field of mobile communication, more particularly to a kind of filename conversion method and device.
Background technology
With the development and expansion of field of telecommunications items business, require to provide all kinds of texts between each inter-related system The demand of part is increasing, and especially prominent shows ticket aspect, and each system makes rule by oneself, needs according to respective system Require, there is provided different files.
In the related, each docking system is related to filename and the conversion operation such as renames, and is required for being customized Exploitation, customized development operation can only be directed to the particular demands of system and filename is renamed so that aforesaid operations both take, And labor intensive cost, and increased the maintenance difficulties of version.
For single, the relatively costly problem of filename conversion operation implementation in correlation technique, not yet propose at present Effective solution.
The content of the invention
For single, the relatively costly problem of filename conversion operation implementation in correlation technique, the invention provides A kind of filename conversion method and device, to solve above-mentioned technical problem.
According to an aspect of the present invention, the invention provides a kind of filename conversion method, wherein, the method includes: Obtain the filename identification information of the filename of pre-execution filename conversion operation;According to source filename matched rule information, Temporary file name is searched in the process catalogue of above-mentioned filename that is stored with;According to the above-mentioned interim text of above-mentioned filename identification information pair Part name performs filename conversion operation.
Further, according to source filename matched rule information, searching temporary file name in catalogue is processed can include: The filename with above-mentioned source filename matched rule information match is searched in above-mentioned process catalogue;By the file of file name Name identification information, replaces above-mentioned source filename matched rule information, obtains new matched rule information;Look in above-mentioned process catalogue The filename with above-mentioned new matched rule information match is looked for, file name is defined as into above-mentioned temporary file name.
Further, the file of pre-execution filename conversion operation is one or more filenames;When above-mentioned multiple files When there is identical filename identification information between the multiple above-mentioned filename identification information of name, the file of above-mentioned filename is obtained Name identification information can include:Obtain each self-corresponding filename identification information of above-mentioned multiple filenames;In each self-corresponding text In part name identification information, it is determined that total filename identification information;Above-mentioned total filename identification information is defined as into above-mentioned file Name identification information.
Further, the file of pre-execution filename conversion operation is one or more filenames;When above-mentioned multiple files When there is identical filename identification information between the multiple above-mentioned filename identification information of name, according to source filename matched rule Information, searching temporary file name in catalogue is processed can include:According to above-mentioned source filename matched rule information, at above-mentioned place Multiple temporary file names are determined successively in reason catalogue;Above-mentioned multiple temporary file names are merged into into a temporary file name.
Further, performing filename conversion operation according to the above-mentioned temporary file name of above-mentioned filename identification information pair can be with Including:According to file matched rule information is generated, the filename identification information of above-mentioned temporary file name is changed, obtain purpose file Name;And/or, the adding purpose filename configuration item in above-mentioned temporary file name;Wherein, above-mentioned purpose filename configuration item includes Special marking information, file serial number or file conversion time, obtain destination name of the file.
According to a further aspect in the invention, present invention also offers a kind of filename conversion equipment, wherein, the device bag Include:Identification information acquisition module, for obtaining the filename identification information of the filename of pre-execution filename conversion operation;Temporarily Filename determining module, for according to source filename matched rule information, looking in the process catalogue for being stored with above-mentioned filename Look for temporary file name;Filename modular converter, for performing text according to the above-mentioned temporary file name of above-mentioned filename identification information pair Part name conversion operation.
Further, above-mentioned temporary file name determining module can include:Filename lookup unit, in above-mentioned process The filename with above-mentioned source filename matched rule information match is searched in catalogue;Replacement unit, for by the text of this document Part name identification information, replaces above-mentioned source filename matched rule information, obtains new matched rule information;Temporary file name determines single Unit, for searching the filename with above-mentioned new matched rule information match in above-mentioned process catalogue, file name is determined For above-mentioned temporary file name.
Further, the file of pre-execution filename conversion operation is one or more filenames;When above-mentioned multiple files When there is identical filename identification information between the multiple above-mentioned filename identification information of name, above-mentioned identification information acquisition module Can include:Identification information obtaining unit, for obtaining each self-corresponding filename identification information of above-mentioned multiple filenames;First Determining unit, in each self-corresponding filename identification information, it is determined that total filename identification information;Second determines list Unit, for above-mentioned total filename identification information to be defined as into above-mentioned filename identification information.
Further, the file of pre-execution filename conversion operation is one or more filenames;When above-mentioned multiple files When there is identical filename identification information between the multiple above-mentioned filename identification information of name, above-mentioned temporary file name determines mould Block can include:Multiple temporary file name determining units, for according to above-mentioned source filename matched rule information, in above-mentioned process Determine multiple temporary file names in catalogue successively;Combining unit, for above-mentioned multiple temporary file names to be merged into into one temporarily Filename.
Further, above-mentioned filename modular converter can include:Changing unit, for according to generation file matched rule Information, changes the filename identification information of above-mentioned temporary file name, obtains destination name of the file;And/or, adding device, for Adding purpose filename configuration item in above-mentioned temporary file name;Wherein, above-mentioned purpose filename configuration item is believed including special marking Breath, file serial number or file conversion time, obtain destination name of the file.
By the present invention, the filename identification information of the filename of pre-execution filename conversion operation is obtained, according to source document Part name matched rule information, searches temporary file name, then according to above-mentioned text in the process catalogue of the above-mentioned filename that is stored with The above-mentioned temporary file name of part name identification information pair performs filename conversion operation, solves filename conversion operation in correlation technique Single, the relatively costly problem of implementation, it is achieved thereby that succinctly, timesaving complete Miscellaneous Documents name conversion requirements, reduce Maintenance difficulties, have saved cost.
Description of the drawings
Fig. 1 is the flow chart of filename conversion method according to embodiments of the present invention;
Fig. 2 is the process chart of the one-to-one conversion of filename according to embodiments of the present invention;
Fig. 3 is the process chart of filename many-one conversion according to embodiments of the present invention;
Fig. 4 is the structured flowchart of filename conversion equipment according to embodiments of the present invention;
Fig. 5 is the concrete structure block diagram of filename conversion equipment according to embodiments of the present invention.
Specific embodiment
Single, relatively costly in order to solve the problems, such as prior art document name conversion operation implementation, the present invention is provided A kind of filename conversion method and device, below in conjunction with accompanying drawing and embodiment, the present invention will be described in further detail. It should be appreciated that specific embodiment described herein is only to explain the present invention, the present invention is not limited.
A kind of filename conversion method is present embodiments provided, Fig. 1 is filename conversion side according to embodiments of the present invention The flow chart of method, as shown in figure 1, the method is comprised the following steps(Step S102- step S106):
Step S102, obtains the filename identification information of the filename of pre-execution filename conversion operation;
Step S104, according to source filename matched rule information, searches in the process catalogue of the above-mentioned filename that is stored with Temporary file name;
Step S106, according to the above-mentioned temporary file name of above-mentioned filename identification information pair filename conversion operation is performed.
By said method, the filename identification information of the filename of pre-execution filename conversion operation is obtained, according to source Filename matched rule information, searches temporary file name, then according to above-mentioned in the process catalogue of the above-mentioned filename that is stored with The above-mentioned temporary file name of filename identification information pair performs filename conversion operation, solves filename conversion behaviour in correlation technique Make single, the relatively costly problem of implementation, it is achieved thereby that succinctly, timesaving complete Miscellaneous Documents name conversion requirements, drop Low maintenance difficulties, have saved cost.
In above-mentioned steps S102, for filename identification information, the present embodiment is indicated with [Nx], in correlation technique In, be usually used *,Etc. being indicated.In the present embodiment, a filename is divided into into some with the mode of [Nx], Each [Nx] will obtain the corresponding information in raw filename from corresponding file matching part, and such as one filename is similar to PPS_000001_20120505.txt, 000001 represents that sequence number, 20120505 represent the date, it is split into following Match pattern PPS_ [N1] _ [N2] .txt, as the unique identification of one ticket of [N1] and [N2] composition, the conversion of filename Relation be correspond, be for example configured to PPS_*_ [N1] .txt.When [N1] represent be the general character of a collection of ticket when, The ticket of all matchings will be merged into a purpose file ticket.
For the situation of the entitled multiple filenames of file of above-mentioned pre-execution filename conversion operation, present embodiments provide A kind of preferred embodiment, i.e. entitled one or more filenames of file of pre-execution filename conversion operation;When multiple files When there is identical filename identification information between multiple filename identification informations of name, the filename mark letter of filename is obtained Breath includes:According to each self-corresponding filename of above-mentioned multiple filenames, it is determined that total filename identification information;By above-mentioned total text Part name identification information is defined as above-mentioned filename identification information.
For example, the sequence number of each filename is masked as into [N1], is [N2] by the day markings of each filename, if The sequence number of multiple filenames is different, and date all same, then can be using [N2] as total filename identification information, this Multiple filenames with [N2] can just be merged into a filename and carry out filename conversion operation by sample, improved filename and turned Efficiency is changed, it is cost-effective.
When there is identical filename identification information between multiple filename identification informations of multiple filenames, according to source Filename matched rule information, searching temporary file name in catalogue is processed includes:According to source filename matched rule information, Process in catalogue and determine multiple temporary file names successively;Multiple temporary file names are merged into into a temporary file name.
For the search operation of temporary file name in above-mentioned steps S104, one kind side of being preferable to carry out is present embodiments provided Formula, i.e., according to source filename matched rule information, searching temporary file name in catalogue is processed includes:In above-mentioned process catalogue Search the filename with above-mentioned source filename matched rule information match;By the filename identification information of file name, replace Above-mentioned source filename matched rule information, obtains new matched rule information;Search in above-mentioned process catalogue and new matched with above-mentioned The filename that Rule Information matches, by file name above-mentioned temporary file name is defined as.By above-mentioned preferred embodiment, it is It is follow-up that filename conversion offer basis is provided to temporary file name, the various demands of the filename conversion of system are met, improve The scope of application of filename conversion efficiency and filename conversion operation.
It is determined that after temporary file name, performing filename conversion operation to temporary file name, it is preferable that can be according to reality Border needs to arrange predetermined time interval, and filename conversion operation is performed to temporary file according to the predetermined time interval.
For the filename conversion operation of temporary file name, the filename identification information in temporary file name can be carried out Change.So as to obtain destination name of the file;And/or, it is also possible to increase destination name of the file configuration item in temporary file name, for example will The configuration items such as file serial number, file conversion time are added in temporary file name, obtain destination name of the file.Based on above-mentioned enforcement Mode, present embodiments provides a kind of preferred embodiment, i.e., perform file according to filename identification information pair temporary file name Name conversion operation includes:According to file matched rule information is generated, the filename identification information of above-mentioned temporary file name is changed, obtained To destination name of the file;And/or, the adding purpose filename configuration item in above-mentioned temporary file name;Wherein, above-mentioned purpose filename Configuration item includes special marking information, file serial number or file conversion time, obtains destination name of the file.By above-mentioned excellent Embodiment is selected, filename conversion accuracy is improve, there is provided the various ways of filename conversion.
Technical scheme is further expalined and is illustrated below by specific embodiment and accompanying drawing.
When the filename identification information of each filename is different, need to carry out each filename successively Filename conversion operation, it is impossible to which each filename is performed into together filename conversion operation.In this regard, carrying out below by embodiment It is discussed in detail.Fig. 2 is the process chart of the one-to-one conversion of filename according to embodiments of the present invention, as shown in Fig. 2 the flow process Comprise the following steps(Step S202- step S208):
Step S202, firstly, for one-to-one translative mode, extracts the unique trait of each filename as [Nx] Part, the good corresponding destination name of the file form of configuration, processes catalogue and ultimately generates the catalogues such as file.
Step S204, complete step S202 with postponing, configuration file is parsed, by source filename matched rule information(Or Referred to as source filename matched rule)In parsing internal memory, inquire about in the case where catalogue is processed, find out one and source filename matched rule The filename being consistent, by [Nx] partial replacement source filename matched rule information in file name, forms one new With Rule Information(Or referred to as new matched rule), for follow-up filename matching conversion operation.
Step S206, according to the new matched rule formed in step S204, inquires about new with above-mentioned in the case where catalogue is processed The filename that matched rule matches, due to [Nx] configuration is to extract uniqueness data in each filename, so new A corresponding filename is only able to find with rule, this filename is generated under temp directory temporary file name.
Step S208, parsing destination name of the file composition configuration item, if containing $ seqno in above-mentioned temporary file name(Sequence Number)、$YYYYMMDDHHMMSS(Date)、[Nx](Filename identification information)Deng item, then according to generation file matched rule letter Breath, replaces above-mentioned items, so as to generate destination name of the file with corresponding value.
When there is same file name identification information between the filename identification information of each filename, can be by Each filename performs together filename conversion operation, so as to improve filename conversion efficiency.In this regard, entering below by embodiment Row is discussed in detail.Fig. 3 is the process chart of filename many-one conversion according to embodiments of the present invention, as shown in figure 3, the stream Journey is comprised the following steps(Step S302- step S308):
Step S302, is initially the filename conversion of correspondence many-one pattern from the step, and what is exactly will match to is multiple Filename is merged into after a filename and renames into destination name of the file, extracts the denominator of matching files name as [Nx] portion Point, used as [Nx] part, that is, representing the filename on all of this date will be merged into a filename for such as date part, The good corresponding destination name of the file form of configuration, processes catalogue and ultimately generates the catalogues such as file.
Step S304, the operating process of the step is similar to step S204 in above-described embodiment, parsing source filename matching Rule generates new matched rule.
Step S306, with the new matched rule formed in step S304, inquires about and above-mentioned new in the case where catalogue is processed With the filename that rule matches, due to [Nx] configuration be the general character extracted in a collection of filename be used to merging all matchings this Multiple filenames, so new matched rule can find multiple filenames, are incorporated in temp directory by the filename of individual rule Lower generation temporary file name.
Step S308, in step S306, multiple filenames are merged into a temporary file name by circulation searching filename Afterwards, the operating process of the step is similar to step S208 in above-described embodiment, makes temporary file name into destination name of the file.
Corresponding to the filename conversion method that above-described embodiment is introduced, a kind of filename converting means is present embodiments provided Put, to realize above-described embodiment.Fig. 4 is the structured flowchart of filename conversion equipment according to embodiments of the present invention, such as Fig. 4 institutes Show, the device includes:Identification information acquisition module 10, temporary file name determining module 20 and filename modular converter 30.Below The structure is described in detail.
Identification information acquisition module 10, for obtaining the filename mark letter of the filename of pre-execution filename conversion operation Breath;
Temporary file name determining module 20, is connected to identification information acquisition module 10, for being advised according to source filename matching Then information, searches temporary file name in the process catalogue of the above-mentioned filename that is stored with;
Filename modular converter 30, is connected to temporary file name determining module 20, for being believed according to above-mentioned filename mark Breath performs filename conversion operation to above-mentioned temporary file name.
By said apparatus, identification information acquisition module 10 obtains the file of the filename of pre-execution filename conversion operation Name identification information, temporary file name determining module 20 according to source filename matched rule information, in the above-mentioned filename that is stored with Process and search in catalogue temporary file name, then filename modular converter 30 is above-mentioned interim according to above-mentioned filename identification information pair Filename performs filename conversion operation, solves filename conversion operation implementation in correlation technique single, relatively costly Problem, it is achieved thereby that succinctly, timesaving complete Miscellaneous Documents name conversion requirements, reduce maintenance difficulties, saved cost.
For the filename identification information in the present embodiment, be indicated with [Nx], before the concrete application of [Nx] is entered Introduction is gone, will not be described here.Entitled one or more filenames of file of pre-execution filename conversion operation.When multiple texts When there is identical filename identification information between multiple filename identification informations of part name, above-mentioned identification information acquisition module 10 Can include:Identification information obtaining unit, for obtaining each self-corresponding filename identification information of multiple filenames;First determines Unit, in each self-corresponding filename identification information, it is determined that total filename identification information;Second determining unit, uses In above-mentioned total filename identification information is defined as into filename identification information.
It is above-mentioned to face when there is identical filename identification information between multiple filename identification informations of multiple filenames When filename determining module 20 include:Multiple temporary file name determining units, for according to source filename matched rule information, Process in catalogue and determine multiple temporary file names successively;Combining unit, for above-mentioned multiple temporary file names to be merged into into one Temporary file name.
For the search operation of temporary file name, a kind of preferred structure is present embodiments provided, it is as shown in Figure 5 according to this The concrete structure block diagram of the filename conversion equipment of inventive embodiments, said apparatus are except including each mould shown in above-mentioned Fig. 4 Outside block, above-mentioned temporary file name determining module 20 also includes:Filename lookup unit 202, replacement unit 204 and temporary file Name determining unit 206.The structure is described in detail below.
Filename lookup unit 202, for searching in catalogue is processed and source filename matched rule information match Filename;
Replacement unit 204, is connected to filename lookup unit 202, for by the filename identification information of this document, replacing Above-mentioned source filename matched rule information, obtains new matched rule information;
Temporary file name determining unit 206, is connected to replacement unit 204, for search in above-mentioned process catalogue with The filename of new matched rule information match is stated, file name is defined as into above-mentioned temporary file name.
By above-mentioned preferred structure, basis is provided subsequently to carry out filename conversion to temporary file, meet system The various demands of filename conversion, improve the scope of application of filename conversion efficiency and filename conversion operation.
After temporary file name is found, filename conversion operation is performed to temporary file name, it is preferable that above-mentioned file Name modular converter 30 includes:Changing unit, for according to file matched rule information is generated, changing the filename of temporary file name Identification information, obtains destination name of the file;And/or, adding device is configured for the adding purpose filename in temporary file name ;Wherein, the destination name of the file configuration item includes special marking information, file serial number or file conversion time, obtains mesh Filename.By the preferred structure, the filename conversion operation to temporary file name is realized.
The concrete structure based on another kind of filename conversion equipment of the embodiment of the present invention, file name conversion is described below Device includes following two modules:Filename processing module, filename process configuration module.
First, filename processes configuration module, the identification information acquisition module in the function and above-described embodiment of the module And the funtion part of temporary file name determining module is quite, the module is shown and is operated by way of text, is used for The match pattern of configuration source filename and the file name formats of generation purpose file.It is described as follows:Configuration file is saving Mode is carried out, and can support that the conversion for configuring various filenames, each section will be made up of the following configuration item:Support multiple Local file facility inventory, source filename match pattern, generate destination name of the file form, sequence number length in destination name of the file, Timing generates the main configuration item such as document time interval.It is introduced separately below.
Multiple local file facility inventories are supported, is referred to corresponding to the filename under multiple catalogues, as long as meeting source file The filename of name match pattern, all will can be collected and be converted into corresponding destination name of the file.
Source filename match pattern configure, this matching except be usually used *,Match pattern, it is also self-defined The matching of [Nx] this pattern, some is divided into by filename with the mode of [Nx], and each [Nx] will be from corresponding File matching part obtain corresponding information in raw filename, the similar PPS_000001_ of such as one filename 20120505.txt, 000001 represents that sequence number, 20120505 represent the date, and it can be split into following matching by us Pattern PPS_ [N1] _ [N2] .txt, as the unique identification of one ticket of [N1] and [N2] composition, the pass of the conversion of filename System is to correspond, as such arranged to PPS_*_ [N1] .txt, when [N1] represent be the general character of a collection of ticket when, all The ticket matched somebody with somebody will be merged into a purpose file ticket, here it is the flexible use part of the present embodiment.
The configuration of destination name of the file form is generated, filename composition final after conversion, destination name of the file composition, from is referred to Batch demand in we extract common feature, typically have it is following it is several in:Special marking, the fixation in configuration file is filled in;Text Part serial number, is identified in the present embodiment using $ seqno;File conversion time, is marked in the present embodiment with $ YYYYMMDDHHMMSS Know, year, month, day, hour, min, second are represented respectively;Part is extracted from raw filename, this extracting mode just employs source document [Nx] pattern in part, every part identified with [Nx] in source file can serve as of destination name of the file form configuration Point.
Enter the configuration of sequence number length, serialized situation in the filename after referring to for conversion in destination name of the file Under, the length that sequence number is accounted for.
Timing generates the configuration of document time interval, in the case of having timing to generate the requirement of file, during configuration Between be spaced.
Second, filename processing module, the filename modular converter function part in the function and above-described embodiment of the module Split-phase is worked as, and for parsing the configuration information of a upper module, the source file of matching is generated into corresponding purpose file.
Further, match pattern and [Nx] part in configuration file is parsed first, is being fitted on specifically according to rule File, [Nx] is partly replaced with specific value, with the rule after replacement, the correspondence text inquired about again under file device catalogue Part, after finding matched file, file is write in temporary file, destination name of the file is parsed again, by temporary file Rename into purpose file.
Further, the match pattern of [Nx] in source directory, filename processing module is coordinated to support the one-to-one conversion of file The conversion regime of mode and one-to-many.Further, filename processing module arranges timer processing and can support fixed length time Generate the function of purpose file.Further, by way of filename processing module is writing control file, control file is in exception Under state, do not turn again, do not leak turn, the function such as the sequence number that generates is continuous.
The present embodiment processes configuration module to realize quickly, easily completing each with reference to filename processing module, filename The conversion operation of class file name, the operation is equally applicable to the filename conversion of Miscellaneous Documents in other each fields.
It can be seen from the foregoing description that the present invention summarizes the characteristic and general character of primary demand from all kinds of demands, Realize succinct, timesaving and complete Miscellaneous Documents name conversion operation, there is provided the efficiency and the scope of application of filename conversion operation, Maintenance difficulties are reduced, cost has been saved.
Although being example purpose, the preferred embodiments of the present invention are had been disclosed for, those skilled in the art will recognize Various improvement, increase and replacement are also possible, therefore, the scope of the present invention should be not limited to above-described embodiment.

Claims (8)

1. a kind of filename conversion method, it is characterised in that the method comprising the steps of:
Obtain the filename identification information of the filename of pre-execution filename conversion operation;
According to source filename matched rule information, temporary file name is searched in the process catalogue of the filename that is stored with;
Temporary file name performs filename conversion operation according to the filename identification information pair;
The file of the pre-execution filename conversion operation is one or more filenames;When multiple institutes of the plurality of filename State when there is identical filename identification information between filename identification information, obtain the filename identification information of the filename Including:
Obtain each self-corresponding filename identification information of the plurality of filename;
In each self-corresponding filename identification information, it is determined that total filename identification information;
The total filename identification information is defined as into the filename identification information.
2. the method for claim 1, it is characterised in that according to source filename matched rule information, in catalogue is processed Searching temporary file name includes:
The filename with the source filename matched rule information match is searched in the process catalogue;
By the filename identification information of file name, the source filename matched rule information is replaced, obtain new matched rule letter Breath;
The filename with the new matched rule information match is searched in the process catalogue, file name is defined as into institute State temporary file name.
3. the method for claim 1, it is characterised in that the file of pre-execution filename conversion operation is one or more Filename;When there is identical filename identification information between the multiple described filename identification information of the plurality of filename When, according to source filename matched rule information, searching temporary file name in catalogue is processed includes:
According to the source filename matched rule information, multiple temporary file names are determined successively in the process catalogue;
The plurality of temporary file name is merged into into a temporary file name.
4. the method for claim 1, it is characterised in that the temporary file name according to the filename identification information pair Performing filename conversion operation includes:
According to file matched rule information is generated, the filename identification information of the temporary file name is changed, obtain purpose file Name;And/or,
The adding purpose filename configuration item in the temporary file name;Wherein, the destination name of the file configuration item includes special Label information, file serial number or file conversion time, obtain destination name of the file.
5. a kind of filename conversion equipment, it is characterised in that include:
Identification information acquisition module, for obtaining the filename identification information of the filename of pre-execution filename conversion operation;
Temporary file name determining module, for according to source filename matched rule information, in the process of the filename that is stored with Temporary file name is searched in catalogue;
Filename modular converter, for the temporary file name according to the filename identification information pair filename conversion behaviour is performed Make;
The file of the pre-execution filename conversion operation is one or more filenames;When multiple institutes of the plurality of filename State when there is identical filename identification information between filename identification information, the identification information acquisition module includes:
Identification information obtaining unit, for obtaining each self-corresponding filename identification information of the plurality of filename;
First determining unit, in each self-corresponding filename identification information, it is determined that total filename identification information;
Second determining unit, for the total filename identification information to be defined as into the filename identification information.
6. device as claimed in claim 5, it is characterised in that the temporary file name determining module includes:
Filename lookup unit, for searching and the source filename matched rule information match in the process catalogue Filename;
Replacement unit, for by the filename identification information of this document, replacing the source filename matched rule information, obtains new Matched rule information;
Temporary file name determining unit, for searching the text with the new matched rule information match in the process catalogue Part name, by file name the temporary file name is defined as.
7. device as claimed in claim 5, it is characterised in that the file of pre-execution filename conversion operation is one or more Filename;When there is identical filename identification information between the multiple described filename identification information of the plurality of filename When, the temporary file name determining module includes:
Multiple temporary file name determining units, for according to the source filename matched rule information, in the process catalogue Multiple temporary file names are determined successively;
Combining unit, for the plurality of temporary file name to be merged into into a temporary file name.
8. device as claimed in claim 5, it is characterised in that the filename modular converter includes:
Changing unit, for according to file matched rule information is generated, changing the filename identification information of the temporary file name, Obtain destination name of the file;And/or,
Adding device, for the adding purpose filename configuration item in the temporary file name;Wherein, the destination name of the file is matched somebody with somebody Item is put including special marking information, file serial number or file conversion time, destination name of the file is obtained.
CN201210574871.5A 2012-12-26 2012-12-26 File name conversion method and device Active CN103902559B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210574871.5A CN103902559B (en) 2012-12-26 2012-12-26 File name conversion method and device
PCT/CN2013/082201 WO2013189427A2 (en) 2012-12-26 2013-08-23 File name conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210574871.5A CN103902559B (en) 2012-12-26 2012-12-26 File name conversion method and device

Publications (2)

Publication Number Publication Date
CN103902559A CN103902559A (en) 2014-07-02
CN103902559B true CN103902559B (en) 2017-05-10

Family

ID=49769568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210574871.5A Active CN103902559B (en) 2012-12-26 2012-12-26 File name conversion method and device

Country Status (2)

Country Link
CN (1) CN103902559B (en)
WO (1) WO2013189427A2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341155B (en) * 2016-04-29 2020-07-07 阿里巴巴集团控股有限公司 File naming method and device
CN106095898A (en) * 2016-06-07 2016-11-09 武汉斗鱼网络科技有限公司 A kind of video title management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07302273A (en) * 1994-04-28 1995-11-14 Hitachi Inf Syst Ltd Document data management system for filing system
CN1752976A (en) * 2004-09-22 2006-03-29 精工爱普生株式会社 File management program, data structure, and file management device
CN101465872A (en) * 2007-12-17 2009-06-24 新奥特(北京)视频技术有限公司 Method for transmitting and managing document
CN101651940A (en) * 2009-09-04 2010-02-17 中兴通讯股份有限公司 Ticket conversion method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8065267B2 (en) * 2005-01-12 2011-11-22 Masatsugu Noda Information processing device, file data merging method, file naming method, and file data output method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07302273A (en) * 1994-04-28 1995-11-14 Hitachi Inf Syst Ltd Document data management system for filing system
CN1752976A (en) * 2004-09-22 2006-03-29 精工爱普生株式会社 File management program, data structure, and file management device
CN101465872A (en) * 2007-12-17 2009-06-24 新奥特(北京)视频技术有限公司 Method for transmitting and managing document
CN101651940A (en) * 2009-09-04 2010-02-17 中兴通讯股份有限公司 Ticket conversion method and system

Also Published As

Publication number Publication date
WO2013189427A2 (en) 2013-12-27
WO2013189427A3 (en) 2014-02-20
CN103902559A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
US20090313233A1 (en) Inspiration support apparatus, inspiration support method and inspiration support program
RU2009114311A (en) PRINTED PRODUCTS AND METHOD FOR ITS MANUFACTURE
DE602006016846D1 (en) SYSTEM AND METHOD FOR BROWSING AND COMPARING DATA WITH IDEOGRAMMATIC CONTENTS
CN106708891A (en) Network management data synchronizing method and device
DE60336146D1 (en) FONTSYSTEM AND METHOD WITH SCALABLE BARRIER
CN105580003B (en) Data scrubbing and standardization and Geocoding
CN104572597A (en) Automatic word analysis report generation method and device
CN101980208A (en) Address query method and system
CN103902559B (en) File name conversion method and device
CN105976302A (en) Configurable data comparing method and system
CN110381115B (en) Information pushing method and device, computer readable storage medium and computer equipment
CN105550219A (en) Information resource automatic cataloguing method
CN103353859A (en) Test case reusing method based on XML
EP1739584A4 (en) Document information processing system
CN106168949B (en) The method and device that database is split
CN105589862A (en) License plate data index structure building method, retrieval method and device
CN106203952A (en) Serial number based on item related information generates method and system
Lacasta et al. Population of a spatio-temporal knowledge base for jurisdictional domains
Sumarno et al. Accelerating the Economic Recovery in Indonesia Post Covid-19: Justice in the Energy Transition
CN101609462B (en) Task recognition system in spatial environment of personal data and method
CN104200242A (en) RFID (Radio Frequency Identification) based mechanical and electrical product recovery method
CN109814923B (en) Data processing method, device, computer equipment and storage medium
Szady et al. for geohistorical records’ editing: a case study of the works of Karol Perthées
CN106446192A (en) Method and device for management of sign-off document
Melzer et al. GLOMYRIS and TYMUNAC: Myriapoda and Acari databases of the GBIF-D node invertebrates II

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant