CN102033903A - Method for analyzing file name - Google Patents

Method for analyzing file name Download PDF

Info

Publication number
CN102033903A
CN102033903A CN2010105007723A CN201010500772A CN102033903A CN 102033903 A CN102033903 A CN 102033903A CN 2010105007723 A CN2010105007723 A CN 2010105007723A CN 201010500772 A CN201010500772 A CN 201010500772A CN 102033903 A CN102033903 A CN 102033903A
Authority
CN
China
Prior art keywords
filename
file
clipped
length
player
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
CN2010105007723A
Other languages
Chinese (zh)
Inventor
A·勒辛格
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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
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 Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of CN102033903A publication Critical patent/CN102033903A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The method involves a method for analyzing a file name and reducing file name length of at least one file, wherein a part of the file name exceeding a preset length is cut from the file name. A checksum is formed from content of redundant number of points with respect to the cut part of the file name, and added to the file name that is reduced around the cut part. The invention also relates to a device for executing the method for analyzing the file name.

Description

The method that is used for the Study document name
Technical field
The present invention relates to a kind ofly be used for the Study document name and, especially in playlist, as especially according to as described in the aforementioned part of claim 1 for the optimization process file reduces the method for filename length.In addition, the invention still further relates to a kind of device that is used to carry out said method.
Background technology
In the prior art, become known for media file, for example the player of music file, video file and/or known image file.
As this player, for what people knew for example mancarried device arranged, as the MP3 player or have the mobile phone of corresponding function.This player for example is so-called MP3 player, for example the well-known Ipod device of Apple.For this player, the file that can play transmits by the data transmission in the integrated storer of this device or the mobile memory card by this device provides.
In addition, the player that is used for removable media is also for people know, as is used for CD, DVD etc., and wherein the file that can play is present in movably on medium such as the CD.By in player, inserting removable media, can provide file available on it to play being used for.
Usually, the available file that is used for playing on this device can exist with various file layouts basically, as with " .mps ", " .wma ", " .wav ", " .m3u ", " .pls ", " .asx ", " .wpl " or " .aac " file layout.File also can be present on various for example removable data carriers or the medium.
In order to generate at least one the selection of preferred media file is play being used for, use is also referred to as so-called the rendition list of playlist, so that distribute various files and/or so that select and definite order of the file that is used to play with predefined choice criteria.By using so-called playlist, therefore can from a large amount of available files, select and the selection targetedly and/or the ordering of allocate file, so that for example play or show described selection and/or ordering.
At this, playlist also is a file, and this playlist also can be stored on the data carrier except media file, so that use it by player, wherein, described playlist also comprises the path of the memory location of pointing to selected media file.Advantageously, playlist can on the player that will use and/or with its independent device on processed and/or editor on computers or in network for example.Playlist also can be stored on computers or in the network.In order to play, can for example media file and at least one playlist be transferred to player subsequently by data carrier or data transmission.
If for example create this playlist on computers or in the network, then this playlist has the memory address separately or the path of selected media file.Because file is stored on the mass storage as hard disk or analog etc. usually, so the path of memory location has typical data structure in this respect, as C: catalogue ... 1 sub-directory ... 11 sub-directory ... 111.At this, this address descriptor the part of bibliographic structure of employed computing machine, this part has the respective path of the media file that is stored in the there.
For the media file that in player, uses this playlist and select on player, to play, then access playlist, select clauses and subclauses and select the file of these clauses and subclauses, and the memory location is used as indication and is returned to player.The address of described media file is illustrated by this indication, and player can be with corresponding file load in its storer and play.
Yet, the problem of this player or application is: if be used for record data or be used for executive routine or the available memory of application is limited and deficiency, need then to tolerate that this analysis ability that also shows this player and/or application is severely limited owing to the restriction of this respect of storer deficiency.
For example, CD Player or MP3 player have the CD-MP3 chipset that is generally 1M bit (=128k byte), and this is used in the application of various parallel runnings.These application examples are the surge protection of use, playlist analysis or the mancarried device of routing table in this way.Because this multi-functional use to limited storer, the performance of player is corresponding to be restricted.This point can be because thereby filename be long relatively and correspondingly need a large amount of storage spaces and further aggravated.
Therefore, usually need to shorten the filename of media file, so that under the acceptable situation of performance, a spot of free memory is enough, wherein, the shortening of filename length should be carried out with respect to the possible in principle filename length that can be used in general program or application, for example uses in the CD burning program on computers.
Because filename has for example been used by data source, program or by internet radio and has been provided in advance, manually reducing the filename that the heap file name surpasses the file of pre-set length is a quite worthless process, and this process is decided also very consuming time on the quantity of file.
In addition, by the known a kind of apparatus and method of EP 0 944 903 B1, can distribute the also title of distributing individually of service recorder carrier whereby.Yet the cost of doing so individually is very high, and under the situation of arbitrarily big quantity data or record carrier, this can't carry out, because the cost of getting in touch therewith can not be accepted by the user.
Summary of the invention
Therefore, task of the present invention is to propose a kind of method that is used for the Study document name, in the method, carry out the reducing of filename length of file, especially in order to the optimization process file, especially in playlist, this method has reduced the shortcoming of prior art at least.Task of the present invention also is to propose a kind of device to be used for carrying out foundation method of the present invention.
This reaches by being used for the method for Study document name, in this method, carry out reducing of filename length, especially for the optimization process file, especially in playlist, wherein, clip the part of this document name from the filename of file, this part has exceeded predeterminable filename length, wherein, about that part of formation verification of being clipped of this document name and, and with this verification with add the filename that has been reduced the part of being clipped to.
At this, if like this then be favourable, promptly that part of of interpolation with this verification and relevant filename is can preventing further thus of can not discerning for the user, after filename was shortened according to length, original different file or filenames obtained identical filename by shortening.
If like this then be useful, be a part that forms the filename that reduces and from filename, clip filename, wherein the figure place given in advance of filename is retained, and the figure place that exceeds the quata of filename is clipped.
If like this then be further useful, promptly according to the content of the figure place that exceeds the quata of being left out or shortening form verification with.Thus, form test stone, thereby for the filename that is shortened of file, the part of being removed of filename has continued the sign effect according to the part of being removed of filename.
Further advantageously, verification and be the check and (Pr ü fsumme) or the numeral and (Quersumme).
Aspect device, this is to utilize such device to realize, this device is used for carrying out the method for the filename length that is used for reducing at least one file, wherein from filename, clip the part of filename, this part exceeds the length that can provide in advance of filename, wherein about this part of clipping of filename form verification and, and with this verification with add the filename that has been reduced the part of being clipped to.
At this advantageously, be used for the storer of storage file, and at least one is used for the processor of processing instruction, to be used to handle filename and/or file when described device has at least one.If like this then be favourable, promptly such device is the device of mancarried device for example, as the MP3 player, and CD Player, DVD player or mobile phone etc. are especially for the device of playing music.
Other advantages of the present invention are drawn by dependent claims and following description of drawings.
Description of drawings
Below based on embodiment, with reference to the accompanying drawings the present invention is explained in detail.In the accompanying drawing:
Fig. 1 shows the synoptic diagram of first method flow of the present invention, and
Fig. 2 shows the synoptic diagram of second method flow of the present invention.
Embodiment
Fig. 1 shows the synoptic diagram according to the method flow 1 of method 100 of the present invention, wherein the media file of selecting from whole media data 2 in advance 3 is carried out about its filename in the analysis aspect its filename length.
If in the set of selected filename, there is such filename, be that its length that has exceeds the acceptable length that can provide in advance, these files are so reduced about its filename so, and referring to 4, so that the filename that is produced satisfies the requirement on filename length.
Advantageously, filename is clipped in certain position, wherein further adds a numeral or Serial No. to this document name, referring to 5, this verification of from the part that the quilt of raw filename is clipped, obtaining of expression and.Advantageously, this verification and this be the check and or the numeral and.
Advantageously, when resulting verification be added to filename.At this, the part that this can be write as the sightless part of filename self or be write as file self.
File through so handling is correspondingly analyzed and/or use at device or in using together with its filename that now has been shortened, and now has the characteristic of having considered lower memory requirement, referring to 6.
Fig. 2 shows the synoptic diagram according to another embodiment of the method flow 10 of method 100 of the present invention, wherein on parallel branch the media file of selecting from whole media data 11,12,13 in advance 14,15,16 is being analyzed aspect its filename length about its filename.
If in the set of selected filename, there is such filename, be that its length that has exceeds the acceptable length that can provide in advance, these files are so reduced about its filename so, referring to 17,18,19, so that the filename that is produced satisfies the requirement on filename length.
Advantageously, filename is clipped in a specific position, wherein further add a numeral or Serial No. or element or element sequence to this document name, referring to 20,21,22, the verification that this expression or representative obtain from the part that the quilt of raw filename is clipped and.At this advantageously, this verification and be the check and or the numeral and.
If like this then be favourable, i.e. verification and be added to filename.At this, if like this then be favourable, promptly it is added to filename as a supplement.At this, if like this then be favourable, promptly this sightless part as this document name is added or is write as the part of file self.
File through so handling correspondingly uses at device or in using together with its filename that now has been shortened, and now has the characteristic of having considered than low memory requirement, referring to 23.
The sign of the part of clipping with verification with as the quilt of filename is used, prevented that different files from obtaining identical filename after clipping the part of filename, this is because they all are identical up to the position of clipping, and is only being distinguished to some extent each other in the filename zone of clipping.Thus, these two file in fact also inequality differences on filename have been eliminated.
As conclusion, the method for the present invention that has no basis can cause, and a file or a plurality of file are defined as belonging to a playlist, and also can to belong to the file of this playlist consistent with at least one but this one or more files are clipped owing to filename.Therefore, can mistakenly certain specific character be offered file owing to the consistance of the filename after shortening, yet this document should not obtain this specific character.
In order after clipping filename, to select correct file, before comparison document, carry out identical clipping-and verification and processing.
Advantageously, above-mentioned processing to filename and pathname also can be applied to directory name and names of playlists.

Claims (12)

1. the method that is used for the Study document name, carry out the reducing of filename length of file by described method, especially in order to the optimization process file, especially in playlist, wherein clip the part of described filename from the filename of file, described part exceeds the length that can provide in advance of filename, it is characterized in that, the part of being clipped about described filename described form verification and, and with described verification with add the filename that has been reduced the described part of being clipped to.
2. method according to claim 1, it is characterized in that,, from described filename, clip the part of described filename in order to form the described filename that is reduced, the predetermined figure of wherein said filename is retained, and the figure place that exceeds the quata of described filename is clipped.
3. method according to claim 1 and 2 is characterized in that, according to the content of the described figure place that exceeds the quata form described verification and.
4. method according to claim 1 and 2 is characterized in that, described verification and be the check and or the numeral and.
5. each described method in requiring according to aforesaid right is characterized in that pathname, directory name and/or names of playlists also are looked at as filename.
6. each described method in requiring according to aforesaid right is characterized in that, will realize before described file storage is in storer that described filename shortens.
7. computer program has program part to be used for carrying out the method according to 1 to 6 at least one of aforesaid right requirement.
8. machine readable, especially computer-readable data structure, described data structure is by requiring in 1 to 6 at least one method and/or generating by at least one computer program according to claim 7 according to aforesaid right.
9. machine readable, especially computer-readable data carrier, on described data carrier, write down and/or store at least one computer program according to claim 7, and/or on described data carrier, have at least one data structure according to claim 8, be called being used to.
10. be used to carry out the device of the method that is used for the Study document name, carry out the reducing of filename length of file by described method, especially in order to the optimization process file, especially in playlist, wherein from described filename, clip the part of described filename, described part exceeds the length that can provide in advance of described filename, it is characterized in that, the described part of being clipped about described filename forms check code, and adds described check code to be reduced the described part of being clipped filename.
11. device according to claim 10 is characterized in that, described device has at least one storer, to be used to storing at least one file or a plurality of file, also has the processor that is used for processing instruction, and described instruction is used to handle file and/or filename.
12. the device according to claim 10 or 11 is characterized in that, described device is the device of mancarried device for example, as the MP3 player, and CD Player, DVD player or mobile phone etc. are especially for the device of playing music.
CN2010105007723A 2009-10-06 2010-09-30 Method for analyzing file name Pending CN102033903A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102009045382.2 2009-10-06
DE102009045382A DE102009045382A1 (en) 2009-10-06 2009-10-06 Method for analyzing e.g. path name of sound file utilized for playing on DVD player, involves forming checksum with respect to cut part of file name and added to file name that is reduced around cut part

Publications (1)

Publication Number Publication Date
CN102033903A true CN102033903A (en) 2011-04-27

Family

ID=43705589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105007723A Pending CN102033903A (en) 2009-10-06 2010-09-30 Method for analyzing file name

Country Status (2)

Country Link
CN (1) CN102033903A (en)
DE (1) DE102009045382A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013139185A1 (en) * 2012-03-22 2013-09-26 腾讯科技(深圳)有限公司 File name display method and system, and computer storage medium
CN103699567A (en) * 2013-11-04 2014-04-02 北京中搜网络技术股份有限公司 Method for realizing same news clustering based on title fingerprint and text fingerprint
CN105204823A (en) * 2014-05-29 2015-12-30 腾讯科技(深圳)有限公司 Method and device for generating application installation package

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078357A1 (en) * 2002-10-16 2004-04-22 Microsoft Corporation Optimizing media player memory during rendering
CN101051319A (en) * 2007-05-11 2007-10-10 北京中星微电子有限公司 File name generating method and device in file distribution system
CN101059813A (en) * 2006-04-21 2007-10-24 索尼株式会社 File management apparatus, file management method, and program
CN101158961A (en) * 2006-10-04 2008-04-09 联发科技股份有限公司 Multimedia management and playback apparatus
CN101169796A (en) * 2007-11-20 2008-04-30 中兴通讯股份有限公司 Method for storing document name and judging file name overlength
CN101479801A (en) * 2006-06-23 2009-07-08 皇家飞利浦电子股份有限公司 Method of navigating items at a media player

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19651411A1 (en) 1996-12-11 1998-06-18 Bosch Gmbh Robert Player

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040078357A1 (en) * 2002-10-16 2004-04-22 Microsoft Corporation Optimizing media player memory during rendering
CN101059813A (en) * 2006-04-21 2007-10-24 索尼株式会社 File management apparatus, file management method, and program
CN101479801A (en) * 2006-06-23 2009-07-08 皇家飞利浦电子股份有限公司 Method of navigating items at a media player
CN101158961A (en) * 2006-10-04 2008-04-09 联发科技股份有限公司 Multimedia management and playback apparatus
CN101051319A (en) * 2007-05-11 2007-10-10 北京中星微电子有限公司 File name generating method and device in file distribution system
CN101169796A (en) * 2007-11-20 2008-04-30 中兴通讯股份有限公司 Method for storing document name and judging file name overlength

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013139185A1 (en) * 2012-03-22 2013-09-26 腾讯科技(深圳)有限公司 File name display method and system, and computer storage medium
CN103699567A (en) * 2013-11-04 2014-04-02 北京中搜网络技术股份有限公司 Method for realizing same news clustering based on title fingerprint and text fingerprint
CN105204823A (en) * 2014-05-29 2015-12-30 腾讯科技(深圳)有限公司 Method and device for generating application installation package
CN105204823B (en) * 2014-05-29 2019-11-05 腾讯科技(深圳)有限公司 Generate the method and device of application program installation kit

Also Published As

Publication number Publication date
DE102009045382A1 (en) 2011-04-07

Similar Documents

Publication Publication Date Title
US8005856B2 (en) Dynamic selection of media for playback
US9645787B1 (en) Tag-based electronic media playlist processing
KR101648204B1 (en) Generating metadata for association with a collection of content items
CN100452029C (en) Method and system for managing media file database
CN101609707B (en) Information processing apparatus and information processing method
US20050015389A1 (en) Intelligent metadata attribute resolution
US10628385B2 (en) Virtual collection of entities in sync process
JP2008547153A (en) Create standardized playlists and maintain unity
WO2007070206A1 (en) Active preview for media items
CN102033903A (en) Method for analyzing file name
US8468140B2 (en) Information processing apparatus reading out and displaying contents, and method for the same
CN1902574A (en) User interface for a device for playback of multimedia files
CN101470758B (en) Information processing device, information processing method, content transfer system
US20180268054A1 (en) Selecting content items for playlists
TW201543241A (en) Selection method, method for maintaining data list and electronic device
Tokui Massh! A web-based collective music mashup system
CA2623080A1 (en) A system and method for providing visual indicators in a media application
KR20090025607A (en) Method for updating a metadata of contents and apparatus therefor
KR20080018805A (en) Multimedia system framework having layer consolidating access to multiple media devices
CN101620612A (en) Content attribute rendering method and device thereof
IT201800005409A1 (en) SYSTEM, EQUIPMENT AND METHOD FOR EFFICIENTLY MANAGING THE MEMORY OF ELECTRONIC DEVICES
CN104598260B (en) A kind of list items mark, addition and the method and device of modification
JP3729776B2 (en) File management method and content recording / playback apparatus
US20140359440A1 (en) Shuffle functionality for a media player
EP2859552A1 (en) Audio system and audio system operating method

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

RJ01 Rejection of invention patent application after publication