CN104331342B - The matched method of file path and its device - Google Patents

The matched method of file path and its device Download PDF

Info

Publication number
CN104331342B
CN104331342B CN201410005851.5A CN201410005851A CN104331342B CN 104331342 B CN104331342 B CN 104331342B CN 201410005851 A CN201410005851 A CN 201410005851A CN 104331342 B CN104331342 B CN 104331342B
Authority
CN
China
Prior art keywords
file
store path
path
similarity
mobile terminal
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
CN201410005851.5A
Other languages
Chinese (zh)
Other versions
CN104331342A (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.)
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Guangzhou Mobile R&D Center
Samsung Electronics 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 Samsung Guangzhou Mobile R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Guangzhou Mobile R&D Center
Priority to CN201410005851.5A priority Critical patent/CN104331342B/en
Publication of CN104331342A publication Critical patent/CN104331342A/en
Application granted granted Critical
Publication of CN104331342B publication Critical patent/CN104331342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides one kind to be used for the matched method and apparatus of file path, the described method includes:It obtains in mobile memory card with having the second store path of the file of the same type in the first store path and mobile terminal of the file of same type in mobile terminal;First store path is revised as the second store path.By this method can be effective and rapid the memory space in flash memory device is arranged, user is facilitated to obtain required file.

Description

The matched method of file path and its device
Technical field
It is matched the present invention relates to a kind of mobile terminal with the file path of mobile memory card, more particularly, is related to one kind For the matched method and apparatus of file path.
Background technology
With enriching for mobile terminal (such as mobile phone) function, present mobile terminal is capable of providing more and more information To us, and these information are all stored in flash memory device in the form of a file.At present the space of flash memory device compared with Greatly, it can both be stored in the memory of mobile terminal, be stored in external storage device (such as SD card), meeting It is inconvenient there are some while user uses.Such as it when user's storage file, is arbitrarily deposited often in order to facilitating It finds very to bother when storing up, and to look for, often can not find;When user replaces mobile phone, SD card is changed to another When on a mobile phone, the file of acquiescence has been subsequently supplied one time again.If user, which carries out arranging manually, can bring very big work Amount, especially when mobile terminal has used for a long time, many files need to arrange, and Manual arranging is not only troublesome and easily goes out It is wrong.
Therefore, it is necessary to a kind of methods that user can be facilitated to arrange file.
The content of the invention
It is an object of the invention to solve above-mentioned technical problem, therefore, an aspect of of the present present invention provides a kind of for text The method and apparatus of part route matching.
To achieve these goals, provide a kind of for the matched method of file path, it may include following steps:It obtains It is identical in the first store path and mobile terminal of the file with same type in mobile terminal in mobile memory card Second store path of the file of type;First store path is revised as the second store path.
Preferably, can by scan and compare mobile terminal file system information come obtain the first store path and Second store path.
Preferably, obtain mobile memory card in in mobile terminal have same type file the first store path with And the file of the same type in mobile terminal the second store path the step of can pass through scanning and memory mobile terminal text The information of storage is then compared to obtain the first store path and the second store path by the information of part system.
It preferably, can be by obtaining the storage road corresponding to the mobile memory card of different mobile phone models according to mobile phone model Footpath.
Preferably, the step of the first store path being revised as the second store path can further include:To the first store path Similarity of paths matching is carried out with the order of the keyword in the second store path and keyword.
Preferably, the step of the first store path being revised as the second store path can further include:To the text in file The form of part carries out similarity mode.
Preferably, path can be carried out to the order of the keyword in the first store path and the second store path and keyword Similarity mode carries out similarity mode to obtain the second phase to obtain the first similarity value, to the form of the file in file Like angle value, total similarity for the first weights and the first similarity value product and the product of the second weights and the second similarity value it With, by total similarity compared with the threshold value set after the first store path is revised as the second store path.
Preferably, the step of the first store path being revised as the second store path can further include:To the text in file Part carries out similarity mode according to the creation time of file or folder.
Preferably, the step of the first store path being revised as the second store path can further include:To the text in file Part carries out similarity mode according to the title of file.
To achieve these goals, it is proposed that one kind is used for the matched device of file path, it may include:Acquisition module obtains It takes in mobile memory card with having the phase in the first store path and mobile terminal of the file of same type in mobile terminal Second store path of the file of same type;First store path is revised as the second store path by modified module.
Preferably, acquisition module can obtain the first storage by the information for the file system for scanning and comparing mobile terminal Path and the second store path.
Preferably, acquisition module is obtained in mobile memory card with having the first of the file of same type to deposit in mobile terminal The step of storing up the second store path of the file of path and the same type in mobile terminal can be by scanning and storing movement The information of storage is then compared to obtain the first store path and the second storage road by the information of the file system of terminal Footpath.
Preferably, acquisition module can be by obtaining the mobile memory card corresponding to different mobile phone models according to mobile phone model Store path.
Preferably, modified module can be to the keyword and the order of keyword in the first store path and the second store path Carry out similarity of paths matching.
Preferably, modified module can carry out similarity mode to the form of the file in file.
Preferably, path can be carried out to the order of the keyword in the first store path and the second store path and keyword Similarity mode carries out similarity mode to obtain the second phase to obtain the first similarity value, to the form of the file in file Like angle value, total similarity for the first weights and the first similarity value product and the product of the second weights and the second similarity value it With, by total similarity compared with the threshold value set after the first store path is revised as the second store path.
Preferably, modified module can carry out similarity to the file in file according to the creation time of file or folder Matching.
Preferably, modified module can carry out similarity mode to the file in file according to the title of file.
It is above-mentioned to be used for the matched method and apparatus of file path, by carrying out intelligent Matching to mobile store path, according to Keyword, file format and the similitude in path carry out intelligent Matching, unified default path, by the file or file of same type Folder carries out arrangement classification, and memory space is arranged effective and rapidly, facilitates reading and use of the user to file.
Description of the drawings
Pass through the description carried out below in conjunction with the accompanying drawings to exemplary embodiment of the present invention, above and other mesh of the invention And feature will become apparent, wherein:
Fig. 1 is the flow chart according to an exemplary embodiment of the present invention for the matched method of file path;
Fig. 2 is the schematic diagram for showing photo/video store path in the SD card of mobile phone A acquiescence in example 1;
Fig. 3 is the schematic diagram for showing photo/video store path in the SD card of mobile phone B acquiescence in example 1;
Fig. 4 is to show schematic diagram of the SD card from mobile phone A replacement to the photo/video store path in mobile phone B in example 1;
Fig. 5 is the schematic diagram for showing mobile phone path intelligent Matching (1) in example 1;
Fig. 6 is the schematic diagram for showing mobile phone path intelligent Matching (2) in example 1;
Fig. 7 is the schematic diagram for showing the data cases of the SD card of mobile terminal in example 3;
Fig. 8 is the schematic diagram for showing the data cases (1) that mobile phone stores in example 3;
Fig. 9 is the schematic diagram for showing the data cases (2) that mobile phone stores in example 3;
Figure 10 is the signal for showing to be transferred to the data in the SD card of mobile terminal in example 3 effect of mobile phone storage Figure;
Figure 11 is the signal for showing to be transferred to mobile phone storage partial data in example 4 effect in the SD card of mobile terminal Figure;
Figure 12 is the schematic diagram for the Sounds situations in the SD card of originating mobile terminal in example 4 that show;
Figure 13 is the schematic diagram for showing the original upper Sounds situations of mobile phone storage in example 4;
Figure 14 is the schematic diagram for showing the Sounds situations in example 4 after the intelligent Matching of path;
Figure 15 is the block diagram according to an exemplary embodiment of the present invention for the matched flash memory device of file path.
Specific embodiment
Hereinafter, the embodiment of the present invention is described in detail with reference to the attached drawings.
Generally speaking, it is according to the present invention to comprise the following steps for the matched method of file path:Obtain mobile storage With having the text of the same type in the first store path and mobile terminal of the file of same type in mobile terminal in card Second store path of part;First store path is revised as the second store path.
To carry out the present invention for the matched method of file path below in conjunction with specific embodiments of the present invention detailed Thin description.
Fig. 1 is the flow chart according to an exemplary embodiment of the present invention for the matched method of file path.
As shown in Figure 1, start to start path intelligent Matching in step S1.
Opening path intelligent Matching can be realized by two ways, i.e. manual mode and automatic mode.
For example, can start path intelligent Matching according to the input of user, then this corresponds to the situation for selecting manual mode. In addition, for example, can to start path intelligent Matching according to scheduled event, this corresponds to the situation of automatic mode.
The scheduled event is, for example, when mobile terminal or mobile memory card generation store path variation, such as, in hand SD card is replaced in machine, the data in SD card are stored into mobile phone, stores the data in mobile phone onto SD card or the like.
Step S2 selection path intelligent Matching processing mode and obtain in mobile memory card with having in mobile terminal Second store path of the file of the same type in the first store path and mobile terminal of the file of same type.
It should be understood that for example, the mode of path intelligent Matching processing is selected in step S2 to be selected according to the input of user It selects or is selected according to system default setting.
Step S3 is to perform 100% matching way of default path to carry out route matching.Except 100% match party of default path Beyond formula, also there are intelligent fuzzy matching, intelligent fuzzy matching for example may include the non-100% matching S4 of default path, All Paths Matching S5, mobile terminal storage match S6, self-defined route matching S7 with mobile memory card storage backup.It should be understood that here Simply enumerate the matched example of several intelligent fuzzies with help reader to the matched understanding of intelligent fuzzy rather than to the present invention limit System.
The above-mentioned selection to path matching way is mainly used for setting the scope of route matching.
For example, 100% matching way of default path refers to for example deposit mobile terminal storage (such as mobile phone storage) and movement The path of card storage storage (such as SD card storage of mobile terminal) acquiescence generation is matched.Take be mobile terminal (such as Mobile phone) model matching, carry out 100% matching, this mode primarily directed to blank SD card or it is external storage SD replace mobile phone When processing.
Default path it is non-100% matching refer to mobile terminal storage (such as mobile phone storage) and mobile memory card store (such as The SD card storage of mobile terminal) give tacit consent to non-100% matching of path progress of generation, such as SD card progress is replaced in different mobile phones Route matching.
All Paths matching, which refers to store mobile terminal storage (such as mobile phone storage) and mobile memory card, (such as moves Terminal SD card storage) All Paths matched;Mobile terminal, which stores to back up to match with mobile memory card storage, to be referred to pair Matching way when mobile terminal stores and mobile memory card storage is backed up;Self-defined route matching refers to be selected by user Some particular paths and the matching way for needing to match the path retained.
For above-mentioned route matching mode, there are two types of the modes for obtaining store path:First way is in scanning while ratio Compared with mode, i.e., obtain the first store path by the information for the file system for scanning and comparing mobile terminal and second deposit Store up path.By system calling come scanning file, the essential information of file system can be obtained, including directory entries at different levels, file Name, association attributes of file etc..In addition, mode that the execution of first way is handled according to the path intelligent Matching of selection and Matched rule it is different and different.It is matched and right for example, if the storage of selection mobile terminal is backed up with mobile memory card storage Keyword and order in path carry out similarity of paths matching, that scans acquisition approach keyword and order just, equally It is also such to compare.If matched rule is such as creation time, then scans and compares creation time.
The second way is to first pass through file mode to establish mobile terminal storage (such as mobile phone storage) and mobile memory card The file path structure of storage (such as SD card storage of mobile terminal), and periodically or according to file structure variation be updated, I.e. by scanning and the information of the file system of memory mobile terminal, the information of storage is then compared to acquisition first and is deposited Store up path and the second store path.The second way also needs scanning file, with first way the difference is that, It needs the essential information of the file system of acquisition being stored in preset file.Therefore, it can be seen that first way Additional memory space is not required to carry out storage file path structure, but the speed of matching treatment is slower, and the second way Speed with processing, but need to spend certain memory space.
It is described separately below for the mode of above-mentioned path intelligent Matching processing.
100% default path matching way, which is performed, in step S3 carries out route matching.
It is obtained in step S3 by scanning the model of mobile terminal (such as mobile phone) corresponding to different mobile terminal model The mobile memory card storage SD card of mobile terminal (such as storage) store path.For example, preset text can be passed through in mobile phone The default path of the external SD card of mainstream producer in the mode storage market of part.Therefore only it need to know that the model of mobile phone can obtain Know the default storage path of the mobile memory card storage of the mobile terminal.
Then store path is changed in step S8.
In step S10, the first store path is revised as the second storage road by the store path of unified same type file Footpath.
It is carried out in detail below for how to perform file path matching in the case where selecting remaining four kinds of coupling path mode Thin description.
In step S9, route matching threshold value PT is set first, for determining final matching result together with matched rule. Then Blur track matching is carried out to change store path.Finally judge the relation of similarity and threshold value, determine whether to unite One store path.
Specifically, similarity of paths matching is carried out to the order of the keyword in store path and keyword first, so Similarity mode is carried out to the form of the file in file afterwards.The order of keyword in store path and keyword is carried out The similarity value that similarity of paths matches is P1, and the phase that similarity mode obtains is carried out to the form of the file in file Be P2 like angle value, total similarity is the product of the first weights and P1 and the sum of products of the second weights and P2, by total similarity with The route matching threshold value PT of setting changes store path after being compared, i.e., the first store path is revised as the second storage road Footpath.
In order to be specifically described step S4, it is specifically described below with cell phone pictures/video path illustrative example 1, the reality Example is non-100% matched situation.
In mobile phone A, photo/video store path is as shown in Figure 2 in the SD card of acquiescence.Rectangle frame shows it in mobile phone A In store path, its fullpath is:/ storage/extSdCard/DCIM/100ANDRO (path 1)(This path 1 can It is directly obtained according to the model of mobile phone A), have 4 files in path 1, wherein file format is that two files of 3gp are videos File, file format are that two files of jpg are photo files (these files can be obtained by scanning).
In mobile phone B, photo/video store path is as shown in Figure 3 in the SD card of acquiescence.Rectangle frame shows it in mobile phone B In store path, its fullpath is:/ storage/extSdCard/DCIM/Camera (path 2)(This path 2 can root It is directly obtained according to the model of mobile phone B), have 4 files in path 2, wherein file format is that two files of mp4 are video texts Part, file format are that two files of jpg are photo files (these files can be obtained by scanning).Under normal circumstances, will SD card in mobile phone A is changed in mobile phone B, it will there are two paths to store photo/video, as shown in Figure 4.
Two paths are:Path 1:/storage/extSdCard/DCIM/100ANDRO;Path 2:/storage/ extSdCard/DCIM/Camera.That is, equally store photo/video, but it is stored in now there are two under path, such as Fruit others mobile phone default path is different with two paths above, and SD card is changed on other mobile phones, and can generate more Path, such processing mode are very unreasonable.
Therefore, intelligent route matching mode according to embodiments of the present invention is repaiied in step S9 according to Blur track matching Change store path.Specifically, first common path keyword is counted and classified and stored.It is assumed that same sequence and identical Keyword 100%, same sequence and close keyword 75%.Path 1:/storage/extSdCard/DCIM/100ANDRO;Road Footpath 2:Respectively there are 4 subpaths in/storage/extSdCard/DCIM/Camera, path 1 and path 2.Therefore by comparing discovery Path 1 (/storage/extSdCard/DCIM/100ANDRO) and the photo/video default path of SD card in mobile phone B are Path 2 (/storage/extSdCard/DCIM/Camera) similarity is very high, wherein common path/storage/ ExtSdCard/DCIM, different paths are 100ANDRO and Camera, their orders are identical, their names are different, but it Statistics keyword be it is close, according to assume can obtain outbound path 1 and the keyword similarity value P1=(1+1+1+ in path 2 0.75)/4=0.9375.In addition illustratively order difference on matched influence:Such as/storage/extSdCard/ Sdcard0 and/storage/sdcard0/extSdCard meetings difference are very big.
It is assumed that same file form 100%, close file format 75%.There are two types of file formats in path 1, is respectively 3gp and jpg, there are two types of the file formats in path 2, is respectively mp4 and jpg.Outbound path 1 and path 2 can be obtained according to hypothesis File format similarity value P2=(1+0.75)/2=0.875.Total similarity P=W1*P1+W2*P2.Wherein W1 and W2 is weighting Value, extreme case are only subject to keyword similarity value, W1=1, W2=0, P_1=W1*P1=0.9375;Only phase as a file format Subject to angle value, W1=0, W2=1, P_2=W2*P2=0.875.Factor of both considering, selects moderate value.When W1=0.5, During W2=0.5, P_3=W1*P1+W2*P2=0.90625.
Then, route matching is handled, if the value of total similarity P carries out route matching processing higher than threshold value PT:Modification Path to be treated, by Piece file mergence;If the value of total similarity P is less than threshold value PT, it is believed that path mismatches, without place Reason.For example, when PT values are arranged to 0.9, it can be deduced that P_1 and P_3 is more than the threshold value PT set, can carry out route matching processing And P_2, due to being less than the threshold value PT of setting, route matching processing will not be carried out.It for example, can be by the way that above path 1 be carried out / storage/extSdCard/DCIM/Camera is revised as, as shown in Figure 5.
Finally, in step S10, the first store path is revised as second by the store path of unified same type file Store path (such as path 2 is revised as in path 1 as shown in Figure 6).
In step s 9, route matching to the keyword in path and order except carrying out similarity of paths matching and to text File format in part folder is carried out outside similarity mode, can also use other modes:To the file in file according to The creation time of file or folder carries out similarity mode, suitable for the user higher to requirement of real-time;To file In file similarity mode is carried out according to the title of file, such as user wants to return several files of 20130725 this days Shelves, and he has a name custom, can name into the form of * 20130725*.* in each file of that day, pass through this side Formula, it is easy to by the archive of needs.
Concrete example explanation is carried out to remaining three kinds of mode S5 to S7 below.
S5 is matched for All Paths.All Paths matching way refer to mobile terminal storage (such as mobile phone storage) and All paths of mobile memory card storage (such as SD card storage of mobile terminal) are matched.It is carried out by taking mobile phone as an example using act Example if which path not selected retain, just retains mode using random, such as described in example 2:Path/storage/ All it is storage video file in extSdCard/photo ,/storage/extSdCard/photo1, during successful match, Huo Zhebao Stay "/storage/extSdCard/photo " or retain "/storage/extSdCard/photo1 ", this can by user Lai Selection.It should be understood that All Paths matching way can equally be matched by setting route matching threshold value PT come realizing route, mistake Journey is similar with the above, therefore details are not described herein, and difference lies in due to not being related in path here with above-mentioned example File format, therefore similarity value P2 can not be calculated.Mobile terminal is stored matches S6 in hand with mobile memory card storage backup It is illustrated below in machine, when mobile memory card exception occurs or has to remove from mobile phone, it is necessary to will mobile storage Data on card are copied in mobile phone storage;When needing to carry out data scrubbing to mobile phone, partial data is that user needs to retain , it is necessary to which these data are copied in mobile memory card.It is divided into(a)With(b)Two aspects are illustrated.
(a)Data on mobile memory card are copied in mobile phone storage
In example 3, Fig. 7 is the data cases of mobile memory card storage (such as SD card storage of mobile terminal), from Fig. 7 It can be seen that mobile memory card store path is:/ storage/extSdCard there are three file under this path, is respectively: Sounds, DCIM and LOST.DIR.Fig. 8 and Fig. 9 is the data cases of mobile phone storage, and as can be seen from the figure mobile memory card is deposited Storage path is:/ storage/sdcard0 also contains Sounds, DCIM and LOST.DIR file under this path, such as Fig. 9 and Rectangle frame identifies in Figure 10.Figure 10 is the design sketch that the data on mobile memory card are transferred to mobile phone storage in the prior art, It can be seen from the figure that Sounds, DCIM and LOST.DIR of storage same file, when being transferred in mobile phone storage, are created again Sounds (1), DCIM (1) and LOST.DIR (1) are built.
And Blur track according to an embodiment of the invention matching, can general/storage/extSdCard/Sounds ,/ Storage/extSdCard/DCIM and/storage/extSdCard/LOST.DIR are modified as/storage/sdcard0/ Sounds ,/storage/sdcard0/DCIM and/storage/sdcard0/LOST.DIR, the number that mobile memory card is stored Merged accordingly according to the data stored with mobile phone.
(b)Data during mobile phone is stored are copied on mobile memory card
Such as example 4 need retain mobile phone storage in Music, DCIM and Sounds, can generate with(a)Corresponding road Footpath, which is not described herein again.
By taking example 4 as an example, handled, can be obtained such as Figure 11 design sketch using mobile phone path intelligent Matching.If mobile phone is deposited Storage, there are during coupling path, the respective paths that mobile phone stores is modified with mobile memory card storage, and mobile phone is stored and moved The data of dynamic storage card storage merge, will be in target location (in this example if there is no the situation of route matching Refer in mobile memory card) generate corresponding store path.
Further illustrate that mobile phone storage and the data of mobile memory card storage merge place using the handling result of Sounds Reason, Figure 12 and Figure 13 are original cases, situation that Figure 14 is that treated.By comparing it can be found that original is /storage/ Two files under sdcard0/Sounds paths:" voice 001.m4a " and " voice 002.m4a ", after processing, be merged into/ Under storage/extSdCard/Sounds paths, since original/storage/extSdCard/Sounds has name in path For " voice 001.m4a " and the file of " voice 002.m4a ", so " voice 001.m4a " and " voice in mobile phone storage During 002.m4a " Piece file mergences are stored to mobile memory card, " voice 001.m4a " and " voice 002.m4a " name is repaiied Change, be named as " voice 001 (1) .m4a " and " voice 002.m4a (2) ".
Self-defined route matching S7 illustrative examples 5 are as follows, under certain user selection SD card /storage/extSdCard/ Photo ,/storage/extSdCard/photo1 ,/storage/extSdCard/photo2 and/storage/ ExtSdCard/photo3, video file therein is matched/storage/extSdCard/photo under, wherein, " user Select some particular paths " refer to "/storage/extSdCard/photo ,/storage/extSdCard/photo1 ,/ Storage/extSdCard/photo2 and/storage/extSdCard/photo3 ", " path that matching is needed to retain " refer to “/storage/extSdCard/photo”。
Figure 15 is the block diagram according to an exemplary embodiment of the present invention for the matched device of file path.
As shown in figure 15, acquisition module 100 and modified module are included for the matched flash memory device of file path 200。
Acquisition module 100 is used to obtain in mobile memory card with having the first of the file of same type to deposit in mobile terminal Store up the second store path of the file of path and the same type in mobile terminal;
Modified module 200 is used to the first store path being revised as the second store path.
Acquisition module 100 can obtain the first store path by the information for the file system for scanning and comparing mobile terminal And second store path or acquisition module 100 obtain in mobile memory card with having the text of same type in mobile terminal The step of second store path of the file of the same type in the first store path and mobile terminal of part, can pass through scanning And the information of the file system of memory mobile terminal, then by the information of storage be compared to obtain the first store path and Second store path or acquisition module 100 can be by obtaining the outside corresponding to different mobile phone models according to mobile phone model The store path of storage card.
Modified module 200 is to the keyword in the first store path and the second store path and the order of keyword into walking along the street Footpath similarity mode.For example, modified module 200 can carry out similarity mode to change by the form to the file in file Store path.Similarity of paths is carried out to the order of the keyword in the first store path and the second store path and keyword It is equipped with to obtain the first similarity value, similarity mode is carried out to obtain the second similarity value to the form of the file in file, Total similarity is the product of the first weights and the first similarity value and the sum of products of the second weights and the second similarity value, will be total Similarity compared with the threshold value set after the first store path is revised as the second store path.In addition, modified module 200 Store path can be changed by carrying out similarity mode according to the creation time of file or folder to the file in file. Modified module 200 can also change storage road by carrying out similarity mode according to the title of file to the file in file Footpath.
It should be understood that it is according to an exemplary embodiment of the present invention for the matched device of file path can perform above by reference to The matched method of file path that Fig. 1 to Figure 14 is described, in order to avoid repeating, details are not described herein.
It is above-mentioned to be used for the matched method and apparatus of file path, by carrying out intelligent Matching to mobile store path, according to Keyword, file format and the similitude in path carry out intelligent Matching, unified default path, by the file or file of same type Folder carries out arrangement classification, and memory space is arranged effective and rapidly, facilitates reading and use of the user to file.
Specific embodiment is had been combined above and describes the present invention, but the implementation of the present invention is without being limited thereto.In the present invention Spirit and scope in, various modifications can be carried out and modification by those skilled in the art, these modifications and variations will fall into right It is required that within the protection domain limited.

Claims (12)

1. one kind comprises the following steps for the matched method of file path:
(1) obtain in mobile memory card with there is the first store path of the file of same type and movement eventually in mobile terminal Second store path of the file of the same type in end;
(2) the first store path is revised as the second store path,
Wherein, step (2) includes:The order of keyword in first store path and the second store path and keyword is carried out Similarity of paths is matched to obtain the first similarity value, and similarity mode is carried out to the form of the file in file to obtain the Two similarity values, total similarity are product and the second weights of the first weights and the first similarity value and multiplying for the second similarity value The sum of product, by total similarity compared with the threshold value of setting after the first store path is revised as the second store path.
2. it is the method for claim 1, wherein obtained by the information for the file system for scanning and comparing mobile terminal First store path and the second store path.
3. the method for claim 1, wherein
It obtains in mobile memory card with having the first store path and mobile terminal of the file of same type in mobile terminal In same type file the second store path the step of by scanning and memory mobile terminal file system information, Then the information of storage is compared to obtain the first store path and the second store path.
4. method as claimed in claim 2 or claim 3,
Wherein, by obtaining the store path of the mobile memory card corresponding to different mobile phone models according to mobile phone model.
5. the method for claim 1, wherein step (2) further includes:To the file in file according to file or file The creation time of folder carries out similarity mode.
6. the method for claim 1, wherein step (2) further includes:To the file in file according to the title of file Carry out similarity mode.
7. one kind is used for the matched device of file path, including:
Acquisition module, obtain mobile memory card in in mobile terminal have same type file the first store path and Second store path of the file of the same type in mobile terminal;
First store path is revised as the second store path by modified module,
Wherein, modified module carries out path to the order of the keyword in the first store path and the second store path and keyword Similarity mode carries out similarity mode to obtain the second phase to obtain the first similarity value, to the form of the file in file Like angle value, total similarity for the first weights and the first similarity value product and the product of the second weights and the second similarity value it With, by total similarity compared with the threshold value set after the first store path is revised as the second store path.
8. device as claimed in claim 7, wherein, acquisition module is by scanning and comparing the letter of the file system of mobile terminal It ceases to obtain the first store path and the second store path.
9. device as claimed in claim 7, wherein, acquisition module obtains identical with having in mobile terminal in mobile memory card The step of second store path of the file of the same type in the first store path and mobile terminal of the file of type, leads to The information of the simultaneously file system of memory mobile terminal is over-scanned, is then compared to the information of storage to obtain the first storage road Footpath and the second store path.
10. device as claimed in claim 8 or 9, wherein, acquisition module to obtain according to mobile phone model by corresponding to difference The store path of the mobile memory card of mobile phone model.
11. device as claimed in claim 7, wherein, modified module is to the file in file according to file or folder Creation time carries out similarity mode.
12. device as claimed in claim 7, wherein, modified module carries out the file in file according to the title of file Similarity mode.
CN201410005851.5A 2014-01-06 2014-01-06 The matched method of file path and its device Active CN104331342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410005851.5A CN104331342B (en) 2014-01-06 2014-01-06 The matched method of file path and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410005851.5A CN104331342B (en) 2014-01-06 2014-01-06 The matched method of file path and its device

Publications (2)

Publication Number Publication Date
CN104331342A CN104331342A (en) 2015-02-04
CN104331342B true CN104331342B (en) 2018-06-01

Family

ID=52406074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410005851.5A Active CN104331342B (en) 2014-01-06 2014-01-06 The matched method of file path and its device

Country Status (1)

Country Link
CN (1) CN104331342B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991729B (en) * 2015-02-12 2019-12-31 Oppo广东移动通信有限公司 Installation package downloading method and server
CN106250065A (en) * 2016-08-22 2016-12-21 贵州万臻时代通讯技术有限公司 A kind of store path management method and device
CN110019033A (en) * 2017-09-21 2019-07-16 北京金山安全软件有限公司 Junk feature acquisition method and device, server and readable storage medium
CN108182181B (en) * 2018-02-01 2021-03-26 中国人民解放军国防科技大学 Repeated detection method for mass contribution merging request based on mixed similarity
CN109327644B (en) * 2018-09-06 2020-06-12 北京数科网维技术有限责任公司 Encryption scanning method and encryption scanning system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055576A (en) * 2006-04-14 2007-10-17 英保达股份有限公司 System and method for automatically uploading and classifying file
CN101165689A (en) * 2006-10-16 2008-04-23 佳能株式会社 File management apparatus and method for controlling file management apparatus,
CN102479232A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 File classification method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100778764B1 (en) * 2006-08-02 2007-11-27 삼성전자주식회사 Method and apparatus for automatic classification of file in mobile device
CN102495880B (en) * 2011-12-05 2015-06-10 北京新媒传信科技有限公司 Method and device for synchronizing file
CN103116456B (en) * 2013-01-31 2015-12-23 北京奇虎科技有限公司 Realize apparatus and method and the intelligent terminal of file merging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055576A (en) * 2006-04-14 2007-10-17 英保达股份有限公司 System and method for automatically uploading and classifying file
CN101165689A (en) * 2006-10-16 2008-04-23 佳能株式会社 File management apparatus and method for controlling file management apparatus,
CN102479232A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 File classification method

Also Published As

Publication number Publication date
CN104331342A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
US9805086B2 (en) Consolidating information relating to duplicate images
CN104331342B (en) The matched method of file path and its device
CA2628946C (en) Methods for characterizing content item groups
CN102722487B (en) File management method and device
GB2507036A (en) Content prioritization
US20090192998A1 (en) System and method for deduced meta tags for electronic media
CN105760483B (en) The preservation of multimedia file and its search method and system
US8897556B2 (en) Photo chapters organization
US9378768B2 (en) Methods and systems for media file management
CN103136348A (en) File display method and device
CN102984390A (en) Cellphone shooting management method and shooting cellphone
CN105677731A (en) Method, device, terminal and server for displaying picture previews
KR101523971B1 (en) Terminal executing function of voice recording and method for processing image thereof
CN105282626A (en) Video sharing application-based video file processing method and device
US11429660B2 (en) Photo processing method, device and computer equipment
CN105760357A (en) Method, device and system for automatically generating diary
CN103136264A (en) Accessory inquiring method and user terminal
US20100092157A1 (en) Moving image recording method and information processing device
CN107391100A (en) A kind of configuration file generation method and device for supporting multilingual bill
KR100680209B1 (en) Mobile communication terminal enable to manage of data for tag and its operating method
US11016938B2 (en) Consolidating information relating to duplicate images
CN102063444A (en) Method and device for previewing file contents
JP2010257266A (en) Content output system, server device, device, method, and program for outputting content, and recording medium storing the content output program
CN104951388B (en) A kind of method and device for showing folder information
CN112040329B (en) Method for dynamically processing and playing multimedia content and multimedia playing 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
GR01 Patent grant
GR01 Patent grant