CN103312826B - The method of file synchronization, device, client, server end and equipment - Google Patents

The method of file synchronization, device, client, server end and equipment Download PDF

Info

Publication number
CN103312826B
CN103312826B CN201310294315.7A CN201310294315A CN103312826B CN 103312826 B CN103312826 B CN 103312826B CN 201310294315 A CN201310294315 A CN 201310294315A CN 103312826 B CN103312826 B CN 103312826B
Authority
CN
China
Prior art keywords
synchronized
file
word
information
weight
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
CN201310294315.7A
Other languages
Chinese (zh)
Other versions
CN103312826A (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.)
Beijing Jin Bo Xunrui Network Technology Co. Ltd.
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201310294315.7A priority Critical patent/CN103312826B/en
Publication of CN103312826A publication Critical patent/CN103312826A/en
Application granted granted Critical
Publication of CN103312826B publication Critical patent/CN103312826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method of file synchronization, device, client, server end and equipment, methods described includes:Obtain listed files to be synchronized, described list to be synchronized includes file to be synchronized;Count and preserve the important word information included in each file name to be synchronized;File to be synchronized in described listed files to be synchronized is identified according to statistical information, obtains the first identification information, described first identification information is the weighted value representing each file significance level to be synchronized;According to described first identification information, each file to be synchronized in described list to be synchronized is ranked up, obtains the transmission sequence of each file to be synchronized;According to the transmission sequence of each file to be synchronized in described list to be synchronized, execute file synchronization operation.The application present invention, can generate list to be synchronized according to the significance level of file, so that vital document, by priority synchronization, had both improve whole work efficiency, reduce the loss risk of vital document again.

Description

The method of file synchronization, device, client, server end and equipment
Technical field
The present invention relates to file synchronization technical field, particularly to the method for file synchronization, device, client, server End and equipment.
Background technology
With the development of cloud storage system technology, a lot of terminal units are had to access cloud storage system.So-called terminal unit bag Include notebook computer, desktop computer, MP4, TV, panel computer(Pad), mobile communication equipment(Various smart mobile phones)Deng.
The various synchronous Dropbox product that prior art provides, can be same with the file in high in the clouds by the various terminal equipment of user Step server is connected, and to help user to realize the file-sharing on each terminal unit and management.So-called synchronous Dropbox, such as fast disk Board(Trade mark)Dropbox, generally provides the work(making identical file structure data be consistent between the multiple stage terminal unit of user Energy.
For example, user is in a certain terminal unit(As Office PC)File in local hard drive is entered edlin, movement, After the operation such as changing, replicate, deleting, renaming, active client can be ranked up according to the title of file after modification, according to sequence Result order afterwards is by the file synchronization services device of these amended file synchronization to high in the clouds.When needing high in the clouds file synchronization File synchronization on server is to the other-end equipment of this user(Computer as family)When, still according to file name order Execution simultaneously operating.
During execution prior art, inventor finds that prior art at least has problems with:When having compared with multifile When needing synchronous, can only put in order execution simultaneously operating according to file name, so, some unessential files may all be arranged Before list to be synchronized, and vital document need wait very long duration be just synchronized it is impossible to by vital document preferentially with Step, such as in certain file of multi-person synergy editor, the demand of this document priority synchronization is more urgent, otherwise will lead to overall coordination The work efficiency of work is low, and leads to the burden of server process synchronisation requirement;And, if certain vital document is compiled Collect frequent, when this document is located at the position after synchronous list relatively, vital document is once damage or loss, it is impossible to make up, increase The loss risk of vital document, impact synchronous documents lose the realization of purpose to prevent file.
Content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method of file synchronization, device, client, server end and sets Standby, by statistics file name containing primary word number, obtain file to be synchronized weight, with vital document is entered row major with Step, thus improving whole work efficiency, reduces the loss risk of vital document.
Embodiments provide a kind of method of file synchronization, described inclusion:
Obtain listed files to be synchronized, described list to be synchronized includes file to be synchronized;
Count and preserve the important word information included in each file name to be synchronized;
File to be synchronized in described listed files to be synchronized is identified according to statistical information, obtains the first identification information, institute Stating the first identification information is the weighted value representing each file significance level to be synchronized;
According to described first identification information, each file to be synchronized in described list to be synchronized is ranked up, obtains each The transmission sequence of individual file to be synchronized;
According to the transmission sequence of each file to be synchronized in described list to be synchronized, execute file synchronization operation.
Wherein, it is previously stored with keywords database in server end, in described keywords database, preserve the name of each primary word Claim, the corresponding important word parameter P of each primary word titlea, and first weight W corresponding with each primary word titlea';Described First weight Wa' for server end to the filename word segmentation processing of All Files after, count the number of times of each participle, according to weight Allocation strategy obtains the weight that this participle occurs relative to All Files name.
Wherein, the described step counting and preserving the important word information included in each file name to be synchronized includes:
Word segmentation processing is carried out by client to described file name to be synchronized, obtains some words, each participle is as one Primary word;
Client sends primary word information inquiring request, obtains each primary word from the response receiving The first corresponding weight Wa';The first weight W corresponding to each primary word describeda' as in each file name to be synchronized The important word information being comprised;
Included according to the step that statistical information identifies the file to be synchronized in described listed files to be synchronized:
The first weight W described in client applicationa' identify described listed files to be synchronized in file to be synchronized;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Wherein, also include in described keywords database:Second weight W corresponding with each primary word titlea' ', described second Weight Wa' ' treat the filename word segmentation processing of synchronous documents for client server after, count the appearance of each participle time Number, obtains, according to weight allocation strategy, the weight that this participle occurs relative to All Files name;
The first weight W when different files to be synchronizeda' identical when, according to statistical information mark described file to be synchronized row The step of the file to be synchronized in table includes:
The first weight W described in client applicationa' and the second weight Wa' ' identify treating in described listed files to be synchronized Synchronous documents;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa'+Wa' ',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Wherein, the described step counting and preserving the important word information included in each file name to be synchronized includes:
File name to be synchronized is obtained from each client by server end;
Described file name to be synchronized is carried out with word segmentation processing, obtains some words, each participle is as a primary word;
Some words after described participle are saved in keywords database as primary word, thus obtaining each file to be synchronized Important word information included in title;
Wherein, preserve the title of each primary word in this keywords database described, each primary word title is corresponding important Word parameter Pa, and first weight W corresponding with each primary word titlea'.
Wherein, the described step identifying the file to be synchronized in described listed files to be synchronized according to statistical information includes:
Described first weight W is applied by server enda' identify described listed files to be synchronized in file to be synchronized;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Wherein, included by the step that server end obtains file name to be synchronized from each client:
The file name to be synchronized of each client is obtained from list to be synchronized;Or,
From the file to be synchronized obtaining each client from the file name message to be synchronized of each client push Title;Or,
Send, to each client, the request obtaining title to be synchronized, obtain each client from the response of each client The file name to be synchronized at end.
Wherein, after the described important word information counting included in each file name to be synchronized, methods described also includes:
Count and preserve the peration data that described file to be synchronized is operated;
Identify the file to be synchronized in described listed files to be synchronized according to statistical information to include:Believed according to described primary word Breath and described peration data identify the file to be synchronized in described listed files to be synchronized.
Wherein, the weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent important word information Parameter is relative to the weight of the type parameter of certain peration data;PxRepresent the type parameter of certain peration data, WxRepresent this operation Data type parameters PxThe weight of relative all operations data type, x represents the number of type.
Wherein, described operation data type at least includes one of or combination in any:Compiled in predetermined amount of time Collect the frequency, multiple person cooperational processing information, browse fileinfo, file amount of change information, the number information that is opened, file genus Property information, active degree information, cumulative edit duration information.
The embodiment of the present invention additionally provides a kind of device of file synchronization, and described device includes:
List acquiring unit, for obtaining listed files to be synchronized, described list to be synchronized includes file to be synchronized;
Statistic unit, for counting and preserving the important word information included in each file name to be synchronized;
Mark unit, for identifying the file to be synchronized in described listed files to be synchronized according to statistical information, obtains the One identification information, described first identification information is the weighted value representing each file significance level to be synchronized;
Sequencing unit, for according to described first identification information, entering to each file to be synchronized in described list to be synchronized Row sequence, obtains the transmission sequence of each file to be synchronized;
Lock unit, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file same Step operation.
The embodiment of the present invention additionally provides a kind of server end, including:
List obtaining unit, for obtaining listed files to be synchronized, described list to be synchronized includes file to be synchronized;
First statistic unit, for counting and preserving the important word information included in each file name to be synchronized;
Mark unit, for identifying the file to be synchronized in described listed files to be synchronized according to statistical information, obtains the One identification information, described first identification information is the weighted value representing each file significance level to be synchronized;
Lock unit, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file same Step operation.
Wherein, described server end also includes:
Sequencing unit, for according to described first identification information, entering to each file to be synchronized in described list to be synchronized Row sequence, obtains ranking results, so that described lock unit executes file synchronization operation according to ranking results.
Wherein, described server end also includes:
Memory element, is used for being previously stored with keywords database, preserves the title of each primary word in described keywords database, The corresponding important word parameter P of each primary word titlea, and first weight W corresponding with each primary word titlea';Described One weight Wa' for server end to the filename word segmentation processing of All Files after, count the number of times of each participle, divided according to weight Join strategy and obtain the weight that this participle occurs relative to All Files name;
Described first identification information is that the weighted value representing each file significance level to be synchronized is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Wherein, described server end also includes:
Memory element, is used for being previously stored with keywords database, preserves the title of each primary word in described keywords database, The corresponding important word parameter P of each primary word titlea, and first weight W corresponding with each primary word titlea' and with every Corresponding second weight W of individual primary word titlea'';Described first weight Wa' it is the filename participle to All Files for the server end After process, count the number of times of each participle, the weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy; Described second weight Wa' ' treat the filename word segmentation processing of synchronous documents for client server after, count each participle The number of times occurring, obtains, according to weight allocation strategy, the weight that this participle occurs relative to All Files name;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa'+Wa' ',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Wherein, described server end also includes:
Second statistic unit, for counting and preserving the peration data that described file to be synchronized is operated;
Described mark unit, is additionally operable to identify treating in described listed files to be synchronized according to statistical information and peration data Synchronous documents.
Wherein, the weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent important word information Parameter is relative to the weight of the type parameter of certain peration data;PxRepresent the type parameter of certain peration data, WxRepresent this operation Data type parameters PxThe weight of relative all operations data type, x represents the number of type.
Wherein, described operation data type at least includes one of or combination in any:Compiled in predetermined amount of time Collect the frequency, multiple person cooperational processing information, browse fileinfo, file amount of change information, the number information that is opened, file genus Property information, active degree information, cumulative edit duration information.
The embodiment of the present invention additionally provides a kind of server apparatus, is provided with foregoing server end.
The embodiment of the present invention additionally provides a kind of client, and described client includes:
List obtaining unit, for obtaining listed files to be synchronized, described list to be synchronized includes file to be synchronized;
Mark unit, for be synchronized described in the primary word message identification according to included in each file name to be synchronized File to be synchronized in listed files, obtains the first identification information, described first identification information is to represent each file weight to be synchronized Want the weighted value of degree;
Transmission sequence obtaining unit, for obtaining the transmission sequence of each file to be synchronized;
Lock unit, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file same Step operation.
Wherein, described client also includes:
First statistic unit, for counting and preserving the important word information included in each file name to be synchronized.
Wherein, described first identification information is that the weighted value representing each file significance level to be synchronized is:
Wherein,
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Wherein, described client also includes:
Sequencing unit, for according to described first identification information, entering to each file to be synchronized in described list to be synchronized Row sequence, obtains ranking results, so that transmission sequence obtaining unit obtains the transmission sequence of each file to be synchronized.
Wherein, described client also includes:
Second statistic unit, for counting and preserving the peration data that described file to be synchronized is operated;
Described mark unit, is additionally operable to identify treating in described listed files to be synchronized according to statistical information and peration data Synchronous documents;
Wherein, the weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent important word information Parameter is relative to the weight of the type parameter of certain peration data;PxRepresent the type parameter of certain peration data, WxRepresent this operation Data type parameters PxThe weight of relative all operations data type, x represents the number of type.
Wherein, described operation data type at least includes one of or combination in any:Compiled in predetermined amount of time Collect the frequency, multiple person cooperational processing information, browse fileinfo, file amount of change information, the number information that is opened, file genus Property information, active degree information, cumulative edit duration information.
The embodiment of the present invention additionally provides a kind of terminal unit, is provided with foregoing client.
As seen from the above technical solutions, application the embodiment of the present invention provided synchronous method, device, client, clothes Business device end and equipment, after according to file generated to be synchronized list to be synchronized, included in each file name to be synchronized Important word information, the transmission sequence of each file to be synchronized in list to be synchronized can be adjusted, so that comprising The vital document of primary word can both have been improve whole work efficiency by priority synchronization, reduce the loss wind of vital document again Danger.
It is additionally, since and can timely adjust the order of file it is ensured that vital document is by priority synchronization, further increase Whole work efficiency, reduces the loss risk of vital document.
Further, can continue to not synchronous file according to the list to be synchronized of record after connection again of breaking in a network Continuous execution simultaneously operating, decreases the number of times of inter-net communication, reduces network load, save Internet resources further, improve whole Body synchronous efficiency.
Certainly, implement arbitrary product of the present invention or method it is not absolutely required to reach simultaneously all the above excellent Point.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of file synchronization according to embodiments of the present invention;
Fig. 2 is a kind of logical construction schematic diagram of file synchronizer according to embodiments of the present invention;
Fig. 3 is a kind of logical construction schematic diagram of server end according to embodiments of the present invention;
Fig. 4 is a kind of logical construction schematic diagram of client according to embodiments of the present invention;
Fig. 5 is the logical construction schematic diagram of another kind of client according to embodiments of the present invention;
Fig. 6 is the logical construction schematic diagram of another kind of server end according to embodiments of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Referring to Fig. 1, it is a kind of schematic flow sheet of file synchronization according to embodiments of the present invention, and the present embodiment was both permissible It is applied to client it is also possible to be applied to server end, specifically include:
Step 101, obtains listed files to be synchronized, comprises file to be synchronized in described list to be synchronized.
Here, file to be synchronized is derived from the All Files under assigned catalogue, the such as file under fast disk client controls The file of middle form of ownership and file.For current device(The such as hardware device such as PC, mobile device)For, when this refers to Determine the file under catalogue occur in interior perhaps structure any change after, the file after this variation can be transferred to another equipment, File after being changed with guarantee data under the assigned catalogue on all devices that this user is used is consistent completely, that is, refer to Determine file under catalogue and be in synchronous regime, be consistent at any time.
Specifically, user is in current device(Assume that this equipment is provided with client)The file content being done and file structure Modification, transmit upstream to server, and then downlink transfer be to the other equipment of user(This equipment is provided with client);Or will User is in other equipment(This equipment is provided with client)The uplink done is to the file content of server and file The modification of structure, downlink transfer to current device, the transmission of this up-downgoing is to ensure that this user in all devices (client End) all modifications to any file content and file structure that done are all in synchronous regime.
As an embodiment, if certain current device is fitted without client, but some way and clothes can be passed through Business device end keeps communication connection status, and such as two-dimensional code scanning mode is set up and connected it is also possible to realize technique scheme temporarily.
For example, by the interface of operating system, client determines that user enters destination folder(As stored literary composition in Dropbox The file of part, the file under that is, client controls), and changed the information in this destination folder;For example, Yong Hu Dropbox control under file in, certain file or folder newly-built, edit certain file, change certain file or folder Title or delete certain file or folder, have changed file or folder attribute etc., then the literary composition involved by this change Part or file are all files to be synchronized.
When the present embodiment is applied to client, this file to be synchronized can by client from local obtain it is also possible to by Client obtains from server, and the advantage being obtained file by client is to network, and saves bandwidth;Accordingly, when this enforcement Example is when being applied to server end, and this file to be synchronized can obtain it is also possible to by server from client by server from local Obtain, the advantage being obtained file by server end is that the file to be synchronized of all access devices can be carried out by server end as early as possible Collect, obtain file than client more overall and efficient.The application does not limit to the mode obtaining file to be synchronized. Obtain is local file to be synchronized from local, from server obtain be all devices accessing with server end treat with Step file.
Specifically, when the present embodiment is applied to client, can be by client according to local file generated to be synchronized List to be synchronized(Most preferred embodiment), advantage is to network, and saves bandwidth, collects locally file to be synchronized more efficient;Also may be used With the list to be synchronized from server direct access generation, relatively it is applied to the situation that server end counts file to be synchronized.? That is, listed files to be synchronized locally can obtain from client, or, obtain from server end.
Similar, when the present embodiment is applied to server, can by server according to server end count to be synchronized File generated list to be synchronized is it is also possible to list to be synchronized from client direct access generation.Generated by server end and treat The advantage of synchronous list is that the file to be synchronized of all access devices can be collected, than client by server end as early as possible Generate list to be synchronized more overall and efficient;In a word, the application does not limit to the concrete mode generating list to be synchronized. That is, listed files to be synchronized can obtain from client, or, locally obtain from server end.
The generation method of this generation list to be synchronized is identical with prior art, and I will not elaborate.
Step 102, counts and preserves the important word information included in each file name to be synchronized.
Important word information included in file name to be synchronized refers to, such as include " password ", " association in file name The important word of view ", " I ", " important ", " user name ", " account book ", " evidence " etc, and the important journey of these primary words Degree, number of times that these words occur etc..
Step 103, identifies the file to be synchronized in described listed files to be synchronized according to statistical information, obtains each and treats together Corresponding first identification information of step file, described first identification information is the weight representing each file significance level to be synchronized Value.
For step 102,103, have following several possible implementation.
A kind of possible implementation method is to be previously stored with keywords database in server end, preserves in described keywords database There is the title of each primary word, the corresponding important word parameter P of each primary word titlea, and corresponding with each primary word title The first weight Wa';Described first weight Wa' for server end to the filename word segmentation processing of All Files after, count each point The number of times of word, obtains, according to weight allocation strategy, the weight that this participle occurs relative to All Files name.By this first weight Wa' It is recognized that the primary word weighted value of certain user, different user user's customs is different, and the primary word of their concerns is different, It is which or which by the primary word that this method can find specific user.
Above-mentioned can be to go out the number of times counting relative to All Files name as this this participle according to weight allocation strategy Existing weight, for example, statistical result is 5 times, then the weight of this participle is 5;Can also be that the number of times doing mathematicses counting are become The weight that this participle occurs is obtained relative to All Files name, the result for example counting is 5 times can be according to preset formula after changing Its weight definition is 3 or 6;Can also be and the weight that this participle occurs relative to All Files name is obtained according to the definition of user, For example, in order to screen out interference, the word that user can define to some no any implications is excluded, for example, definition " ", " new Build ", " new folder ", the word of " " do not have any Practical significance, and its weight setting is minimum.
All of herein " weight allocation strategy " is above-mentioned implication, and similar part no longer does repeat specification.
The step then counting and preserving the important word information included in each file name to be synchronized described in step 102 Including:
Word segmentation processing is carried out by client to described file name to be synchronized, obtains some words, each participle is as one Primary word;
Client sends primary word information inquiring request, obtains each primary word from the response receiving The first corresponding weight Wa';The first weight W corresponding to each primary word describeda' as in each file name to be synchronized The important word information being comprised;
Included according to the step that statistical information identifies the file to be synchronized in described listed files to be synchronized in step 103:
The first weight W described in client applicationa' identify described listed files to be synchronized in file to be synchronized;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein,(1)
Wherein, Wa=Wa', PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaRelatively all important The weight of word, a is primary word number in file name to be synchronized.
Alternatively possible implementation, can also include in above-mentioned keywords database:Corresponding with each primary word title Second weight Wa' ', described second weight Wa' ' treat the filename word segmentation processing of synchronous documents for client server after, Count the number of times of each participle appearance, the weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy;
For example, for screening out interference, the word of some no any implications can be excluded.For example, " ", " newly-built ", " new Build file ", the word of " " there is no any Practical significance, by its weight setting be minimum.
The first weight W when different files to be synchronizeda' identical when, in step 103 according to statistical information mark described in treat with The step of the file to be synchronized in step file list includes:
The first weight W described in client applicationa' and the second weight Wa' ' identify treating in described listed files to be synchronized Synchronous documents;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa'+Wa' ', PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaInstitute relatively There is the weight of primary word, a is primary word number in file name to be synchronized.
The feature of above two mode is to carry out word segmentation processing by client, then, is obtained from server end by client Important word information is the weight of each participle, afterwards, treats synchronous documents using the weight obtaining and is identified, so, service Device end only needs record information it is not necessary to carry out extra process.
Another possible implementation, is previously stored with keywords database in server end, preserves in described keywords database There is the title of each primary word, the corresponding important word parameter P of each primary word titlea, and corresponding with each primary word title The first weight Wa;Described first weight WaAfter the filename word segmentation processing to All Files for the server end, count each participle Number of times, the weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy.For example, for screening out interference, can Excluded with the word to some no any implications.For example, " ", " newly-built ", " new folder ", the word of " " do not have Any Practical significance, its weight setting is minimum.
The step counting and preserving the important word information included in each file name to be synchronized in step 102 includes:
I) file name to be synchronized is obtained from each client by server end;
Specifically, the file name to be synchronized of each client is obtained from list to be synchronized by server end;Or, from The file name to be synchronized of each client is obtained in the file name message to be synchronized of each client push;Or, Send the request obtaining title to be synchronized to each client, obtain treating together of each client from the response of each client Step file title.
Ii) described file name to be synchronized is carried out with word segmentation processing, obtains some words, each participle is important as one Word;
Iii) some words after described participle are saved in keywords database as primary word, thus it is to be synchronized to obtain each Important word information included in file name;
Wherein, preserve the title of each primary word in this keywords database described, each primary word title is corresponding important Word parameter Pa, and first weight W corresponding with each primary word titlea'.
Included according to the step that statistical information identifies the file to be synchronized in described listed files to be synchronized in step 103:
Described first weight W is applied by server enda' identify described listed files to be synchronized in file to be synchronized;This When, the weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa', PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaRelatively all important The weight of word, a is primary word number in file name to be synchronized.
Explain again with reference to an example.
Collect file name to be synchronized, described file name to be synchronized is carried out with word segmentation processing, obtain some words(Weigh Want word), inquired about in the keywords database prestoring, in this keywords database, preserved each primary word title, corresponding each Individual important word parameter PaAnd weight W of this primary worda, then calculate the weight of each word after word segmentation processing, by each The weight of word is added, and then obtains the weighted value P of file name to be synchronizedPrimary word.
For example, there are two files to be synchronized, one entitled " common cooperation agreement ", another is " important cooperation agreement ", then " common ", " cooperation " and " agreement " is respectively to the result after two file name participles, with " important ", " cooperation " and " agreement ".Root According to keyword database, the key word that above-mentioned two file name can separate is " common ", " cooperation ", " agreement " and " important ".Then The weighted value of " common cooperation agreement " filename is The weighted value of " important cooperation agreement " filename is Wherein, Pa1、Pa2、Pa3And Pa4Represent " common ", " cooperation ", " agreement " and " important " parameter, W respectivelya1、Wa2、Wa3And Wa4, point Do not represent the weight of each parameter, weighted value can be positive number, negative or zero.
It should be noted that above-mentioned keywords database can be set in advance it is also possible to possess self-learning function, i.e. basis The use habit of user is learnt and is adjusted.Keywords database is put and can be stored in server end and/or client.Generally, close Keyword storehouse is placed on server end, and server end calculates and storage capacity is more powerful than client.
Step 104, according to described first identification information, arranges to each file to be synchronized in described list to be synchronized Sequence, obtains the transmission sequence of each file to be synchronized;
Wherein, each file to be synchronized in described list to be synchronized is ranked up, obtains the biography of each file to be synchronized The mode of defeated order can be to include following two modes:
Mode one:Labelling is transmitted to each file to be synchronized in list to be synchronized, is obtained according to transmission labelling result Transmission sequence, that is, putting in order of each file to be synchronized is constant, to identify the order of transmission simply by labelling.
Mode two:The position of each file to be synchronized in list to be synchronized is rearranged according to the order of transmission, according to The position of each file to be synchronized obtains transmission sequence.That is, by file arrangements to be synchronized high for significance level above, each The sequence of positions of file to be synchronized is transmission sequence.
Certainly, the application does not treat the acquisition pattern of the transmission sequence of synchronous documents and limits, any possible transmission Mode can be applied in the application.
Step 105, according to the transmission sequence of each file to be synchronized in described list to be synchronized, executes file synchronization behaviour Make.
Execution file synchronization operation is together to be executed and can be realized by client and server end.
The synchronous method that the application embodiment of the present invention is provided, after according to file generated to be synchronized list to be synchronized, leads to Cross the important word information included in each file name to be synchronized, can be to the biography of each file to be synchronized in list to be synchronized Defeated order is adjusted, so that the vital document comprising primary word can both have been improve overall work effect by priority synchronization Rate, reduces the loss risk of vital document again.
It should be noted that can also include for embodiment illustrated in fig. 1:Count and preserve described file to be synchronized is entered The peration data of row operation;Now, in above-mentioned steps 103, treating together in described listed files to be synchronized is identified according to statistical information The step of step file includes:Treating in described listed files to be synchronized is identified according to described important word information and described peration data Synchronous documents.In this case, the weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent important word information Parameter is relative to the weight of the type parameter of certain peration data;PxRepresent the type parameter of certain peration data, WxRepresent this operation Data type parameters PxThe weight of relative all operations data type, x represents the number of type.
Aforesaid operations data type at least includes one of or combination in any:(1)Edited in predetermined amount of time The frequency,(2)Multiple person cooperational processing information,(3)Browsing fileinfo,(4)File amount of change information,(5)Be opened number of times Information,(6)File attribute information,(7)Active degree information,(8)Cumulative edit duration information.
Specifically, the value of above-mentioned x can be the arbitrary value in 1-8, when x value is 1, represent that above-mentioned weight is only joined Examine an operation data type, certainly, this operation data type can be any one in above-mentioned 1-8, when x value is 2, Represent above-mentioned weight with reference to two operation data types, certainly, this two operation data types can be any in above-mentioned 1-8 Two, similar, x value is that 3 expressions may be referred to any three operation data types in above-mentioned 1-8.
In order to make it easy to understand, illustrating to the partial data of aforesaid operations data type:
(1)Is referred to by editor's frequency in predetermined amount of time, within certain time period certain file to be synchronized edited time Number information, for example, counts from current time, the number of times that in nearest 2 hours, certain file is edited;For example set up from this document again Time, this document added up by editor's number of times so far.
(2)Multiple person cooperational processing information refers to, such as participates in the number of collaborative editing, the number accessing is worked in coordination with participation, many Whether there is important relation people etc. in total degree that people edits, participant.
(3)Browsing fileinfo to refer to, the title of the file that such as user is browsing, the file browsing All Files list under path, browsing opening time of file etc..
(4)File amount of change information refers to, such as, after user edits file, this document varies by how many data.
(5)The number information that is opened refers to, for example user oneself opens the number of times of certain file, or multiple person cooperational situation Under, the number of times summation that certain file is opened by all co actors.
(6)File attribute information refers to, for example file extension, and whether file is vital document by user setup, file Whether it is read-only, limits editorial staff, carry password, if be arranged to cooperate file, modification time information etc., by these Attribute information is showing the significance level of this file.
(7)Active degree information refers to, for example according to by editor's number of times more, the number of times that is opened is more, be shared to many People etc. is calculating active degree.
(8)Cumulative edit duration information refers to, for example the time of user oneself cumulative edit since document creation, owns The time of co actor cumulative edit together with user, or file is in the time of certain period all co actors cumulative edit Deng.
With regard to WxRepresent this operational data class shape parameter PxThe weight of relative all operations data type, above-mentioned 8 operands It is different according to type for the contribution of file significance level, such as high than the weight of active degree information by one by editor's number of times A bit, therefore by each WxGive different weights to adjust each tribute to file significance level for operational data class shape parameter Offer size.
It should be noted that the application does not limit to the type of peration data, peration data enumerated above The embodiment that type is only possible to, any type that can be used to pass judgment on the peration data of significance level can be applied to In the application.
Here, if according to each file to be synchronized in described list to be synchronized transmission sequence, execution file synchronization behaviour Make for client, then aforementioned obtain the mode to the peration data that described file to be synchronized is operated and include:From client Local acquisition, or, obtain from server end.
If according to the transmission sequence of each file to be synchronized in described list to be synchronized, execute file synchronization operation is Server end, then aforementioned middle acquisition includes to the mode of the peration data that described file to be synchronized is operated:From server end Local acquisition, or, obtain from client.
Should in aforementioned manners, can be suitable to the transmission of each file to be synchronized in list to be synchronized by operation data type Sequence is adjusted, so that vital document can both have been improve whole work efficiency by priority synchronization, reduces important literary composition again The loss risk of part.
Below to above-mentioned formula(2)It is described in detail again.
According to explanation above, above-mentioned formula(2)In x be natural number, for example can with value 1-8 it is possible to understand that:
When x value is equal to 1, because only considering a condition, the W in above-mentioned formulaxGenerally value is 1, certainly, if Needs can also value be other numerical value such as 2,3.In the application, not to x=1 in the case of, WxValue limit.
When x value is not equal to 1, need to refer to multiple conditions, now, WxValue be typically not equal to 1, specifically, Wx Value to be weight according to each operation data type to determine.
For example, x=3, and the data manipulation type of reference is(1)In predetermined amount of time by editor's frequency,(2)Multiple person cooperational Processing information,(4)File amount of change information, then formula now(2)For:
W in above-mentioned formulaThe frequency、WMultiple person cooperational、WFile amount of changeValue be different, for example, WThe frequencyValue 1.5, WMultiple person cooperationalValue For 2, WFile amount of changeValue is 1.
It is appreciated that in actual applications, the type of any peration data that can be referenced can apply the application In, that is, the value of x can also be not limited to above-mentioned 1-8, can change with the change of operand type.When there being multiple operations When data type is referenced, WxCan be positive number, negative or zero.Wherein WxIt is negative number representation, the weight of this parameter does not weigh very much Will;WxIt is that this statistics of this parameter of zero expression does not have referential.Specifically, WxA kind of=0 situation is that client needs and clothes P is obtained after the link of business device endx, but can not communicate with server end in effective time and obtain PxParameter, then by WxIt is entered as 0.
Below to formula(2)Middle x value be 1 when, various in the case of PxIllustrate respectively.
(1)If described operation data type is by editor's frequency information in predetermined amount of time;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to It is identified by editor's frequency information within a predetermined period of time according to file to be synchronized;
Then Px=PThe frequency
Described PThe frequencyFor the frequency parameter edited in predetermined amount of time.
Specifically, client server treat in advance synchronous documents statistics edited within a predetermined period of time time Number, after client obtains list to be synchronized, obtains the number of times that file to be synchronized is edited within a predetermined period of time;Client or clothes Business device end can also carry out to All Files in network disk file counting the number of times edited in predetermined amount of time in advance, is then directed to File in list to be synchronized, obtains by editor's number of times and calculates the weighted value P=corresponding to the frequency of each file to be synchronized Px, the file then treated in synchronous documents list carries out descending according to weighted value P, according to be synchronized after rearrangement Listed files, by file prioritised transmission high for the frequency, can as early as possible complete synchronization in next time before editor to realize these files.When So, the needs according to practical application, WThe frequencyPositive number, negative or zero can be taken.
Above-mentioned preset time period can be artificial setting, for example, manually set to the file to be synchronized in the T1-T2 time period Editor's number of times counted;Above-mentioned preset time period can also be that system is voluntarily arranged, for example, be opened into statistics from client Time of origin ends, and the editor's number of times during this period of time treating synchronous documents is counted, or, record is opened from client The current time occurring to statistics ends the editor's number of times in this period, but only to a period of time nearest in this period(Example As nearest two hours)Editor's frequency counted.As most preferred embodiment it is believed that this document is from the beginning of foundation, compiled Volume number of times is more, and it is bigger to the significance level of user, therefore sets up this period so far from file, for optimal timing statisticses Scope.
It should be noted that as most preferred embodiment, currently whether the above-mentioned statistics by editor's frequency information and client Networking is unrelated, and this is edited frequency information and can continuously count it is not necessary to reset because of suspension.Certainly, reset after suspension, Enable to recalculate to by editor's frequency information.
(2)If the multiple person cooperational processing information of the described operation data type file to be synchronized that is each;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to Multiple person cooperational processing information according to each file to be synchronized is identified;
Then
Wherein, PMultiple person cooperationalFor the multiple person cooperational processing information parameter of file to be synchronized, PbRepresent certain reference in multiple person cooperational The parameter of condition, WbFor this reference conditions parameter PbThe weight of relatively all reference conditions, b represents in multiple person cooperational and needs to refer to Condition number.
Specifically, a kind of possible mode is, sets the reference parameter of multiple person cooperational, and the weight according to parameters obtains The weighted value of file to be synchronized.For example, setting three below parameter is b=3:Participate in the number of collaborative editing, participate in collaborative visit Whether there is important relation people in the number asked, participant(Such as in company senior in office, attached most importance to very important person by this user setup The people people more with this users to share and the number of times that cooperates of member), then, for a file to be synchronized, its weighted value isWherein, Pb1、Wb1For participating in collaborative editing number Parameter and this parameter weight, Pb2、Wb2For participating in the collaborative parameter of the number of visiting people and the weight of this parameter, Pb3、Wb3For participating in Whether there is the weight of important relation people's parameter and this parameter in people.
It should be noted that above three parameters setting are only a possible embodiment, the application is not right Set number of parameters and content are defined, and concrete application can determine according to practical situation.
(3)If the described operation data type file to be synchronized that is each browse fileinfo;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to The fileinfo that browses according to each file to be synchronized is identified;
Then
Wherein, PJust browsing fileBrowse fileinfo parameter, P for file to be synchronizedcRepresent and browsing certain in file The parameter of individual reference conditions, WcFor this reference conditions parameter PcThe weight of relatively all reference conditions, c represents and browses file In the condition number that needs to refer to.
PcReference conditions can be the title of the file that user is browsing, all under the folder path that browses Listed files, browsing file open duration etc..
Specifically, a kind of possible being achieved in that, obtains the path currently browsing file place file, judges Whether this document folder is the root folder of file in storage Dropbox, if it is not, then all giving the by lower for this document folder All Files One weight, the file to be synchronized under non-this document is pressed from both sides all gives the second weight, and wherein, the first weight is more than the second weight;If It is then to be left intact.As such, it is possible to make the file currently browsing obtain higher weight.For example, root folder For E:Fast disk, the file currently browsing is in " E:Fast disk file " in the case of, then by " E:Fast disk file " in File all to be synchronized all give as the first weight such as 10, by non-" E:Fast disk file " in file to be synchronized all give For the second weight such as 5.Certainly, above-mentioned second weight can also be equal to zero or negative, now, be equivalent to and only consider currently The file place file browsing.
It should be noted that why will determine whether to store the root folder of file in Dropbox, it is because, if worked as The front file browsing is in root folder, then need all to give the first weight by file all of in root folder, this The all of file weight reality to be synchronized of sample is all the same, has had been out the meaning of weight.Only in the literary composition currently just browsing When part is in non-root folder, different priorities can be distinguished by aforementioned different weight.As such, it is possible to make current The All Files browsing under the file of file place obtains priority synchronization.
Alternatively possible is achieved in that, obtains in list to be synchronized and is currently browsing file place file, only First grade file during this document is pressed from both sides gives the first weight, and that is, the file in sub-folder in this document folder no longer carries out any place Reason.As such, it is possible to make the first grade file currently browsing under the file of file place obtain priority synchronization.
(4)If the file amount of change information of the described operation data type file to be synchronized that is each;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to File amount of change information according to each file to be synchronized is identified;
Then Px=PFile amount of change
Wherein, described PFile amount of changeFile amount of change information parameter for file to be synchronized.
Specifically, a kind of possible being achieved in that, counts the modification amount of each file to be synchronized, big according to modification amount The different weights of little imparting, wherein, modification amount is less, and weight is higher, and modification amount is bigger, and weight is less.For example, a file is repaiied Changed two words, another file increased the content of a paragragh, then, have modified two words file be endowed higher Weight, another file will be endowed relatively low weight.The little file of prioritised transmission modification amount.
(5)If the number information that is opened of the described operation data type file to be synchronized that is each;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to The number information that is opened according to each file to be synchronized is identified;
Then
Wherein, described PBe opened number of timesFile for file to be synchronized is opened number information parameter.PdRepresent that file is opened The parameter of certain reference conditions, W in number of timesdFor this reference conditions parameter PdThe weight of relatively all reference conditions, d represents file Be opened the condition number needing to refer in number of times.PdReference conditions can be the number of times that user oneself opens certain file, Or in the case of multiple person cooperational, number of times summation that certain file is opened by all co actors etc..
Specifically, a kind of possible being achieved in that, counts and obtains the number of times that file to be synchronized is opened, and is opened secondary The many files of number are endowed higher weight, are having the preferentially transmitted with the file ensureing to be opened often, to realize these files Synchronization can be completed as early as possible before being opened next time.Certainly, the needs according to practical application, WBe opened number of timesPositive number, negative can be taken Or zero.
Alternatively possible is achieved in that, sets the reference parameter of the number of times that is opened, is obtained according to the weight of parameters Obtain the weighted value of file to be synchronized.For example, set three below parameter:Identical file is opened people by different co actors simultaneously Number, identical file be opened total number of persons, open important relation people number in people(Such as in company senior in office, by this User setup is the people of important persons people more with this users to share and the number of times that cooperates etc.), i.e. d=3, then, for one For file to be synchronized,Wherein, Pd1、Wd1 Opened the weight of number parameter and this parameter, P for identical file by different co actors simultaneouslyd2、Wd2It is opened always for identical file Number parameter and the weight of this parameter, Pd3、Wd3Open the weight of important relation people number parameter and this parameter in people.
It should be noted that above three parameters setting are only a possible embodiment, the application is not right Set number of parameters and content are defined, and concrete application can determine according to practical situation.
(6)If the file attribute information of the described operation data type file to be synchronized that is each;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to File attribute information according to each file to be synchronized is identified;
Then
Wherein, PFile attributeFor the file attribute information parameter of file to be synchronized, PeRepresent certain reference in file attribute information The parameter of condition, WeFor this reference conditions parameter PeThe weight of relatively all reference conditions, e represents in file attribute information to be needed The condition number of reference.File attribute information as reference conditions includes:File extension, whether file by user setup be Vital document, whether file is read-only, limits editorial staff, carries password, if be arranged to cooperate file, modification time Deng showing the significance level of this file by these attribute informations.
Specifically, a kind of possible being achieved in that, the reference parameter of enactment document attribute information, according to parameters Weight obtains the weighted value of file to be synchronized.For example, following two parameters are set:User Defined parameter, made according to user It is accessed number of times, i.e. e=2 with the file that habit statistical goes out, then, for a file to be synchronized,Wherein, Pe1、We1For User Defined parameter and should The weight of parameter, Pe2、We2It is the weight being accessed count parameter and this parameter according to the file that user's use habit counts.
Specifically, file extension is a kind of mechanism for logo file form for the operating system.Permissible using extension name Distinguish different file types.When extending entitled temporary file, garbage files, severity level is minimum, and generally we are by WeTake Value negative, the file significance level of this extension name mark is reduced.
Specifically, file is the file that certain application program stores temporary file or garbage files, and this document presss from both sides And be in this document folder under file, its corresponding WeSo that weight is negative value, file significance level drops value negative significantly Low.
Specifically, file is the situation that certain application program mark is many people Shared Folders, and this document presss from both sides and locates File under this document folder, its corresponding WeValue positive number, weight raises, and file significance level rises.
(7)If the active degree information of the described operation data type file to be synchronized that is each;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to Active degree information according to each file to be synchronized is identified;
Then
Wherein, PActive degreeActive degree information parameter for each file to be synchronized.PfRepresent certain in the active degree of file The parameter of individual reference conditions, WfFor this reference conditions parameter PfThe weight of relatively all reference conditions, f represents file active degree In the condition number that needs to refer to.Wherein PfCan be edited number of times, the number of times that is opened, be shared to many people etc. with reference to because Element.
Specifically, a kind of possible being achieved in that, sets the reference parameter of active degree information, according to parameters Weight obtains the weighted value of file to be synchronized.For example, following two parameters are set:It is currently at treating together of screen display state Step file, the more file to be synchronized of the number of times that is opened, i.e. f=2, then, for a file to be synchronized,Wherein, Pf1、Wf1For being currently at treating of screen display state Synchronous documents parameter and the weight of this parameter, Pf2、Wf2Power for the more file parameters to be synchronized of the number of times that is opened and this parameter Weight.As such, it is possible to allow the high file of active degree by priority synchronization.
(8)If the cumulative edit duration information of the described operation data type file to be synchronized that is each;
The described step identifying the file to be synchronized in described listed files to be synchronized according to described peration data includes:According to Cumulative edit duration information according to each file to be synchronized is identified;
Then
Wherein, wherein, PCumulative edit durationFor the cumulative edit duration information parameter of file to be synchronized, PgWhen representing cumulative edit The parameter of certain reference conditions, W in long messagegFor this reference conditions parameter PgThe weight of relatively all reference conditions, g represents tired The condition number needing to refer in meter editor's duration.Reference conditions as cumulative edit duration information include:User oneself is certainly Since document creation, the time of cumulative edit adds up editor-in-chief's duration of certain file, and all co actors add up together with user The time of editor adds up the total duration that certain file is edited interval, or file adds up in certain period all co actors The factor such as time of editor, or add up total duration that certain file is opened etc..
Specifically, a kind of possible being achieved in that, sets the reference parameter of cumulative edit duration information, according to each ginseng The weight of number obtains the weighted value of file to be synchronized.For example, set three below parameter:During the editor-in-chief of certain file accumulative Long, add up the total duration that certain file is edited interval, add up the total duration that certain file is opened, i.e. g=3, then, for For one file to be synchronized,Wherein, Pg1、Wg11 is accumulative editor-in-chief's duration parameters of certain file and the weight of this parameter, Pg2、Wg2Edited for adding up certain file The total duration parameter at interval and the weight of this parameter, Pg3、Wg3For adding up total duration parameter and this parameter that certain file is opened Weight.
It should be noted that above three parameters setting are only a possible embodiment, the application is not right Set number of parameters and content are defined, and concrete application can determine according to practical situation.
It should be noted that for aforementioned all embodiments, operating when according to described list to be synchronized, executing file synchronization During, can also include:
Timing or real-time update list to be synchronized;After the completion of current synchronous file synchronization operation, according to described List execution simultaneously operating to be synchronized after renewal.
As such, it is possible to more timely ensure that vital document, by priority synchronization, further increases whole work efficiency, reduces The loss risk of vital document.It is currently up-to-date for being additionally, since performed list to be synchronized, can also avoid transmitting former It is no longer necessary to the file uploading after being planned to upload again, Internet resources can be saved.
It should be noted that for aforementioned all embodiments, if network interrupts in synchronizing process, can also include: Preserve the list to be synchronized being being currently used, and record synchronous documents, after network reconnects, according to described to be synchronized List, continues executing with simultaneously operating to not synchronous file.
As such, it is possible to reduce the number of times of inter-net communication, reduce network load, save Internet resources further, improve whole Body synchronous efficiency.
Present invention also provides a kind of device of file synchronization, referring to Fig. 2, described device includes:
List acquiring unit 201, for obtaining listed files to be synchronized, described list to be synchronized includes literary composition to be synchronized Part;
Statistic unit 202, for counting and preserving the important word information included in each file name to be synchronized;
Mark unit 203, for identifying the file to be synchronized in described listed files to be synchronized according to statistical information, obtains First identification information, described first identification information is the weighted value representing each file significance level to be synchronized;
Sequencing unit 204, for according to described first identification information, to each file to be synchronized in described list to be synchronized It is ranked up, obtain the transmission sequence of each file to be synchronized;
Lock unit 205, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file Simultaneously operating.
The synchronizer that the application embodiment of the present invention is provided, after according to file generated to be synchronized list to be synchronized, leads to Cross the important word information included in each file name to be synchronized, can be to the biography of each file to be synchronized in list to be synchronized Defeated order is adjusted, so that the vital document comprising primary word can both have been improve overall work effect by priority synchronization Rate, reduces the loss risk of vital document again.Everyone residing sphere of life is different, equal for everyone important thing Differ, for example someone's concern contract, someone pays close attention to chat record, someone's concern video etc., and therefore each user's is important Word is different, and by this device, we achieve the primary word finding different user, and the primary word according to user arranges vital document Rank so that the vital document of this user can obtain priority synchronization.
It should be noted that in the above-mentioned all embodiments of the application, logically each user corresponds to a server end, Because each user might have multiple client, thus be equivalent to the multiple client of the corresponding user of a server end, because This, the All Files that each server end is counted can be the All Files of this user that server end preserves, i.e. the first power It is to screen the most primary word of occurrence number from the file that this user preserves again;The commonly used literary composition with concern of user Part, can embody from file to be synchronized, the use of the therefore second weight, and that can commonly use user's warp and pay close attention to is important Word screens.
Present invention also provides a kind of server end, referring to Fig. 3, specifically include:
List obtaining unit 301, for obtaining listed files to be synchronized, described list to be synchronized includes literary composition to be synchronized Part;
First statistic unit 302, for counting and preserving the important word information included in each file name to be synchronized;
Mark unit 303, for identifying the file to be synchronized in described listed files to be synchronized according to statistical information, obtains First identification information, described first identification information is the weighted value representing each file significance level to be synchronized;
Lock unit 304, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file Simultaneously operating.
Above-mentioned server end can also include:
Sequencing unit(Figure does not regard), for according to described first identification information, in described list to be synchronized, each is treated together Step file is ranked up, and obtains ranking results, so that described lock unit executes file synchronization operation according to ranking results.
In the case of one kind, above-mentioned server end can also include:
Memory element(Figure does not regard), it is used for being previously stored with keywords database, preserve each in described keywords database important The title of word, the corresponding important word parameter P of each primary word titlea, and first weight corresponding with each primary word title Wa';Described first weight Wa' for server end to the filename word segmentation processing of All Files after, count the number of times of each participle, The weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy;
Described first identification information is that the weighted value representing each file significance level to be synchronized is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
In the case of another kind, above-mentioned server end can also include:
Memory element, is used for being previously stored with keywords database, preserves the title of each primary word in described keywords database, The corresponding important word parameter P of each primary word titlea, and first weight W corresponding with each primary word titlea' and with every Corresponding second weight W of individual primary word titlea'';Described first weight Wa' it is the filename participle to All Files for the server end After process, count the number of times of each participle, the weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy; Described second weight Wa' ' treat the filename word segmentation processing of synchronous documents for client server after, count each participle The number of times occurring, obtains, according to weight allocation strategy, the weight that this participle occurs relative to All Files name;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa'+Wa' ',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Above-mentioned server end can also include:
Second statistic unit(Figure does not regard), for counting and preserving the operand that described file to be synchronized is operated According to;Now, described mark unit, is additionally operable to identify treating in described listed files to be synchronized according to statistical information and peration data Synchronous documents.In this case, the weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent important word information Parameter is relative to the weight of the type parameter of certain peration data;PxRepresent the type parameter of certain peration data, WxRepresent this operation Data type parameters PxThe weight of relative all operations data type, x represents the number of type.
Described operation data type at least includes one of or combination in any:By editor's frequency in predetermined amount of time Secondary, multiple person cooperational processing information, browsing fileinfo, file amount of change information, the number information that is opened, file attribute letter Breath, active degree information, cumulative edit duration information.
Present invention also provides a kind of server apparatus, foregoing server end is installed.
Above-mentioned server end and server apparatus that application the application provides, when according to file generated to be synchronized row to be synchronized After table, by counting and preserving the important word information included in each file name to be synchronized, can be in list to be synchronized The transmission sequence of each file to be synchronized is adjusted, so that the vital document comprising important word information can be by preferentially same Step, had both improve whole work efficiency, had reduced the loss risk of vital document again.On this basis, can also be by operation Data type is adjusted to the transmission sequence of each file to be synchronized in list to be synchronized, thus further increasing overall work Make efficiency, reduce the loss risk of vital document again.
Present invention also provides a kind of client, referring to Fig. 4, described client includes:
List obtaining unit 401, for obtaining listed files to be synchronized, described list to be synchronized includes literary composition to be synchronized Part;
Mark unit 402, for treating described in the primary word message identification according to included in each file name to be synchronized File to be synchronized in synchronous documents list, obtains the first identification information, described first identification information is to represent each literary composition to be synchronized The weighted value of part significance level;
Transmission sequence obtaining unit 403, for obtaining the transmission sequence of each file to be synchronized;
Lock unit 404, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file Simultaneously operating.
Above-mentioned client can also include:
First statistic unit(Figure does not regard), for counting and preserving the primary word included in each file name to be synchronized Information.
Above-mentioned first identification information is that the weighted value representing each file significance level to be synchronized is:
Wherein,
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe power of relatively all primary words Weight, a is primary word number in file name to be synchronized.
Above-mentioned client can also include:
Sequencing unit(Figure does not regard), for according to described first identification information, in described list to be synchronized, each is treated together Step file is ranked up, and obtains ranking results, so that transmission sequence obtaining unit obtains the transmission sequence of each file to be synchronized.
Above-mentioned client can also include:
Second statistic unit(Figure does not regard), for counting and preserving the operand that described file to be synchronized is operated According to;Now, described mark unit, is additionally operable to identify treating in described listed files to be synchronized according to statistical information and peration data Synchronous documents.In this case, the weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent important word information Parameter is relative to the weight of the type parameter of certain peration data;PxRepresent the type parameter of certain peration data, WxRepresent this operation Data type parameters PxThe weight of relative all operations data type, x represents the number of type.
Aforesaid operations data type at least includes one of or combination in any:By editor's frequency in predetermined amount of time Secondary, multiple person cooperational processing information, browsing fileinfo, file amount of change information, the number information that is opened, file attribute letter Breath, active degree information, cumulative edit duration information.
Present invention also provides a kind of terminal unit, it is provided with foregoing client.
Above-mentioned client and terminal unit that application the application provides, when according to file generated to be synchronized list to be synchronized Afterwards, by counting and preserving the important word information included in each file name to be synchronized, can be to each in list to be synchronized The transmission sequence of individual file to be synchronized is adjusted, so that the vital document comprising important word information can be by preferentially same Step, had both improve whole work efficiency, had reduced the loss risk of vital document again.On this basis, can also be by operation Data type is adjusted to the transmission sequence of each file to be synchronized in list to be synchronized, thus further increasing overall work Make efficiency, reduce the loss risk of vital document again.
Present invention also provides a kind of client, referring to Fig. 5, described client includes:
List obtaining unit 501, for obtaining listed files to be synchronized, comprises literary composition to be synchronized in described list to be synchronized Part;
Mark unit 502, for according to the peration data that described file to be synchronized is operated, mark is described to be synchronized File to be synchronized in listed files, obtains corresponding first identification information of each file to be synchronized, described first identification information It is the weighted value representing each file significance level to be synchronized;
Transmission sequence obtaining unit 503, for obtaining the transmission sequence of each file to be synchronized, this transmission sequence is basis In list to be synchronized described in described first identification information pair, each file to be synchronized is ranked up acquisition;
Lock unit 504, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file Simultaneously operating.
Above-mentioned client can also include:
Statistic unit(Figure does not regard), treat, for counting and preserving, the peration data that synchronous documents are operated.
Above-mentioned client can also include:
Sequencing unit(Figure does not regard), for according to described first identification information, in described list to be synchronized, each is treated together Step file is ranked up, and obtains ranking results, so that transmission sequence obtaining unit obtains the transmission sequence of each file to be synchronized.
Above-mentioned client can also include:
Updating block(Figure does not regard), for during according to described list to be synchronized, executing file synchronization operation, fixed When or real-time update list to be synchronized;
Described lock unit(Figure does not regard), it is additionally operable to after the completion of current synchronous file synchronization operation, according to institute State the list execution simultaneously operating to be synchronized after renewal.
Above-mentioned client can also include:
Interruption logging unit(Figure does not regard), when interrupting for network in synchronizing process, what preservation was being currently used treats Synchronous list, and record synchronous documents;
Described lock unit(Figure does not regard), it is additionally operable to after network reconnects, according to described list to be synchronized, to not same The file of step continues executing with simultaneously operating.
The embodiment of the present invention additionally provides a kind of terminal unit, is provided with client as above.
The application client that provided of the embodiment of the present invention and terminal unit were so that vital document, by priority synchronization, both carried High whole work efficiency, reduces the loss risk of vital document again.It is current for being additionally, since performed list to be synchronized Up-to-date, can also avoid transmitting the file being again no longer necessary to after original plan will upload upload, save Internet resources, same with this When, can more timely ensure that vital document, by priority synchronization, further increases whole work efficiency, reduces vital document Loss risk.Further, can be according to the list to be synchronized of record to not synchronous literary composition after connection again of breaking in a network Part continues executing with simultaneously operating, decreases the number of times of inter-net communication, reduces network load, saves Internet resources further, carries High Integral synchronous efficiency.
The embodiment of the present invention additionally provides a kind of server end, and referring to Fig. 6, described server end includes:
List obtaining unit 601, for obtaining listed files to be synchronized, comprises literary composition to be synchronized in described list to be synchronized Part;
Statistic unit 602, treats, for counting and preserving, the peration data that synchronous documents are operated;
Mark unit 603, for identifying treating in the listed files to be synchronized that client generates according to described peration data Synchronous documents, obtain corresponding first identification information of each file to be synchronized, described first identification information be represent each treat with The weighted value of step file significance level;
Lock unit 604, for the transmission sequence according to each file to be synchronized in described list to be synchronized, executes file Simultaneously operating.
Above-mentioned server end can also include:
Sequencing unit(Figure does not regard), for according to described first identification information, in described list to be synchronized, each is treated together Step file is ranked up, and obtains ranking results, so that described lock unit executes file synchronization operation according to ranking results.
Above-mentioned server end can also include:
Updating block(Figure does not regard), for during according to described list to be synchronized, executing file synchronization operation, fixed When or real-time update list to be synchronized;
Described lock unit, is additionally operable to after the completion of current synchronous file synchronization operation, after described renewal List to be synchronized execution simultaneously operating.
Above-mentioned server end can also include:
Interruption logging unit(Figure does not regard), when interrupting for network in synchronizing process, what preservation was being currently used treats Synchronous list, and record synchronous documents;
Described lock unit, is additionally operable to after network reconnects, according to described list to be synchronized, to not synchronous file Continue executing with simultaneously operating.
The embodiment of the present invention additionally provides a kind of server apparatus, is provided with server end as above.
The application server end that provided of the embodiment of the present invention and server apparatus so that vital document is by priority synchronization, Both improve whole work efficiency, reduce the loss risk of vital document again.Being additionally, since performed list to be synchronized is Currently up-to-date, can also avoid transmitting the file being again no longer necessary to after original plan will upload upload, save Internet resources, with This can more timely ensure that vital document, by priority synchronization, further increases whole work efficiency, reduces important simultaneously The loss risk of file.Further, can be according to the list to be synchronized of record to not synchronous after connection again of breaking in a network File continue executing with simultaneously operating, decrease the number of times of inter-net communication, reduce network load, save network money further Source, improves Integral synchronous efficiency.
For device related embodiment, because it is substantially similar to embodiment of the method, so fairly simple, the phase of description In place of pass, the part referring to embodiment of the method illustrates.
For convenience of description, describing above-mentioned client and server is to be divided into various units to be respectively described with function.When So, the function of each unit can be realized in same or multiple softwares and/or hardware when implementing the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can Mode by software plus necessary general hardware platform to be realized.Based on such understanding, technical scheme essence On in other words prior art is contributed partly can be embodied in the form of software product, this computer software product Can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., include some instructions use so that a computer equipment (Can be personal computer, server, or network equipment etc.)Execution each embodiment of the present invention or embodiment some Partly described method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating In any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to Comprising of nonexcludability, wants so that including a series of process of key elements, method, article or equipment and not only including those Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element that limited by sentence "including a ..." it is not excluded that Also there is other identical element including in the process of described key element, method, article or equipment.
The present invention can be used in numerous general or special purpose computing system environment or configuration.For example:Personal computer, service Device computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, include any of the above system or equipment Distributed computing environment etc..
The present invention can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes execution particular task or the routine realizing particular abstract data type, program, object, group Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment, by The remote processing devices connected by communication network are executing task.In a distributed computing environment, program module is permissible It is located in the local and remote computer-readable storage medium including storage device.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All Any modification, equivalent substitution and improvement made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention Interior.

Claims (25)

1. a kind of method of file synchronization is it is characterised in that methods described includes:
Obtain listed files to be synchronized, described listed files to be synchronized includes file to be synchronized, described file to be synchronized is derived from All Files under assigned catalogue;
Count and preserve the important word information included in each file name to be synchronized;
File to be synchronized in described listed files to be synchronized is identified according to statistical information, obtains the first identification information, described the One identification information is the weighted value representing each file significance level to be synchronized;
According to described first identification information, each file to be synchronized in described listed files to be synchronized is ranked up, obtains each The transmission sequence of individual file to be synchronized;
According to the transmission sequence of each file to be synchronized in described listed files to be synchronized, execute file synchronization operation.
2. method according to claim 1 it is characterised in that
It is previously stored with keywords database in server end, in described keywords database, preserve the title of each primary word, each weight Want the corresponding important word parameter P of word titlea, and first weight W corresponding with each primary word titlea′;Described first weight Wa' for server end to the filename word segmentation processing of All Files after, count the number of times of each participle, according to weight allocation strategy Obtain the weight that this participle occurs relative to All Files name.
3. method according to claim 2 is it is characterised in that described count and preserve institute in each file name to be synchronized The step of the important word information comprising includes:
Word segmentation processing is carried out by client to described file name to be synchronized, obtains some words, each participle is important as one Word;
Client sends primary word information inquiring request, obtains each primary word institute right from the response receiving The first weight W answereda′;The first weight W corresponding to each primary word describeda' wrapped as in each file name to be synchronized The important word information containing;
Included according to the step that statistical information identifies the file to be synchronized in described listed files to be synchronized:
The first weight W described in client applicationaFile to be synchronized in the described listed files to be synchronized of ' mark;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe weight of relatively all primary words, a For primary word number in file name to be synchronized, PPrimary wordPrimary word information parameter included in file name to be synchronized.
4. method according to claim 2 is it is characterised in that also include in described keywords database:With each primary word name Claim corresponding second weight Wa", described second weight Wa" treat the filename participle of synchronous documents for client server After process, count the number of times of each participle appearance, obtain what this participle occurred relative to All Files name according to weight allocation strategy Weight;
The first weight W when different files to be synchronizeda' identical when, according to statistical information identify described listed files to be synchronized in The step of file to be synchronized includes:
The first weight W described in client applicationa' and the second weight Wa" identify the literary composition to be synchronized in described listed files to be synchronized Part;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa′+Wa",
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe weight of relatively all primary words, a For primary word number in file name to be synchronized, PPrimary wordPrimary word information parameter included in file name to be synchronized.
5. method according to claim 1 is it is characterised in that described count and preserve institute in each file name to be synchronized The step of the important word information comprising includes:
File name to be synchronized is obtained from each client by server end;
Described file name to be synchronized is carried out with word segmentation processing, obtains some words, each participle is as a primary word;
Some words after described participle are saved in keywords database as primary word, thus obtaining each file name to be synchronized Included in important word information;
Wherein, preserve the title of each primary word in this keywords database described, each corresponding primary word of primary word title is joined Number Pa, and first weight W corresponding with each primary word titlea′.
6. method according to claim 5 is it is characterised in that described arrange according to the described file to be synchronized of statistical information mark The step of the file to be synchronized in table includes:
Described first weight W is applied by server endaFile to be synchronized in the described listed files to be synchronized of ' mark;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe weight of relatively all primary words, a For primary word number in file name to be synchronized, PPrimary wordPrimary word information parameter included in file name to be synchronized.
7. method according to claim 5 is it is characterised in that obtain file to be synchronized by server end from each client The step of title includes:
The file name to be synchronized of each client is obtained from listed files to be synchronized;Or,
From the file name to be synchronized obtaining each client from the file name message to be synchronized of each client push; Or,
Send, to each client, the request obtaining title to be synchronized, obtain each client from the response of each client File name to be synchronized.
8. method according to claim 1 is it is characterised in that included in each file name to be synchronized of described statistics After important word information, methods described also includes:
Count and preserve the peration data that described file to be synchronized is operated;
Identify the file to be synchronized in described listed files to be synchronized according to statistical information to include:According to described important word information and Described peration data identifies the file to be synchronized in described listed files to be synchronized.
9. method according to claim 8 it is characterised in that
The weighted value P of each file significance level to be synchronized represented by described first identification information is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent primary word information parameter The weight of the type parameter of certain peration data relative;PxRepresent the type parameter of certain peration data, WxRepresent this peration data Type parameter PxThe weight of relative all operations data type, x represents the number of type.
10. method according to claim 9 it is characterised in that described operation data type at least include following wherein it One or combination in any:In predetermined amount of time by the editor frequency, multiple person cooperational processing information, browsing fileinfo, file becomes Momentum information, the number information that is opened, file attribute information, active degree information, cumulative edit duration information.
A kind of 11. devices of file synchronization are it is characterised in that described device includes:
List acquiring unit, for obtaining listed files to be synchronized, described listed files to be synchronized includes file to be synchronized, institute State the All Files that file to be synchronized is derived under assigned catalogue;
Statistic unit, for counting and preserving the important word information included in each file name to be synchronized;
Mark unit, for identifying the file to be synchronized in described listed files to be synchronized according to statistical information, obtains the first mark Knowledge information, described first identification information is the weighted value representing each file significance level to be synchronized;
Sequencing unit, for according to described first identification information, entering to each file to be synchronized in described listed files to be synchronized Row sequence, obtains the transmission sequence of each file to be synchronized;
Lock unit, for the transmission sequence according to each file to be synchronized in described listed files to be synchronized, executes file same Step operation.
A kind of 12. server ends are it is characterised in that include:
List obtaining unit, for obtaining listed files to be synchronized, described listed files to be synchronized includes file to be synchronized, institute State the All Files that file to be synchronized is derived under assigned catalogue;
First statistic unit, for counting and preserving the important word information included in each file name to be synchronized;
Mark unit, for identifying the file to be synchronized in described listed files to be synchronized according to statistical information, obtains the first mark Knowledge information, described first identification information is the weighted value representing each file significance level to be synchronized;
Lock unit, for the transmission sequence according to each file to be synchronized in described listed files to be synchronized, executes file same Step operation;
Sequencing unit, for according to described first identification information, entering to each file to be synchronized in described listed files to be synchronized Row sequence, obtains ranking results, so that described lock unit executes file synchronization operation according to ranking results.
13. server ends according to claim 12 are it is characterised in that described server end also includes:
Memory element, is used for being previously stored with keywords database, preserves the title of each primary word in described keywords database, each The corresponding important word parameter P of primary word titlea, and first weight W corresponding with each primary word titlea′;Described first power Weight Wa' for server end to the filename word segmentation processing of All Files after, count the number of times of each participle, according to weight distribute plan Slightly obtain the weight that this participle occurs relative to All Files name;
Described first identification information is that the weighted value representing each file significance level to be synchronized is:
Wherein, Wa=Wa',
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe weight of relatively all primary words, a For primary word number in file name to be synchronized, PPrimary wordPrimary word information parameter included in file name to be synchronized.
14. server ends according to claim 12 are it is characterised in that described server end also includes:
Memory element, is used for being previously stored with keywords database, preserves the title of each primary word in described keywords database, each The corresponding important word parameter P of primary word titlea, and first weight W corresponding with each primary word titlea' and heavy with each Want corresponding second weight W of word titlea″;Described first weight Wa' it is the filename word segmentation processing to All Files for the server end Afterwards, count the number of times of each participle, the weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy;Described Second weight Wa" treat the filename word segmentation processing of synchronous documents for client server after, count each participle and occur Number of times, the weight that this participle occurs relative to All Files name is obtained according to weight allocation strategy;
The weighted value P of each file significance level to be synchronized represented by described first identification information is:
Wherein, Wa=Wa′+Wa",
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe weight of relatively all primary words, a For primary word number in file name to be synchronized, PPrimary wordPrimary word information parameter included in file name to be synchronized.
15. server ends according to claim 12 are it is characterised in that described server end also includes:
Second statistic unit, for counting and preserving the peration data that described file to be synchronized is operated;
Described mark unit, is additionally operable to according to be synchronized in statistical information and the peration data described listed files to be synchronized of mark File.
16. server ends according to claim 15 are it is characterised in that each represented by described first identification information is treated The weighted value P of synchronous documents significance level is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent primary word information parameter The weight of the type parameter of certain peration data relative;PxRepresent the type parameter of certain peration data, WxRepresent this peration data Type parameter PxThe weight of relative all operations data type, x represents the number of type.
17. server ends according to claim 16 it is characterised in that described operation data type at least include following its One of or combination in any:By the editor frequency, multiple person cooperational processing information in predetermined amount of time, browsing fileinfo, literary composition Part amount of change information, the number information that is opened, file attribute information, active degree information, cumulative edit duration information.
A kind of 18. server apparatus are it is characterised in that install just like the server end described in claim 12-17.
A kind of 19. clients are it is characterised in that described client includes:
List obtaining unit, for obtaining listed files to be synchronized, described listed files to be synchronized includes file to be synchronized, institute State the All Files that file to be synchronized is derived under assigned catalogue;
Mark unit, for file to be synchronized described in the primary word message identification according to included in each file name to be synchronized File to be synchronized in list, obtains the first identification information, described first identification information is to represent the important journey of each file to be synchronized The weighted value of degree;
Transmission sequence obtaining unit, for obtaining the transmission sequence of each file to be synchronized;
Lock unit, for the transmission sequence according to each file to be synchronized in described listed files to be synchronized, executes file same Step operation;
First statistic unit, for counting and preserving the important word information included in each file name to be synchronized.
20. clients according to claim 19 are it is characterised in that described first identification information is to represent each literary composition to be synchronized The weighted value of part significance level is:
Wherein,
Wherein, PaFor certain important word parameter, W in keywords databaseaFor this important word parameter PaThe weight of relatively all primary words, a For primary word number in file name to be synchronized, PPrimary wordPrimary word information parameter included in file name to be synchronized.
21. clients according to claim 19 are it is characterised in that described client also includes:
Sequencing unit, for according to described first identification information, entering to each file to be synchronized in described listed files to be synchronized Row sequence, obtains ranking results, so that transmission sequence obtaining unit obtains the transmission sequence of each file to be synchronized.
22. clients according to claim 19 are it is characterised in that described client also includes:
Second statistic unit, for counting and preserving the peration data that described file to be synchronized is operated;
Described mark unit, is additionally operable to according to be synchronized in statistical information and the peration data described listed files to be synchronized of mark File.
23. clients according to claim 19 are it is characterised in that each represented by described first identification information is treated together The weighted value P of step file significance level is
Wherein, PPrimary wordPrimary word information parameter included in file name to be synchronized, WPrimary wordRepresent primary word information parameter The weight of the type parameter of certain peration data relative;PxRepresent the type parameter of certain peration data, WxRepresent this peration data Type parameter PxThe weight of relative all operations data type, x represents the number of type.
24. clients according to claim 23 it is characterised in that described operation data type at least include following wherein One of or combination in any:By the editor frequency, multiple person cooperational processing information in predetermined amount of time, browsing fileinfo, file Amount of change information, the number information that is opened, file attribute information, active degree information, cumulative edit duration information.
A kind of 25. terminal units are it is characterised in that install just like the client described in claim 19-24.
CN201310294315.7A 2013-07-12 2013-07-12 The method of file synchronization, device, client, server end and equipment Active CN103312826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310294315.7A CN103312826B (en) 2013-07-12 2013-07-12 The method of file synchronization, device, client, server end and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310294315.7A CN103312826B (en) 2013-07-12 2013-07-12 The method of file synchronization, device, client, server end and equipment

Publications (2)

Publication Number Publication Date
CN103312826A CN103312826A (en) 2013-09-18
CN103312826B true CN103312826B (en) 2017-03-01

Family

ID=49137604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310294315.7A Active CN103312826B (en) 2013-07-12 2013-07-12 The method of file synchronization, device, client, server end and equipment

Country Status (1)

Country Link
CN (1) CN103312826B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293514A (en) * 2016-07-26 2017-01-04 惠州市斯坦利科技有限公司 The document handling method of flash memory device and device
CN106227468A (en) * 2016-07-26 2016-12-14 惠州市斯坦利科技有限公司 Document handling method and device
CN107276913B (en) * 2017-05-23 2021-06-15 努比亚技术有限公司 Batch file transmission method, terminal and computer readable storage medium
CN110018761B (en) * 2018-01-10 2022-02-25 腾讯科技(深圳)有限公司 Method, device and terminal for managing recently used files
CN108243255A (en) * 2018-01-17 2018-07-03 安徽中骄智能科技有限公司 A kind of caching method and system of the remote synchronization pushing files based on VR equipment
CN112332947B (en) * 2020-07-30 2024-04-02 深圳Tcl新技术有限公司 Data transmission method, mobile terminal and computer storage medium
CN114528816B (en) * 2022-01-27 2023-03-17 北京飞书科技有限公司 Collaborative editing information display method and device, electronic equipment and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311934A (en) * 2008-06-30 2008-11-26 腾讯科技(深圳)有限公司 Medium player based key words content issue method and system
CN102893276A (en) * 2009-12-09 2013-01-23 奥沐尼芬有限公司 Method of synchronising digital media content
CN103067466A (en) * 2012-12-20 2013-04-24 北京奇虎科技有限公司 Client-side and method capable of achieving synchronic file storage
CN103136300A (en) * 2011-12-05 2013-06-05 北京百度网讯科技有限公司 Recommendation method and device of text related subject

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311934A (en) * 2008-06-30 2008-11-26 腾讯科技(深圳)有限公司 Medium player based key words content issue method and system
CN102893276A (en) * 2009-12-09 2013-01-23 奥沐尼芬有限公司 Method of synchronising digital media content
CN103136300A (en) * 2011-12-05 2013-06-05 北京百度网讯科技有限公司 Recommendation method and device of text related subject
CN103067466A (en) * 2012-12-20 2013-04-24 北京奇虎科技有限公司 Client-side and method capable of achieving synchronic file storage

Also Published As

Publication number Publication date
CN103312826A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN103312826B (en) The method of file synchronization, device, client, server end and equipment
CN103327123B (en) A kind of method of file synchronization, client, server end and equipment
CN103327124B (en) A kind of method of file synchronization, device, client, server end and equipment
Gu et al. Cost minimization for big data processing in geo-distributed data centers
CN104008028B (en) Intelligent mobile terminal data backup memory method and system based on many cloud storages
CN100547583C (en) Database automatically and the method that dynamically provides
CN105247529B (en) The synchronous voucher hash between directory service
CN104937582A (en) Data synchronization
CN103391318B (en) Data processing method, client, server end and equipment
US11928083B2 (en) Determining collaboration recommendations from file path information
Fang et al. Automated federated pipeline for parameter-efficient fine-tuning of large language models
CN109949881A (en) A kind of big data processing method and equipment based on block chain
CN109324997A (en) A kind of digital right guard method and device based on block chain
Gawinecki et al. Representing users in a travel support system
CN114723212A (en) Information security and data interoperation method based on virtual power plant block chain
CN101778111A (en) Automatic trust establishing method for resource security protection and system thereof
CN106372199B (en) A kind of multi version file management system supported based on metadata
CN110083758A (en) A kind of medical treatment search engine data platform system
Carr et al. Could the Web be a temporary glitch?
Lee et al. Link Predictions in an Online Health Community for Smoking Cessation
Ismaeel et al. Design of Locally E-Management System for Technical Education Foundation-Erbil
Zhang The Transformation of the New Media Communication Paradigm in the Metaverse Era and Blockchain Based on the Topological Characteristics of Information Communication
Cheng et al. Towards provenance and risk-awareness in social computing
Kiedrowski Management method of last mile communication networks in smart grid systems
Platt et al. Understanding user's needs in information gathering in social networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130918

Assignee: Xunlei Network Technology Co., Ltd., Shenzhen

Assignor: Beijing Jinshan cloud Network Technology Co., Ltd.|Beijing Jinshan cloud Technology Co., Ltd.

Contract record no.: 2014990000908

Denomination of invention: File synchronization method, file synchronization method device, client, server side and equipment

License type: Common License

Record date: 20141210

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
GR01 Patent grant
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170302

Address after: 100085 Beijing Haidian District Xiao Ying Road No. 33 4 4F03

Patentee after: Beijing Jin Bo Xunrui Network Technology Co. Ltd.

Address before: Room 33, No. five 5F02 100085 Beijing City Xiaoying road Haidian District

Patentee before: Beijing Jinshanyun Net Technology Co., Ltd.

Patentee before: Beijing Jinshanyun Technology Co., Ltd.