CN104331342A - Method for file path matching and the device thereof - Google Patents

Method for file path matching and the device thereof Download PDF

Info

Publication number
CN104331342A
CN104331342A CN201410005851.5A CN201410005851A CN104331342A CN 104331342 A CN104331342 A CN 104331342A CN 201410005851 A CN201410005851 A CN 201410005851A CN 104331342 A CN104331342 A CN 104331342A
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.)
Granted
Application number
CN201410005851.5A
Other languages
Chinese (zh)
Other versions
CN104331342B (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 invention provides a method and a device for file path matching, the method comprising: obtaining a first storage path having the same type of file as that in the mobile terminal in a mobile storage card and a second storage path of the same type of file in the mobile terminal; and modifying the first storage path into the second storage path. The storage space in the mobile storage device can be sorted by the method quickly and efficiently, and a user can conveniently obtain required files.

Description

The method of file path coupling and device thereof
Technical field
The present invention relates to a kind of mobile terminal to mate with the file path of mobile memory card, more particularly, relate to a kind of method and apparatus for file path coupling.
Background technology
Along with enriching of mobile terminal (such as mobile phone) function, present mobile terminal can provide increasing information to us, and these information are stored in flash memory device all in the form of a file.The space of current flash memory device is comparatively large, both can be stored in the internal memory of mobile terminal, also can be stored in outside memory storage (such as SD card), while meeting user's use, there are some inconvenience.Such as when user's storage file time, often conveniently arbitrarily store, and when will go to find, find very trouble, often can not find; When user changes mobile phone time, when being changed on another mobile phone by SD card, the file of acquiescence has been subsequently supplied again one time.If user manually carries out arrangement can bring very large workload, especially when mobile terminal employs for a long time, a lot of file needs to arrange, and Manual arranging not only bothers but also easily makes mistakes.
Therefore, a kind of method that user can be facilitated to arrange file is needed.
Summary of the invention
The object of the invention is to solve the problems of the technologies described above, therefore, an aspect of of the present present invention provides a kind of method and apparatus for file path coupling.
To achieve these goals, provide a kind of method for file path coupling, can comprise the following steps: obtain the second store path with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card; First store path is revised as the second store path.
Preferably, by scan and the information comparing the file system of mobile terminal obtains the first store path and the second store path.
Preferably, obtaining in mobile memory card with the step of the second store path of the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal by scan the information of the file system of also memory mobile terminal, the information of storage being compared obtain the first store path and the second store path subsequently.
Preferably, by obtaining the store path of the mobile memory card corresponding to different mobile phone model according to mobile phone model.
Preferably, the step the first store path being revised as the second store path can also comprise: carry out similarity of paths coupling to the order of the key word in the first store path and the second store path and key word.
Preferably, the step the first store path being revised as the second store path can also comprise: carry out similarity mode to the form of the file in file.
Preferably, similarity of paths coupling can be carried out to obtain the first Similarity value to the order of the key word in the first store path and the second store path and key word, 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, after the threshold value of total similarity and setting being compared, the first store path is revised as the second store path.
Preferably, the step the first store path being revised as the second store path can also comprise: carry out similarity mode to the file in file according to the creation-time of file or folder.
Preferably, the step the first store path being revised as the second store path can also comprise: carry out similarity mode to the file in file according to the title of file.
To achieve these goals, propose a kind of device for file path coupling, can comprise: acquisition module, obtain the second store path with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card; Modified module, is revised as the second store path by the first store path.
Preferably, acquisition module is by scan and the information comparing the file system of mobile terminal obtains the first store path and the second store path.
Preferably, acquisition module to obtain in mobile memory card with the step of the second store path of the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal by scan the information of the file system of also memory mobile terminal, the information of storage is compared subsequently and obtains the first store path and the second store path.
Preferably, acquisition module is by obtaining the store path of the mobile memory card corresponding to different mobile phone model according to mobile phone model.
Preferably, modified module can carry out similarity of paths coupling to the order of the key word in the first store path and the second store path and key word.
Preferably, modified module can carry out similarity mode to the form of the file in file.
Preferably, similarity of paths coupling can be carried out to obtain the first Similarity value to the order of the key word in the first store path and the second store path and key word, 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, after the threshold value of total similarity and setting being compared, the first store path is revised as the second store path.
Preferably, modified module can carry out similarity mode to the file in file according to the creation-time of file or folder.
Preferably, modified module can carry out similarity mode to the file in file according to the title of file.
The above-mentioned method and apparatus for file path coupling, by carrying out Intelligent Matching to mobile storage path, Intelligent Matching is carried out according to the key word in path, file layout and similarity, unified default path, the file or folder of identical type is carried out arrangement to sort out, storage space is arranged effective and rapidly, facilitate user to the reading of file and use.
Accompanying drawing explanation
By the description carried out exemplary embodiment of the present invention below in conjunction with accompanying drawing, above and other object of the present invention and feature will become apparent, wherein:
Fig. 1 is according to an exemplary embodiment of the present invention for the process flow diagram of the method for file path coupling;
Fig. 2 is the schematic diagram of photo/video store path in the SD card that the acquiescence of mobile phone A in example 1 is shown;
Fig. 3 is the schematic diagram of photo/video store path in the SD card that the acquiescence of mobile phone B in example 1 is shown;
Fig. 4 illustrates that in example 1, SD card changes to the schematic diagram of the photo/video store path mobile phone B from mobile phone A;
Fig. 5 is the schematic diagram that mobile phone path Intelligent Matching (1) in example 1 is shown;
Fig. 6 is the schematic diagram that mobile phone path Intelligent Matching (2) in example 1 is shown;
Fig. 7 is the schematic diagram of the data cases of the SD card that mobile terminal in example 3 is shown;
Fig. 8 is the schematic diagram that the data cases (1) that mobile phone stores in example 3 is shown;
Fig. 9 is the schematic diagram that the data cases (2) that mobile phone stores in example 3 is shown;
Figure 10 is the schematic diagram that the effect stored to mobile phone by the data batchmove on the SD card of mobile terminal in example 3 is shown;
Figure 11 illustrates the schematic diagram of mobile phone storage area data batchmove to the effect on the SD card of mobile terminal in example 4;
Figure 12 be originating mobile terminal in example 4 is shown SD card on the schematic diagram of Sounds situation;
Figure 13 illustrates that in example 4, original mobile phone stores the schematic diagram of upper Sounds situation;
Figure 14 is the schematic diagram of the Sounds situation illustrated in example 4 after the Intelligent Matching of path;
Figure 15 is according to an exemplary embodiment of the present invention for the block diagram of the flash memory device of file path coupling.
Embodiment
Below, embodiments of the invention are described in detail with reference to accompanying drawing.
Generally speaking, the method for file path coupling according to the present invention comprises the following steps: obtain the second store path with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card; First store path is revised as the second store path.
Below in conjunction with specific embodiments of the invention, the method for file path coupling of the present invention is described in detail.
Fig. 1 is according to an exemplary embodiment of the present invention for the process flow diagram of the method for file path coupling.
As shown in Figure 1, start to start path Intelligent Matching in step S1.
Open path Intelligent Matching to realize by two kinds of modes, i.e. manual mode and automatic mode.
Such as, can start path Intelligent Matching according to the input of user, then this corresponds to the situation selecting manual mode.In addition, such as, can start path Intelligent Matching according to scheduled event, this corresponds to the situation of automatic mode.
Described scheduled event such as, when mobile terminal or the change of mobile memory card generation store path, such as, is changed SD card, the data on SD card is stored into and is stored in mobile phone, by the data in mobile phone on SD card or like this in mobile phone.
In the mode of step S2 selecting paths Intelligent Matching process and the second store path obtained with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card.
Should be appreciated that, such as, the mode of selecting paths Intelligent Matching process in step S2 can be selected according to the input of user or arrange according to system default to select.
Step S3 performs default path 100% matching way to carry out route matching.Except default path 100% matching way, also there is intelligent fuzzy coupling, intelligent fuzzy coupling such as can comprise the non-100% coupling S4 of default path, All Paths mates S5, mobile terminal storage mates S6, self-defined route matching S7 with mobile memory card storage backup.Should be appreciated that, the understanding that the example just enumerating several intelligent fuzzy coupling is here mated intelligent fuzzy to help reader, but not limitation of the present invention.
The above-mentioned selection to path matching way is mainly used for the scope arranging route matching.
Such as, default path 100% matching way refers to and such as mates the path that mobile terminal storage (such as mobile phone storage) and mobile memory card storage (the SD card of such as mobile terminal stores) acquiescence generate.Take be mobile terminal (such as mobile phone) model coupling, carry out 100% coupling, this mode mainly for blank SD card or external storage SD replacing mobile phone time process.
Non-100% coupling of default path refers to that mobile terminal stores path that (such as mobile phone storage) and mobile memory card store (the SD card of such as mobile terminal stores) acquiescence generation and carries out non-100% and mate, such as, in different mobile phone, change SD card carry out route matching.
All Paths coupling refers to mates the All Paths of mobile terminal storage (such as mobile phone storage) and mobile memory card storage (the SD card of such as mobile terminal stores); Mobile terminal store to mate with mobile memory card storage backup refer to mobile terminal stored and mobile memory card storage backs up time matching way; Self-defined route matching refers to the matching way in the path selecting some particular path and needs coupling to retain by user.
For above-mentioned route matching mode, obtaining the mode of store path has two kinds: first kind of way is the mode that scanning limit, limit is compared, namely by scan and the information comparing the file system of mobile terminal obtains the first store path and the second store path.Carry out scanning document by system call, the essential information of file system can be obtained, comprise directory entry at different levels, filename, the association attributes etc. of file.In addition, the execution of first kind of way is different according to the mode of path Intelligent Matching process selected and the difference of matched rule.Such as, if optional m igration terminal storage is mated with mobile memory card storage backup and carried out similarity of paths coupling to the key word in path and order, that scanning acquisition approach key word and order just, are equally more also like this.If matched rule is such as creation-time, so scans and compare creation-time.
The second way first sets up by file mode the file path structure that mobile terminal stores (such as mobile phone storage) and mobile memory card storage (the SD card of such as mobile terminal stores), and regularly or according to file structure change upgrade, namely by scanning and the information of the file system of memory mobile terminal, the information of storage being compared obtain the first store path and the second store path subsequently.The second way needs scanning document equally, and itself and first kind of way difference are, needs the essential information of the file system of acquisition to be stored in the file preset.Therefore, can find out that first kind of way does not need extra storage space to carry out storage file path structure, but the speed of matching treatment is comparatively slow, and the speed of second way matching treatment, but need to spend certain storage space.
Be described for the mode of above-mentioned path Intelligent Matching process respectively below.
Perform 100% default path matching way in step S3 and carry out route matching.
Stores the store path of (the SD card storage of such as mobile terminal) in step S3 by the model of scanning mobile terminal (such as mobile phone) mobile memory card obtained corresponding to different mobile terminal model.Such as, in mobile phone by the default path of the external SD card of main flow producer in the mode storage market of profile.Therefore only need know that the model of mobile phone just can learn the default storage path that the mobile memory card of this mobile terminal stores.
Then store path is revised in step S8.
In step S10, the store path of unified identical type file, is revised as the second store path by the first store path.
Below for when selecting all the other four kinds coupling path fashion, how execute file route matching is described in detail.
In step S9, first set path matching threshold PT, for determining final matching result together with matched rule.Then carry out Blur track coupling and revise store path.Finally judge the relation of similarity and threshold value, thus determine whether unified store path.
Specifically, first similarity of paths coupling is carried out to the order of the key word in store path and key word, then similarity mode is carried out to the form of the file in file.Carrying out similarity of paths to the order of the key word in store path and key word, to mate the Similarity value obtained be P1, carrying out to the form of the file in file the Similarity value that similarity mode obtains is P2, total similarity is the product of the first weights and P1 and the sum of products of the second weights and P2, the route matching threshold value PT of total similarity and setting is compared rear amendment store path, is revised as the second store path by the first store path.
In order to concrete illustrative step S4, be specifically described below with cell phone pictures/video path illustrative example 1, this example is the situation of non-100% coupling.
In mobile phone A, in the SD card of acquiescence, photo/video store path as shown in Figure 2.Its store path in mobile phone A of rectangle frame display, its fullpath is :/storage/extSdCard/DCIM/100ANDRO (path 1) (this path 1 directly can obtain according to the model of mobile phone A), 4 files are had in path 1, wherein file layout is two files of 3gp is video file, and file layout is two files of jpg is photo files (these files obtain by scanning).
In mobile phone B, in the SD card of acquiescence, photo/video store path as shown in Figure 3.Its store path in mobile phone B of rectangle frame display, its fullpath is :/storage/extSdCard/DCIM/Camera (path 2) (this path 2 directly can obtain according to the model of mobile phone B), 4 files are had in path 2, wherein file layout is two files of mp4 is video file, and file layout is two files of jpg is photo files (these files obtain by scanning).Generally, the SD card in mobile phone A is changed in mobile phone B, two paths storage picture/videos will be there are, as shown in Figure 4.
Two paths are: path 1:/storage/extSdCard/DCIM/100ANDRO; Path 2:/storage/extSdCard/DCIM/Camera.That is, same storage picture/video, under but having left now two paths in, if it is different that other mobile phone default path catches up with face two paths, changed to by SD card on other mobile phone, can produce more path again, such processing mode is very unreasonable.
Therefore, and according to the intelligent route matching mode of the embodiment of the present invention, in step S9 according to Blur track coupling amendment store path.Specifically, first conventional path keyword is carried out adding up and classified and stored.Assuming that same sequence and same keyword 100%, same sequence and close key word 75%.Path 1:/storage/extSdCard/DCIM/100ANDRO; Path 2:/storage/extSdCard/DCIM/Camera, respectively there are 4 subpaths in path 1 and path 2.Therefore by comparing the photo/video default path finding SD card in path 1 (/storage/extSdCard/DCIM/100ANDRO) and mobile phone B, namely be that path 2 (/storage/extSdCard/DCIM/Camera) similarity is very high, wherein common path/storage/extSdCard/DCIM, different paths is 100ANDRO and Camera, their orders are identical, they name difference, but they are close at the keyword of statistics, can obtain key word Similarity value P1=(the 1+1+1+0.75)/4=0.9375 in outbound path 1 and path 2 according to supposition.In addition illustratively the difference of order on the impact of coupling: such as/storage/extSdCard/sdcard0 and/storage/sdcard0/extSdCard can difference very large.
Assuming that same file form 100%, close file layout 75%.File layout in path 1 has two kinds, is respectively 3gp and jpg, and the file layout in path 2 has two kinds, is respectively mp4 and jpg.File layout Similarity value P2=(the 1+0.75)/2=0.875 in outbound path 1 and path 2 can be obtained according to supposition.Total similarity P=W1*P1+W2*P2.Wherein W1 and W2 is weighted value, extreme case, is only as the criterion with key word Similarity value, W1=1, W2=0, P_1=W1*P1=0.9375; Only Similarity value is as the criterion as a file format, W1=0, W2=1, P_2=W2*P2=0.875.Consider the factor of two aspects, select moderate value.Work as W1=0.5, during W2=0.5, P_3=W1*P1+W2*P2=0.90625.
Subsequently, route matching process, if the value of total similarity P is higher than threshold value PT, then carries out route matching process: amendment needs path to be processed, by Piece file mergence; If the value of total similarity P, lower than threshold value PT, is thought that path is not mated, is not processed.Such as, when PT value is set to 0.9, can show that P_1 and P_3 is greater than the threshold value PT of setting, route matching process can be carried out and P_2, owing to being less than the threshold value PT of setting, can not route matching process be carried out.Such as, by being modified in above path 1 into/storage/extSdCard/DCIM/Camera, as shown in Figure 5.
Finally, in step S10, the store path of unified identical type file, is revised as the second store path (such as shown in Figure 6 path 2 being revised as in path 1) by the first store path.
In step s 9, route matching is except carrying out similarity of paths coupling to the key word in path and order and carry out except similarity mode to the file layout in file, other mode can also be adopted: according to the creation-time of file or folder, similarity mode is carried out to the file in file, be applicable to the user higher to requirement of real-time; According to the title of file, similarity mode is carried out to the file in file, such as user wants several archives of 20130725 these days, and he has a name custom, the form of * 20130725*.* can be named at each file of that day, by this mode, be easy to the archive that will need.
Concrete example explanation is carried out to all the other three kinds of mode S5 to S7 below.
For All Paths coupling S5.All Paths matching way refers to and mates all paths of mobile terminal storage (such as mobile phone storage) and mobile memory card storage (the SD card of such as mobile terminal stores).Applicating example is carried out for mobile phone, which path is retained if not selected, just adopt and retain mode at random, such as described in example 2: be all store video files in path/storage/extSdCard/photo ,/storage/extSdCard/photo1, when the match is successful, or retain "/storage/extSdCard/photo ", or retain "/storage/extSdCard/photo1 ", this can be selected by user.Should be appreciated that, All Paths matching way carrys out realizing route coupling by set path matching threshold PT equally, its process and foregoing similar, therefore do not repeat them here, the difference of itself and above-mentioned example is, owing to not relating to the file layout in path here, therefore Similarity value P2 can not be calculated.Mobile terminal stores and mate S6 with mobile memory card storage backup and illustrate in mobile phone and be described as follows, and when mobile memory card appearance exception or when must remove from mobile phone, needs the data Replica on mobile memory card in mobile phone storage; When needs carry out data scrubbing to mobile phone, partial data is that user needs to retain, and needs these data Replicas in mobile memory card.(a) and (b) two aspects are divided into illustrate.
A data Replica on mobile memory card stores to mobile phone by () in
In example 3, Fig. 7 is the data cases that mobile memory card stores (the SD card of such as mobile terminal stores), as can be seen from Figure 7 mobile memory card store path is :/storage/extSdCard, there are three files under this path, are respectively: Sounds, DCIM and LOST.DIR.Fig. 8 and Fig. 9 is the data cases that mobile phone stores, and as can be seen from the figure mobile memory card store path is :/storage/sdcard0, also contains Sounds, DCIM and LOST.DIR file under this path, as rectangle frame mark in Fig. 9 and Figure 10.Figure 10 is by design sketch that the data batchmove on mobile memory card stores to mobile phone in prior art, as can be seen from the figure, store Sounds, DCIM and LOST.DIR of same file, when transferring in mobile phone storage, Sounds (1), DCIM (1) and LOST.DIR (1) are re-created.
And Blur track mates according to an embodiment of the invention, can by/storage/extSdCard/Sounds ,/storage/extSdCard/DCIM and/storage/extSdCard/LOST.DIR be modified as/storage/sdcard0/Sounds ,/storage/sdcard0/DCIM and/storage/sdcard0/LOST.DIR, by mobile memory card store data with mobile phone store data merge accordingly.
(b) by mobile phone store in data Replica on mobile memory card
Such as example 4 needs to retain Music, DCIM and the Sounds in mobile phone storage, can produce the path corresponding with (a), repeat no more here.
For example 4, adopt the Intelligent Matching process of mobile phone path, can obtain as Figure 11 design sketch.If mobile phone stores and mobile memory card stores and exists when mating path, the respective paths that mobile phone stores is modified, mobile phone is stored the data stored with mobile memory card merge, if there is no the situation of route matching, will generate corresponding store path target location (referring in this example in mobile memory card).
Utilize the result of Sounds to illustrate that mobile phone stores the data merging treatment stored with mobile memory card further, Figure 12 and Figure 13 is original case, and Figure 14 is the situation after process.Can be found by contrast, originally be /storage/sdcard0/Sounds path under two files: " voice 001.m4a " and " voice 002.m4a ", after process, be merged into/storage/extSdCard/Sounds path under, owing to there being the file of called after " voice 001.m4a " and " voice 002.m4a " in original/storage/extSdCard/Sounds path, so " voice 001.m4a " and " voice 002.m4a " Piece file mergence in mobile phone storage is in mobile memory card storage, " voice 001.m4a " and " voice 002.m4a " name is revised, called after " voice 001 (1) .m4a " and " voice 002.m4a (2) ".
Self-defined route matching S7 illustrative example 5 is as follows, certain user to select under SD card/storage/extSdCard/photo, / storage/extSdCard/photo1, / storage/extSdCard/photo2 and/storage/extSdCard/photo3, video file is wherein matched/storage/extSdCard/photo under, wherein, " user selects some particular path " refers to "/storage/extSdCard/photo, / storage/extSdCard/photo1, / storage/extSdCard/photo2 and/storage/extSdCard/photo3 ", " need the path that coupling retains " to refer to "/storage/extSdCard/photo ".
Figure 15 is according to an exemplary embodiment of the present invention for the block diagram of the device of file path coupling.
As shown in figure 15, the flash memory device for file path coupling comprises acquisition module 100 and modified module 200.
Acquisition module 100 is for obtaining the second store path with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card;
Modified module 200 is for being revised as the second store path by the first store path.
Acquisition module 100 is by scan and the information comparing the file system of mobile terminal obtains the first store path and the second store path, or acquisition module 100 to obtain in mobile memory card with the step of the second store path of the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal by scanning and the information of the file system of memory mobile terminal, subsequently the information of storage is compared and obtain the first store path and the second store path, or acquisition module 100 is by obtaining the store path of the external memory card corresponding to different mobile phone model according to mobile phone model.
The order of modified module 200 to the key word in the first store path and the second store path and key word carries out similarity of paths coupling.Such as, modified module 200 is by carrying out similarity mode to revise store path to the form of the file in file.Similarity of paths coupling is carried out to obtain the first Similarity value to the order of the key word in the first store path and the second store path and key word, 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, after the threshold value of total similarity and setting being compared, the first store path is revised as the second store path.In addition, modified module 200 revises store path by carrying out similarity mode to the file in file according to the creation-time of file or folder.Modified module 200 also revises store path by carrying out similarity mode to the file in file according to the title of file.
Should be appreciated that, the device according to an exemplary embodiment of the present invention for file path coupling can perform above method of mating referring to figs. 1 through the file path of Figure 14 description, in order to avoid repeating, does not repeat them here.
The above-mentioned method and apparatus for file path coupling, by carrying out Intelligent Matching to mobile storage path, Intelligent Matching is carried out according to the key word in path, file layout and similarity, unified default path, the file or folder of identical type is carried out arrangement to sort out, storage space is arranged effective and rapidly, facilitate user to the reading of file and use.
Describe the present invention in conjunction with specific embodiments above, but enforcement of the present invention is not limited thereto.Within the spirit and scope of the present invention, those skilled in the art can carry out various modifications and variations, these amendment and modification by fall into claim restriction protection domain within.

Claims (18)

1., for a method for file path coupling, comprise the following steps:
(1) the second store path with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card is obtained;
(2) the first store path is revised as the second store path.
2. the method for claim 1, wherein by scan and the information comparing the file system of mobile terminal obtains the first store path and the second store path.
3. the method for claim 1, wherein
Obtaining in mobile memory card with the step of the second store path of the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal by scan the information of the file system of also memory mobile terminal, the information of storage being compared obtain the first store path and the second store path subsequently.
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 model according to mobile phone model.
5. the method for claim 1, wherein step (2) also comprises: carry out similarity of paths coupling to the order of the key word in the first store path and the second store path and key word.
6. method as claimed in claim 5, wherein, step (2) also comprises: carry out similarity mode to the form of the file in file.
7. method as claimed in claim 6, wherein, similarity of paths coupling is carried out to obtain the first Similarity value to the order of the key word in the first store path and the second store path and key word, 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, after the threshold value of total similarity and setting being compared, the first store path is revised as the second store path.
8. the method for claim 1, wherein step (2) also comprises: carry out similarity mode to the file in file according to the creation-time of file or folder.
9. the method for claim 1, wherein step (2) also comprises: carry out similarity mode to the file in file according to the title of file.
10., for a device for file path coupling, comprising:
Acquisition module, obtains the second store path with the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal in mobile memory card;
Modified module, is revised as the second store path by the first store path.
11. devices as claimed in claim 10, wherein, acquisition module is by scan and the information comparing the file system of mobile terminal obtains the first store path and the second store path.
12. devices as claimed in claim 10, wherein, acquisition module to obtain in mobile memory card with the step of the second store path of the file of the identical type had in mobile terminal in first store path of file of identical type and mobile terminal by scan the information of the file system of also memory mobile terminal, the information of storage is compared subsequently and obtains the first store path and the second store path.
13. devices as described in claim 12 or 13, wherein, acquisition module is by obtaining the store path of the mobile memory card corresponding to different mobile phone model according to mobile phone model.
14. devices as claimed in claim 11, wherein, the order of modified module to the key word in the first store path and the second store path and key word carries out similarity of paths coupling.
15. devices as claimed in claim 14, wherein, modified module carries out similarity mode to the form of the file in file.
16. devices as claimed in claim 15, wherein, similarity of paths coupling is carried out to obtain the first Similarity value to the order of the key word in the first store path and the second store path and key word, 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, after the threshold value of total similarity and setting being compared, the first store path is revised as the second store path.
17. devices as claimed in claim 10, wherein, modified module carries out similarity mode to the file in file according to the creation-time of file or folder.
18. devices as claimed in claim 10, wherein, modified module carries out similarity mode to the file in file according to the title of file.
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 true CN104331342A (en) 2015-02-04
CN104331342B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991729A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Installation package downloading method and server
CN106250065A (en) * 2016-08-22 2016-12-21 贵州万臻时代通讯技术有限公司 A kind of store path management method and device
CN108182181A (en) * 2018-02-01 2018-06-19 中国人民解放军国防科技大学 Repeated detection method for mass contribution merging request based on mixed similarity
CN109327644A (en) * 2018-09-06 2019-02-12 深圳市南硕明泰科技有限公司 A kind of encryption scan method and encryption scanning system
WO2019056754A1 (en) * 2017-09-21 2019-03-28 北京金山安全软件有限公司 Junk feature acquisition method, apparatus, server and readable storage medium

Citations (6)

* 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
CN101119555A (en) * 2006-08-02 2008-02-06 三星电子株式会社 Method and apparatus for automatic classification of file in mobile device
US20080091749A1 (en) * 2006-10-16 2008-04-17 Canon Kabushiki Kaisha File management apparatus, method for controlling file management apparatus, computer program, and storage medium
CN102479232A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 File classification method
CN102495880A (en) * 2011-12-05 2012-06-13 北京新媒传信科技有限公司 Method and device for synchronizing file
CN103116456A (en) * 2013-01-31 2013-05-22 北京奇虎科技有限公司 Device and method for achieving folder merging and intelligent terminal

Patent Citations (7)

* 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
CN101119555A (en) * 2006-08-02 2008-02-06 三星电子株式会社 Method and apparatus for automatic classification of file in mobile device
US20080091749A1 (en) * 2006-10-16 2008-04-17 Canon Kabushiki Kaisha File management apparatus, method for controlling file management apparatus, computer program, and storage medium
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
CN102495880A (en) * 2011-12-05 2012-06-13 北京新媒传信科技有限公司 Method and device for synchronizing file
CN103116456A (en) * 2013-01-31 2013-05-22 北京奇虎科技有限公司 Device and method for achieving folder merging and intelligent terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991729A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Installation package downloading method and server
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
WO2019056754A1 (en) * 2017-09-21 2019-03-28 北京金山安全软件有限公司 Junk feature acquisition method, apparatus, server and readable storage medium
CN108182181A (en) * 2018-02-01 2018-06-19 中国人民解放军国防科技大学 Repeated detection method for mass contribution merging request based on mixed similarity
CN108182181B (en) * 2018-02-01 2021-03-26 中国人民解放军国防科技大学 Repeated detection method for mass contribution merging request based on mixed similarity
CN109327644A (en) * 2018-09-06 2019-02-12 深圳市南硕明泰科技有限公司 A kind of encryption scan method and encryption scanning system

Also Published As

Publication number Publication date
CN104331342B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
US9928242B2 (en) Managing the content of shared slide presentations
US8036432B2 (en) System and method of saving digital content classified by person-based clustering
WO2017129018A1 (en) Picture processing method and apparatus, and smart terminal
US8935322B1 (en) Methods and systems for improved uploading of media files for use in media-rich projects
CN102576373B (en) Content management device, contents management method, content supervisor and integrated circuit
CN104331342A (en) Method for file path matching and the device thereof
CN102982568B (en) Method and device for automatically cutting image
US10972254B2 (en) Blockchain content reconstitution facilitation systems and methods
CN104850848A (en) Picture classification method and apparatus
CN102722428A (en) Address book backup and recovery method and address book backup and recovery device
CN101751404A (en) Classification method of multimedia files
CN107748780B (en) Recovery method and device for file of recycle bin
CN103455642A (en) Method and device for multi-media file retrieval
CN109522405A (en) File information processing method, electronic equipment and computer-readable deposit medium
CN102542043A (en) Image annotation method and device
CN105354510A (en) Photo naming method and naming system
US10885619B2 (en) Context-based imagery selection
CN103136264A (en) Accessory inquiring method and user terminal
CN103995706A (en) Method and device for displaying picture thumbnail
CN105760357A (en) Method, device and system for automatically generating diary
US11429660B2 (en) Photo processing method, device and computer equipment
US9465521B1 (en) Event based media interface
CN106802812A (en) A kind of method of load document, device and electronic equipment
US20140181143A1 (en) File presentation method and apparatus
CN105468772A (en) Picture searching method applied at mobile terminal and mobile terminal

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