CN103391318B - Data processing method, client, server end and equipment - Google Patents

Data processing method, client, server end and equipment Download PDF

Info

Publication number
CN103391318B
CN103391318B CN201310294131.0A CN201310294131A CN103391318B CN 103391318 B CN103391318 B CN 103391318B CN 201310294131 A CN201310294131 A CN 201310294131A CN 103391318 B CN103391318 B CN 103391318B
Authority
CN
China
Prior art keywords
file
synchronized
information
parameter
operation data
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
CN201310294131.0A
Other languages
Chinese (zh)
Other versions
CN103391318A (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.)
Zhuhai Jinshan Cloud Technology Co., Ltd.
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 CN201310294131.0A priority Critical patent/CN103391318B/en
Publication of CN103391318A publication Critical patent/CN103391318A/en
Application granted granted Critical
Publication of CN103391318B publication Critical patent/CN103391318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of data processing method, client, server end and equipment, methods described includes:Obtain file to be synchronized;Count and preserve the operation data operated to the file to be synchronized, the file to be synchronized is identified according to the operation data, the first identification information corresponding to each file to be synchronized is obtained, first identification information is the identification information for representing each file significance level to be synchronized;According to first identification information, the file to be synchronized is ranked up.Using the embodiment of the present invention, it can identify which is vital document in file to be synchronized, and be ranked up according to the significance level of file so that vital document is both improved whole work efficiency, reduced the loss risk of vital document again by priority treatment.

Description

Data processing method, client, server end and equipment
Technical field
The present invention relates to file synchronization technical field, more particularly to a kind of data processing method in file synchronization field, Client, server end and equipment.
Background technology
With the development of cloud storage system technology, there are many terminal device access cloud storage systems.So-called terminal device bag Include notebook computer, desktop computer, MP4, TV, tablet personal computer(Pad), mobile communication equipment(Various smart mobile phones)Deng.
The various synchronous Dropbox products that prior art provides, can be same by the file of the various terminal equipment of user and high in the clouds Step server is connected, to help user to realize file-sharing and management on each terminal device.So-called synchronous Dropbox, such as fast disk Board(Trade mark)Dropbox, generally provide the work(for making identical file structure and data are consistent between more station terminal equipment of user Energy.
For example, user is in a certain terminal device(Such as Office PC)File in local hard drive is entered edlin, movement, After the operation such as changing, replicating, deleting, renaming, active client can be ranked up according to the title of file after modification, according to sequence Result afterwards is sequentially by the file synchronization services device of these amended file synchronizations to high in the clouds.When needing high in the clouds file synchronization The other-end equipment of file synchronization on server to the user(Such as the computer of family)When, still according to file name order Perform simultaneously operating.
During prior art is performed, inventor has found that prior art at least has problems with:When having compared with multifile When needing synchronous, it can only be put in order according to file name and perform simultaneously operating, so, some unessential files may be arranged all Before list to be synchronized, and vital document needs to wait very long duration to be just synchronized, it is impossible to which vital document is preferentially same Step, such as in some file of multi-person synergy editor, the demand of this document priority synchronization is more urgent, otherwise will cause overall coordination The operating efficiency of work is low, and causes the burden of server process synchronisation requirement;Moreover, if some vital document is compiled Collect frequently, when this document is located at the position after synchronous list relatively, vital document is once damaged or lost, it is impossible to is made up, increasing The loss risk of vital document, synchronous documents are influenceed to prevent file from losing the realization of purpose.
Therefore, how to identify which is the problem of vital document turns into urgent need to resolve in file to be synchronized.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of data processing method, client, server end and equipment, to know It is vital document which does not go out in file to be synchronized, so as to priority treatment vital document, improves whole work efficiency, drop The loss risk of low vital document.
The embodiments of the invention provide a kind of data processing method, applied to file synchronization technical field, methods described bag Include:
Obtain file to be synchronized;
The operation data operated to the file to be synchronized is counted and preserves, according to operation data mark File to be synchronized, obtains the first identification information corresponding to each file to be synchronized, and first identification information is to represent respectively to treat together The identification information of step file significance level;
According to first identification information, the file to be synchronized is ranked up.
Wherein, the identification information of each file significance level to be synchronized represented by the first identification information is weighted value P,
Wherein, PxRepresent the type parameter of some operation data, WxRepresent operational data class shape parameter PxRelatively all behaviour Make the weight of data type, x represents the number of type.
Wherein, the operation data type comprises at least one of or any combination:Compiled in predetermined amount of time Important word information, multiple person cooperational processing information included in volume frequency, file name to be synchronized, browsing fileinfo, File variation information, the number information that is opened, file attribute information, active degree information, cumulative edit duration information.
Wherein, if the operation data type is by editor's frequency information in predetermined amount of time;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified within a predetermined period of time by editor's frequency information according to file to be synchronized;
Then Px=PThe frequency
The PThe frequencyFor the frequency parameter edited in predetermined amount of time.
Wherein, the frequency parameter edited in the predetermined amount of time is compiled for some file to be synchronized in some period The number information collected.
Wherein, if the operation data type is the important word information included in each file name to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the important word information included in each file name to be synchronized;
Then
Wherein, the PPrimary wordFor the primary word information parameter included in file name to be synchronized, PaFor some primary word Parameter, WaFor the important word parameter PaThe weight of relatively all primary words, a are primary word number in file name to be synchronized.
Wherein, some described important word parameter includes:If obtained after treating the title progress word segmentation processing of synchronous documents Dry word, the parameter corresponding to each word is important word parameter.
Wherein, if the operation data type is the multiple person cooperational processing information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the multiple person cooperational processing information of each file to be synchronized;
Then
Wherein, PMultiple person cooperationalFor the multiple person cooperational processing information parameter of file to be synchronized, PbRepresent that some in multiple person cooperational refers to The parameter of condition, WbFor reference conditions parameter PbThe weight of relatively all reference conditions, b represent to need to refer in multiple person cooperational Condition number.
Wherein, some reference conditions in the multiple person cooperational include:Participate in the number of collaborative editing, participate in collaboration access Number, whether have important relation people in the total degree edited of more people or participant.
Wherein, if the operation data type browses fileinfo for each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the fileinfo that browses of each file to be synchronized;
Then
Wherein, PJust browse fileFileinfo parameter, P are browsed for file to be synchronizedcExpression browses certain in file The parameter of individual reference conditions, WcFor reference conditions parameter PcThe weight of relatively all reference conditions, c represent to browse file In the condition number that needs to refer to.
Wherein, described some reference conditions browsed in file include:
All Files list or file is browsed under the title of the file browsed, the folder path browsed Opening time.
Wherein, if the operation data type is the file variation information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the file variation information of each file to be synchronized;
Then Px=PFile variation
Wherein, the PFile variationFor the file variation information parameter of file to be synchronized.
Wherein, if the operation data type is the number information that is opened of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the number information that is opened of each file to be synchronized;
Then
Wherein, the PBe opened numberIt is opened number information parameter for the file of file to be synchronized.PdRepresent that file is opened The parameter of some reference conditions, W in numberdFor reference conditions parameter PdThe weight of relatively all reference conditions, d represent file Be opened the condition number needed to refer in number.
Wherein, the file some reference conditions in number that are opened include:User oneself opens the number of some file, The number summation that some file is opened by all teamworkers in the case of multiple person cooperational, identical file are opened simultaneously by different teamworkers Number, the total number of persons that identical file is opened by all teamworkers in the case of multiple person cooperational, or open in people important relation everybody Number.
Wherein, if the operation data type is the file attribute information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the file attribute information of each file to be synchronized;
Then
Wherein, PFile attributeFor the file attribute information parameter of file to be synchronized, PeRepresent that some in file attribute information refers to The parameter of condition, WeFor reference conditions parameter PeThe weight of relatively all reference conditions, e represent to need in file attribute information The condition number of reference.
Wherein, some reference conditions includes in file attribute information:Whether file extension, file are arranged to important text Whether part, file are read-only, limit editorial staff, with password, if are arranged to the file that cooperates, filemodetime, use Family custom parameter or the file counted according to user's use habit are accessed number.
Wherein, if the operation data type is the active degree information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the active degree information of each file to be synchronized;
Then
Wherein, PActive degreeFor the active degree information parameter of each file to be synchronized;PfRepresent certain in the active degree of file The parameter of individual reference conditions, WfFor reference conditions parameter PfThe weight of relatively all reference conditions, f represent file active degree In the condition number that needs to refer to.
Wherein, some reference conditions includes in the active degree of the file:It is more by editor's number, be opened number compared with It is more, or be shared to more people.
Wherein, if the operation data type is the cumulative edit duration information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the cumulative edit duration information of each file to be synchronized;
Then
Wherein, wherein, PCumulative edit durationFor the cumulative edit duration information parameter of file to be synchronized, PgWhen representing cumulative edit The parameter of some reference conditions, W in long messagegFor reference conditions parameter PgThe weight of relatively all reference conditions, g represent tired The condition number needed to refer in meter editor's duration.
Wherein, some reference conditions includes in the cumulative edit duration information:Add up editor-in-chief's duration of some file, Add up some file by the total duration at editor interval, file is in the time of some period all teamworker's cumulative edits, or adds up The total duration that some file is opened.
Wherein, according to first identification information, the step of being ranked up to the file to be synchronized, includes:
When the identification information of each file significance level to be synchronized represented by first identification information is weighted value, Arranged according to weighted value descending.
The embodiment of the present invention additionally provides a kind of client, including:
Acquiring unit, for obtaining file to be synchronized;
Unit is identified, for according to the operation data operated to the file to be synchronized, identifying the text to be synchronized Part, the first identification information corresponding to each file to be synchronized is obtained, first identification information is to represent each file weight to be synchronized Want the identification information of degree;
Sequencing unit, for according to first identification information, being ranked up to the file to be synchronized.
Wherein, the client also includes:Statistic unit, the file to be synchronized is operated for counting and preserving Operation data.
The embodiment of the present invention additionally provides a kind of terminal device, is provided with foregoing client.
The embodiment of the present invention additionally provides a kind of server end, including:
Acquiring unit, for obtaining file to be synchronized;
Statistic unit, for counting and preserving the operation data treated synchronous documents and operated;
Unit is identified, the file to be synchronized is identified according to the operation data, obtained corresponding to each file to be synchronized First identification information, first identification information are the identification informations for representing each file significance level to be synchronized.
Sequencing unit, for according to first identification information, being ranked up to the file to be synchronized.
The embodiment of the present invention additionally provides a kind of server apparatus, is provided with foregoing server end.
As seen from the above technical solutions, the data processing method that is provided using the embodiment of the present invention, client, service It device end and equipment, can identify which is vital document in file to be synchronized, and be carried out according to the significance level of file Sequence so that vital document can both improve whole work efficiency by priority treatment, reduce the loss wind of vital document again Danger.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of data processing method according to embodiments of the present invention;
Fig. 2 is a kind of logical construction schematic diagram of client 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 the logical construction schematic diagram of another client according to embodiments of the present invention;
Fig. 5 is a kind of logical construction schematic diagram of server end according to embodiments of the present invention.
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 describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, it is the schematic flow sheet of a data processing method according to embodiments of the present invention, and the present embodiment both may be used Applied to client, server end can also be applied to, specifically included:
Step 101, file to be synchronized is obtained.
Here, the file under All Files of the file to be synchronized under assigned catalogue, such as the control of fast disk client The file and file of middle form of ownership.For current device(Such as the hardware device such as PC, mobile device)For, when this refers to Determine the file under catalogue inside any variation perhaps occurs in structure after, the file after the variation can be transferred to another equipment, To ensure that the data under the assigned catalogue used in the user on all devices of the file after changing are 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(Assuming that the equipment is provided with client)The file content and file structure done Modification, transmit upstream to server, and then downlink transfer is to the other equipment of user(The equipment is provided with client);Or will User is in other equipment(The equipment is provided with client)The uplink done to server file content and file The modification of structure, downlink transfer to current device, the transmission of this up-downgoing is to ensure the user in all devices (client End) done to any file content and all modifications of file structure all in synchronous regime.
As one embodiment, if current device is fitted without client certainly, but some way and clothes can be passed through Business device end keeps communication connection status, such as two-dimensional code scanning mode to establish interim connection, can also realize above-mentioned technical proposal.
For example, client determines that user enters destination folder by the interface of operating system(Such as store literary in Dropbox File under the control of the file of part, i.e. client), and changed the information in the destination folder;For example, user exists In file under Dropbox control, some newly-built file or folder, edit some file, change certain file or folder Title or delete some file or folder, have changed file or folder attribute etc., then the text involved by the change Part or file are all files to be synchronized.
When the present embodiment is applied to client, the file to be synchronized can be by client from local acquisition, can also be by Client obtains from server, is to network by the advantages of client acquisition file, saves bandwidth;Accordingly, when this implementation Example is when being applied to server end, and the file to be synchronized can be by server from local acquisition, can also be by server from client The advantages of obtaining, file is obtained by server end is that server end as early as possible can be carried out the file to be synchronized of all access devices Collect, it is more global and efficient to obtain file than client.The application is not limited the mode for obtaining file to be synchronized. It is local file to be synchronized from what is locally obtained, what it is from server acquisition is with being treated together on all devices of server end access Step file.
It should be noted that if desired, it may further include based on step 101, when the present embodiment is applied to client , can be by client according to local file generated to be synchronized list to be synchronized during end(Most preferred embodiment), advantage is to join Net, bandwidth is saved, it is more efficient to collect local file to be synchronized;The row to be synchronized generated can also be directly obtained from server Table, relatively it is applied to the situation that server end counts file to be synchronized.That is, listed files to be synchronized can locally obtain from client Take, or, obtained from server end.Similar, can be by server according to server when the present embodiment is applied to server The file generated to be synchronized list to be synchronized of statistics is held, the list to be synchronized generated can also be directly obtained from client.By The advantages of server end generation list to be synchronized is that server end as early as possible can be carried out the file to be synchronized of all access devices Collect, it is more global and efficient to generate list to be synchronized than client;In a word, the application is not to generating list to be synchronized Concrete mode limits.That is, listed files to be synchronized can obtain from client, or, locally obtained from server end.
The generation method of generation list to be synchronized is identical with prior art, and I will not elaborate.
Step 102, the operation data operated to the file to be synchronized is counted and preserves, according to the operation data The file to be synchronized is identified, obtains the first identification information corresponding to each file to be synchronized, first identification information is table Show the identification information of each file significance level to be synchronized.
Here, the identification information of each file significance level to be synchronized represented by the first identification information can be weighted value P,
Wherein, PxRepresent the type parameter of some operation data, WxRepresent operational data class shape parameter PxRelatively all behaviour Make the weight of data type, x represents the number of type.
Aforesaid operations data type comprises at least one of or any combination:(1)Edited in predetermined amount of time The frequency,(2)Important word information included in file name to be synchronized,(3)Multiple person cooperational processing information,(4)Browse text Part information,(5)File variation information,(6)Be opened number information,(7)File attribute information,(8)Active degree information, (9)Cumulative edit duration information.
Specifically, above-mentioned x value can be the arbitrary value in 1-9, when x values are 1, represent that above-mentioned weight is only joined An operation data type is examined, certainly, the operation data type can be any one in above-mentioned 1-9, when x values are 2, Represent that above-mentioned weight refers to two operation data types, certainly, two operation data types can be any in above-mentioned 1-9 Two, similar, x values represent to may be referred to any three operation data types in above-mentioned 1-9 for 3.
It should be noted that the identification information of each file significance level to be synchronized represented by above-mentioned first identification information Can also be sequence number, precedence information etc., the application not performance to the identification information of each file significance level to be synchronized Form limits, and any mode that can be used for representing significance level identification information can be applied in the application.
In order to make it easy to understand, the partial data of aforesaid operations data type is illustrated:
(1)Referred in predetermined amount of time by editor's frequency, time that some file to be synchronized is edited within some period Number information, for example, being counted from current time, the number that some file is edited in nearest 2 hours;For example established again from this document Time, this document was accumulative by editor's number so far.
(2)Important word information included in file name to be synchronized refers to, for example, include in file name " password ", The important word of " agreement ", " I ", " important ", " user name ", " account book ", " evidence " etc, and these primary words are important Degree, the number that these words occur etc..
(3)Multiple person cooperational processing information refers to, such as participates in the number of collaborative editing, participates in number that collaboration accesses, be more Whether there is important relation people etc. in total degree that people edits, participant.
(4)Fileinfo is being browsed to refer to, such as the title of the file that is browsing of user, the file that browses Press from both sides All Files list under path, the opening time for browsing file etc..
(5)After file variation information refers to, such as user edits file, this document varies by how many data.
(6)The number information that is opened refers to, such as user oneself opens the number of some file, or multiple person cooperational situation Under, number summation that some file is opened by all teamworkers.
(7)File attribute information refers to, such as file extension, and whether file by user is arranged to vital document, file Whether it is read-only, limits editorial staff, with password, if is arranged to cooperate file, filemodetime etc., passes through these Attribute information shows the significance level of this file.
(8)Active degree information refers to, such as according to by editor's number is more, the number that is opened is more, is shared to more People etc. calculates active degree.
(9)Cumulative edit duration information refers to, such as the time of user oneself cumulative edit since document creation, owns The time of teamworker and user cumulative edit together, or file is in the time of some period all teamworker's cumulative edits Deng.
On WxRepresent operational data class shape parameter PxThe weight of relatively all operation data types.Above-mentioned 9 operands It is different according to contribution of the type for file significance level, such as(1)By editor's number than(2)The power of active degree information Weight is higher, therefore by each WxDifferent weights is assigned to adjust each operational data class shape parameter to the important journey of file The contribution of degree.
It should be noted that the application is not limited the type of operation data, operation data enumerated above The embodiment that type is only possible to, the type of any operation data that can be used for judging significance level can be applied to In the application.
Step 103, according to first identification information, the file to be synchronized is ranked up.
When the identification information of each file significance level to be synchronized represented by first identification information is weighted value, It can be arranged according to weighted value descending.
Wherein, the mode being ranked up to the file to be synchronized can include following two modes:
Mode one:Mark is transmitted to each file to be synchronized, transmission sequence is obtained according to transmission mark result, That is, putting in order for each file to be synchronized is constant, and the order of transmission is identified simply by mark, is treated together so as to realize The sequence of step file.
Mode two:The position of each file to be synchronized is rearranged according to the order of transmission, according to each text to be synchronized The position of part obtains transmission sequence.That is, by the high file arrangements to be synchronized of significance level above, each file to be synchronized Sequence of positions is transmission sequence, so as to realize the sequence for treating synchronous documents.
Certainly, the application does not treat the sortords of synchronous documents and limited, and any possible sortord can Applied in the application.
Below to above-mentioned formula(1)It is described in detail again.
It can be seen from explanation above, above-mentioned formula(1)In x be natural number, such as can be with value 1-9, it is possible to understand that:
When x values are equal to 1, because only considering a condition, the W in above-mentioned formulaxUsual value is 1, certainly, if Need 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 values are not equal to 1, it is necessary to reference to multiple conditions, now, WxValue be typically not equal to 1, specifically, Wx Value be to be determined according to the weight of each operation data type.
For example, x=3, and the data manipulation type referred to is(1)In predetermined amount of time by editor's frequency,(3)Multiple person cooperational Processing information,(5)File variation information, then formula now(1)For:
W in above-mentioned formulaThe frequency、WMultiple person cooperational、WFile variationValue be different, for example, WThe frequencyValue 1.5, WMultiple person cooperationalValue For 2, WFile variationValue is 1.
It is appreciated that in actual applications, the type of any operation data that can be referenced can apply the application In, that is, x value can also be not limited to above-mentioned 1-9, can change with the change of operand type.When there is multiple operations When data type is referenced, WxCan be positive number, negative or zero.Wherein WxIt is negative number representation, the weight of the parameter does not weigh very much Will;WxIt is that the zero expression parameter this statistics does not have referential.Specifically, WxA kind of=0 situation is that client needs and taken P is obtained after the link of business device endx, but can not be communicated within effective time with server end and obtain PxParameter, then by WxIt is entered as 0。
Below to x values be 1 when, it is various in the case of PxIllustrate respectively.
(1)If the operation data type is by editor's frequency information in predetermined amount of time;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified within a predetermined period of time by editor's frequency information according to file to be synchronized;
Then Px=PThe frequency
The PThe frequencyFor the frequency parameter edited in predetermined amount of time.
Specifically, client server treats time that synchronous documents statistics is edited within a predetermined period of time in advance Number, after client obtains list to be synchronized, obtain the number that file to be synchronized is edited within a predetermined period of time;Client or clothes Business device end can also carry out the number edited in statistics predetermined amount of time to All Files in network disk file in advance, then be directed to File in list to be synchronized, obtain by editor's number and calculate 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 arrangement according to weighted value P, according to be synchronized after rearrangement Listed files is by the high file prioritised transmission of the frequency, to realize that these files can complete synchronization as early as possible before being edited in next time.When So, according to the needs of practical application, WThe frequencyPositive number, negative or zero can be taken.
Above-mentioned preset time period can manually be set, such as manually set to the file to be synchronized in the T1-T2 periods Editor's number counted;Above-mentioned preset time period can also be that system is voluntarily set, such as be opened into statistics from client Time of origin ends, and the editor's number for during this period of time treating synchronous documents is counted, or, record and opened from client The current time occurred to statistics ends editor's number in this period, but only to nearest a period of time in this period(Example Such as nearest two hours)Editor's frequency counted.As most preferred embodiment, it is believed that this document is compiled since foundation Volume number is more, and its significance level to user is bigger, therefore establishes this period so far from file, is optimal timing statisticses Scope.
It should be noted that as most preferred embodiment, the above-mentioned statistics by editor's frequency information and client it is current whether Network unrelated, this can continuously be counted by editor's frequency information, it is not necessary to be reset because of suspension.Certainly, reset after suspension, It can realize to being recalculated by editor's frequency information.
(2)If the operation data type is the important word information included in each file name to be synchronized;It is described The step of identifying the file to be synchronized in the listed files to be synchronized according to the operation data includes:According to each to be synchronized Important word information included in file name is identified;
Then
Wherein, the PPrimary wordFor the primary word information parameter included in file name to be synchronized, PaFor some primary word Parameter, WaFor the important word parameter PaThe weight of relatively all primary words, a are primary word number in file name to be synchronized.
Specifically, a kind of possible mode is to collect file name to be synchronized, the file name to be synchronized is carried out Word segmentation processing, obtain some words(That is primary word), inquired about in the keywords database prestored, possessed in the keywords database Each primary word title, corresponding each important word parameter PaAnd the weight W of the primary worda, then calculate it is each through participle at The weight of word after reason, the weight of each word is added, and then obtains the weighted value P of file name to be synchronizedPrimary word
For example, there is two files to be synchronized, one entitled " common cooperation agreement ", another is " important cooperation agreement ", then Result after being segmented to two file names is respectively " common ", " cooperation " and " agreement ", with " important ", " cooperation " and " agreement ".Root According to keyword database, the keyword 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 Pa4" common ", " cooperation ", " agreement " and " important " parameter, W are represented respectivelya1、Wa2、Wa3And Wa4, point The weight of each parameter is not represented, and weighted value can be positive number, negative or zero.
It should be noted that above-mentioned keywords database can be set in advance, can also possess self-learning function, i.e. basis The use habit of user is learnt and adjusted.Keywords database, which is put, 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.
(3)If the operation data type is the multiple person cooperational processing information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the multiple person cooperational processing information of each file to be synchronized;
Then
Wherein, PMultiple person cooperationalFor the multiple person cooperational processing information parameter of file to be synchronized, PbRepresent that some in multiple person cooperational refers to The parameter of condition, WbFor reference conditions parameter PbThe weight of relatively all reference conditions, b represent to need to refer in multiple person cooperational Condition number.
Specifically, a kind of possible mode is to set the reference parameter of multiple person cooperational, obtained according to the weight of parameters The weighted value of file to be synchronized.For example, set following three parameters i.e. b=3:Participate in the number of collaborative editing, participate in collaboration visit Whether there is important relation people in the number asked, participant(Such as senior in office in company, important people is arranged to by the user People, the people more with the users to share and the number that cooperates of member), then, for a file to be synchronized, its weighted value isWherein, Pb1、Wb1 To participate in the weight of the parameter of collaborative editing number and the parameter, Pb2、Wb2To participate in the parameter and the parameter of collaboration the number of visiting people Weight, Pb3、Wb3Whether to have important relation people parameter and the weight of the parameter in participant.
It should be noted that three parameters of setting are only a possible embodiment above, the application is not right Set number of parameters and content is defined, and concrete application can determine according to actual conditions.
(4)If the operation data type browses fileinfo for each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the fileinfo that browses of each file to be synchronized;
Then
Wherein, PJust browse fileFileinfo parameter, P are browsed for file to be synchronizedcExpression browses certain in file The parameter of individual reference conditions, WcFor reference conditions parameter PcThe weight of relatively all reference conditions, c represent to browse file In the condition number that needs to refer to.
PcReference conditions can be the title for the file that user is browsing, own under the folder path that browses Listed files, the opening duration for browsing file etc..
Specifically, a kind of possible path for being achieved in that, obtaining file where currently browsing file, judges Whether this document folder is the root folder for storing file in Dropbox, if it is not, this document then is pressed from both sides into lower All Files all assigns the One weight, the file to be synchronized under non-this document is pressed from both sides all assign the second weight, wherein, the first weight is more than the second weight;If Be, then it is without any processing.So, the file that can currently browsing obtains higher weight.For example, root folder For E:Fast disk, the file currently browsed is in " E:Fast disk file " in the case of, then by " E:Fast disk file " in All files to be synchronized all assign as the first weight such as 10, by non-" E:Fast disk file " in file to be synchronized all assign For the second weight such as 5.Certainly, above-mentioned second weight can also be equal to zero or negative, now, current just equivalent to only consideration The file where the file browsed.
It is because of if worked as it should be noted that why to determine whether to store the root folder of file in Dropbox The preceding file browsed is in root folder, then needs all to assign file all in root folder to the first weight, this All file weights to be synchronized of sample are actual all the same, lost the meaning of weight.Only in the text currently just browsed When part is in non-root folder, different priorities can be distinguished by foregoing different weight.So, can cause current All Files under file where browsing file obtains priority synchronization.
Alternatively possible is achieved in that, obtains current file where browsing file in list to be synchronized, only First grade file during this document is pressed from both sides assigns the first weight, i.e. file in this document folder in sub-folder no longer carries out any place Reason.So, the first grade file under file where currently browsing file can be caused to obtain priority synchronization.
(5)If the operation data type is the file variation information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the file variation information of each file to be synchronized;
Then Px=PFile variation
Wherein, the PFile variationFor the file variation information parameter of file to be synchronized.
Specifically, a kind of possible modification amount for being achieved in that, counting each file to be synchronized, according to the big of modification amount It is small to assign different weights, wherein, modification amount is smaller, and weight is higher, and modification amount is bigger, and weight is smaller.For example, a file is repaiied Changed two words, another file adds the content of a paragragh, then, have modified two words file be endowed it is higher Weight, another file will be endowed relatively low weight.The small file of prioritised transmission modification amount.
(6)If the operation data type is the number information that is opened of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the number information that is opened of each file to be synchronized;
Then
Wherein, the PBe opened numberIt is opened number information parameter for the file of file to be synchronized.PdRepresent that file is opened The parameter of some reference conditions, W in numberdFor reference conditions parameter PdThe weight of relatively all reference conditions, d represent file Be opened the condition number needed to refer in number.PdReference conditions can be number that user oneself opens some file, Or in the case of multiple person cooperational, number summation that some file is opened by all teamworkers etc..
It is achieved in that specifically, one kind is possible, counts and obtain the number that file to be synchronized is opened, is opened secondary The more file of number is endowed higher weight, to ensure that the file being opened often is having the preferentially transmitted, to realize these files Synchronization can be completed before being opened in next time as early as possible.Certainly, according to the needs of practical application, WBe opened numberPositive number, negative can be taken Or zero.
Alternatively possible is achieved in that, sets the reference parameter for the number that is opened, is treated according to the weight of parameters The weighted value of synchronous documents.For example, set following three parameters:Identical file opens number simultaneously by different teamworkers, more people assist Make the situation total number of persons that similarly hereinafter a file is opened by all teamworkers, open important relation people's number in people(Such as position in company Higher people, the people of important persons, people more with the users to share and the number that cooperates etc. are arranged to by the user), i.e. d=3, that , for a file to be synchronized, Wherein, Pd1、Wd1For identical file number parameter and the weight of the parameter, P are opened by different teamworkers simultaneouslyd2、Wd2For same text Part is opened total number of persons parameter and the weight of the parameter, Pd3、Wd3Open the power of important relation people's number parameter and the parameter in people Weight.
It should be noted that three parameters of setting are only a possible embodiment above, the application is not right Set number of parameters and content is defined, and concrete application can determine according to actual conditions.
(7)If the operation data type is the file attribute information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the file attribute information of each file to be synchronized;
Then
Wherein, PFile attributeFor the file attribute information parameter of file to be synchronized, PeRepresent that some in file attribute information is joined Examine the parameter of condition, WeFor reference conditions parameter PeThe weight of relatively all reference conditions, e represent to need in file attribute information The condition number to be referred to.File attribute information as reference conditions includes:Whether file extension, file are set by user For vital document, whether file is read-only, limits editorial staff, with password, if is arranged to the file that cooperates, file modification Time, User Defined parameter, the file counted according to user's use habit are accessed number etc., pass through these attribute informations To show the significance level of this file.
Specifically, a kind of possible reference parameter for being achieved in that, setting file attribute information, according to parameters Weight obtains the weighted value of file to be synchronized.For example, set following two parameters:User Defined parameter, made according to user The file gone out with habit statistical is accessed number, i.e. e=2, then, for a file to be synchronized,Wherein, Pe1、We1For User Defined parameter and it is somebody's turn to do The weight of parameter, Pe2、We2File to be counted according to user's use habit is accessed count parameter and the weight of the parameter.
Specifically, file extension is a kind of mechanism that operating system is used for logo file form.Can be with using extension name Distinguish different file types.When extending entitled temporary file, garbage files, severity level is minimum, and generally we are by WeTake It is worth negative, the file significance level that the extension name is identified reduces.
Specifically, file is the file that some application program stores temporary file or garbage files, this document folder And the file under this document folder, its corresponding WeValue negative so that weight is negative value, and file significance level drops significantly It is low.
Specifically, file is some application program mark be more people's Shared Folders situation, this document folder and place File under this document folder, its corresponding WeValue positive number, weight rise, file significance level rise.
(8)If the operation data type is the active degree information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the active degree information of each file to be synchronized;
Then
Wherein, PActive degreeFor the active degree information parameter of each file to be synchronized.PfRepresent certain in the active degree of file The parameter of individual reference conditions, WfFor reference conditions parameter PfThe weight of relatively all reference conditions, f represent file active degree In the condition number that needs to refer to.Wherein PfCan be edited number, the number that is opened, be shared to more people etc. refer to because Element.
Specifically, a kind of possible reference parameter for being achieved in that, setting active degree information, according to parameters Weight obtains the weighted value of file to be synchronized.For example, set following two parameters:It is currently at treating together for screen display state Step file, the more file to be synchronized of the number that is opened, i.e. f=2, then, for a file to be synchronized,Wherein, Pf1、Wf1To be currently at treating for screen display state The weight of synchronous documents parameter and the parameter, Pf2、Wf2For the more file parameters to be synchronized of the number that is opened and the power of the parameter Weight.So, the high file of active degree can be allowed by priority synchronization.
(9)If the operation data type is the cumulative edit duration information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to It is identified according to the cumulative edit duration information of each file to be synchronized;
Then
Wherein, wherein, PCumulative edit durationFor the cumulative edit duration information parameter of file to be synchronized, PgWhen representing cumulative edit The parameter of some reference conditions, W in long messagegFor reference conditions parameter PgThe weight of relatively all reference conditions, g represent tired The condition number needed to refer in meter editor's duration.Reference conditions as cumulative edit duration information include:User oneself is certainly The time of cumulative edit is the editor-in-chief's duration for adding up some file since document creation, and all teamworkers and user add up together The time of editor is to add up some file by the total duration at editor interval, or file in some period all teamworkers to be added up The time of editor, or add up total duration that some file is opened etc..
Specifically, a kind of possible reference parameter for being achieved in that, setting cumulative edit duration information, according to each ginseng Several weights obtains the weighted value of file to be synchronized.For example, set following three parameters:When adding up the editor-in-chief of some file It is long, add up the total duration that some file is opened by the total duration at editor interval, some accumulative file, i.e. g=3, then, for For one file to be synchronized,
Wherein, Pg1It is tired Count editor-in-chief's duration parameters of some file and the weight of the parameter, Pg2、Wg2For add up some file by editor interval it is total when The weight of long parameter and the parameter, Pg3、Wg3The total duration parameter and the weight of the parameter being opened for some accumulative file.
It should be noted that three parameters of setting are only a possible embodiment above, the application is not right Set number of parameters and content is defined, and concrete application can determine according to actual conditions.
Can it can be seen that the data processing method provided using the embodiment of the present invention, which identify in file to be synchronized It is vital document, and is ranked up according to the significance level of file so that vital document can be both improved by priority treatment Whole work efficiency, again reduce the loss risk of vital document.
It should be noted that if embodiment illustrated in fig. 1 is applied to client, obtains in step 102 and treated together to described The mode for the operation data that step file is operated includes:Locally obtained from client, or, obtained from server end;If Embodiment illustrated in fig. 1 is applied to server end, then the operation data operated to the file to be synchronized is obtained in step 102 Mode include:Locally obtained from server end, or, obtained from client.
It should be noted that for foregoing all embodiments, can also include:Treated together according to the file generated to be synchronized List is walked, further, treats that list to be synchronized performs the process that file synchronization operates according to described.
It should be noted that during file synchronization is performed, can also timing or real-time update list to be synchronized; After the completion of currently synchronous file synchronization operation, simultaneously operating is performed according to the list to be synchronized after the renewal.
So, it can more timely ensure that vital document by priority synchronization, further increases whole work efficiency, reduce The loss risk of vital document.It is current newest to be additionally, since performed list to be synchronized, can also avoid transmitting The file uploaded is needed after uploading in the original plan and no longer, Internet resources can be saved.
It should be noted that for aforementioned synchronization embodiment, if network interruption in synchronizing process, can also wrap Include:The list to be synchronized being being currently used is preserved, and records synchronous documents, after network reconnect, is treated according to described in Synchronous list, simultaneously operating is continued executing with to not synchronous file.
So, it is possible to reduce the number of inter-net communication, reduce network load, further save Internet resources, improve whole Body synchronous efficiency.
It should be noted that in the application, do not limited for the subsequent applications of the file to be synchronized after sequence, the above Described synchronous documents execution simultaneously operating for the treatment of is a kind of possible subsequent applications, and any possible subsequent applications can File to be synchronized after the sequence provided using the application.
The application is applied to a specific embodiment of field of synchronization:A kind of method of file synchronization is provided, including:
Listed files to be synchronized is obtained, file to be synchronized is included in the list to be synchronized;
The operation data operated to the file to be synchronized is counted and preserves, according to operation data mark File to be synchronized in listed files to be synchronized, obtain the first identification information corresponding to each file to be synchronized, first mark It is to represent the weighted value of each file significance level to be synchronized to know information;
According to first identification information, each file to be synchronized in the list to be synchronized is ranked up, obtained each The transmission sequence of individual file to be synchronized;
According to the transmission sequence of each file to be synchronized in the list to be synchronized, file synchronization operation is performed.
It is together to be performed to realize by client and server end to perform file synchronization operation.
Here, if according to each file to be synchronized in the list to be synchronized transmission sequence, perform file synchronization behaviour Make for client, then obtaining the mode of the operation data operated to the file to be synchronized includes:It is local from client Obtain, or, obtained from server end.
If according to the transmission sequence of each file to be synchronized in the list to be synchronized, execution file synchronization operation is Server end, then obtaining the mode of the operation data operated to the file to be synchronized includes:Locally obtained from server end Take, or, obtained from client.
Present invention also provides a kind of client, referring to Fig. 2, including:
Acquiring unit 201, for obtaining file to be synchronized;
Unit 202 is identified, for described to be synchronized according to the operation data operated to the file to be synchronized, mark File, the first identification information corresponding to each file to be synchronized is obtained, first identification information is to represent each file to be synchronized The identification information of significance level;
Sequencing unit 203, for according to first identification information, being ranked up to the file to be synchronized.
Above-mentioned client can also include:
Statistic unit(Figure does not regard), for counting and preserving the operation data operated to the file to be synchronized.
Present invention also provides a kind of terminal device, and it is provided with client as described above.
Can the client and terminal device provided using the embodiment of the present invention, which identify in file to be synchronized It is vital document, and is ranked up according to the significance level of file so that vital document can be both improved by priority treatment Whole work efficiency, the loss risk of vital document is reduced again.
Present invention also provides a kind of server end, referring to Fig. 3, including:
Acquiring unit 301, for obtaining file to be synchronized;
Statistic unit 302, for counting and preserving the operation data treated synchronous documents and operated;
Unit 303 is identified, the file to be synchronized is identified according to the operation data, it is corresponding to obtain each file to be synchronized The first identification information, first identification information is the identification information for representing each file significance level to be synchronized.
Sequencing unit 304, for according to first identification information, being ranked up to the file to be synchronized.
Present invention also provides a kind of server apparatus, and it is provided with server end as described above.
The server end and server apparatus provided using the embodiment of the present invention, can be identified in file to be synchronized Which is vital document, and is ranked up according to the significance level of file so that vital document can both be carried by priority treatment High whole work efficiency, the loss risk of vital document is reduced again.
A specific embodiment based on aforementioned synchronization field, present invention also provides a kind of client, referring to Fig. 4, institute Stating client includes:
List obtaining unit 401, for obtaining listed files to be synchronized, file to be synchronized is included in the list to be synchronized;
Unit 402 is identified, for described to be synchronized according to the operation data operated to the file to be synchronized, mark File to be synchronized in listed files, obtain the first identification information corresponding to each file to be synchronized, first identification information It is the weighted value for representing each file significance level to be synchronized;
Transmission sequence obtaining unit 403, for obtaining the transmission sequence of each file to be synchronized, the transmission sequence is basis Each file to be synchronized is ranked up acquisition in list to be synchronized described in first identification information pair;
Synchronization unit 404, for the transmission sequence according to each file to be synchronized in the list to be synchronized, perform file Simultaneously operating.
Above-mentioned client can also include:
Statistic unit(Figure does not regard), for counting and preserving the operation data treated synchronous documents and operated.
Above-mentioned client can also include:
Sequencing unit(Figure does not regard), for according to first identification information, being treated together to each in the list to be synchronized 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 according to the list to be synchronized, during performing file synchronization operation, determining When or real-time update list to be synchronized;
The synchronization unit(Figure does not regard), it is additionally operable to after the completion of currently synchronous file synchronization operation, according to institute State the list to be synchronized after renewal and perform simultaneously operating.
Above-mentioned client can also include:
Interruption logging unit(Figure does not regard), for during network interruption, preserving treating of being being currently used in synchronizing process Synchronous list, and record synchronous documents;
The synchronization unit(Figure does not regard), it is additionally operable to after network reconnects, according to the 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 device, is provided with foregoing client.
The client and terminal device provided using the embodiment of the present invention so that vital document was both carried by priority synchronization High whole work efficiency, the loss risk of vital document is reduced again.It is current to be additionally, since performed list to be synchronized Newest, the file uploaded is needed after transmission can also be avoided to upload in the original plan and no longer, Internet resources have been saved, with this Meanwhile it can more timely ensure that vital document by priority synchronization, further increases whole work efficiency, reduces important text The loss risk of part.Further, can be according to the list to be synchronized recorded to not synchronization after connection again of breaking in a network File continues executing with simultaneously operating, reduces the number of inter-net communication, reduces network load, further saves Internet resources, Improve Integral synchronous efficiency.
A specific embodiment based on aforementioned synchronization field, the embodiment of the present invention additionally provide a kind of server end, ginseng See Fig. 5, the server end includes:
List obtains single 501, and for obtaining listed files to be synchronized, file to be synchronized is included in the list to be synchronized;
Statistic unit 502, for counting and preserving the operation data treated synchronous documents and operated;
Unit 503 is identified, is treated in the listed files to be synchronized for identifying client generation according to the operation data Synchronous documents, obtain the first identification information corresponding to each file to be synchronized, and first identification information is to represent each to treat together The weighted value of step file significance level;
Synchronization unit 504, for the transmission sequence according to each file to be synchronized in the list to be synchronized, perform file Simultaneously operating.
Above-mentioned server end can also include:
Sequencing unit(Figure does not regard), for according to first identification information, being treated together to each in the list to be synchronized Step file is ranked up, and obtains ranking results, is operated so that the synchronization unit performs file synchronization according to ranking results.
Above-mentioned server end can also include:
Updating block(Figure does not regard), for according to the list to be synchronized, during performing file synchronization operation, determining When or real-time update list to be synchronized;
The synchronization unit, it is additionally operable to after the completion of currently synchronous file synchronization operation, after the renewal List to be synchronized perform simultaneously operating.
Above-mentioned server end can also include:
Interruption logging unit(Figure does not regard), for during network interruption, preserving treating of being being currently used in synchronizing process Synchronous list, and record synchronous documents;
The synchronization unit, it is additionally operable to after network reconnects, according to the 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 foregoing server end.
The server end and server apparatus provided using the embodiment of the present invention so that vital document by priority synchronization, Both whole work efficiency is improved, reduces the loss risk of vital document again.Being additionally, since performed list to be synchronized is It is current newest, the file uploaded is needed after transmission can also be avoided to upload in the original plan and no longer, has saved Internet resources, with This can more timely ensure that vital document by priority synchronization, further increases whole work efficiency, reduced important simultaneously The loss risk of file.Further, can be according to the list to be synchronized recorded to not synchronous after connection again of breaking in a network File continue executing with simultaneously operating, reduce the number of inter-net communication, reduce network load, further save network money Source, improve Integral synchronous efficiency.
For device related embodiment, because it is substantially similar to preceding method embodiment, so the comparison of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
For convenience of description, it is to be divided into various units with function to describe respectively to describe said apparatus and smart machine.When So, the function of each unit can be realized in same or multiple softwares and/or hardware when implementing of the invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can Realized by the mode of software plus required general hardware platform.Based on such understanding, technical scheme essence On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (Can be personal computer, server, or network equipment etc.)Perform some of each embodiment or embodiment of the invention Method described in part.
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 make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
The present invention can be used in numerous general or special purpose computing system environments or configuration.Such as: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, minicom, mainframe computer including any of the above system or equipment DCE etc..
The present invention can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, by Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with In the local and remote computer-readable storage medium including storage device.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all this Any modification, equivalent substitution and improvements made within the spirit and principle of invention etc., are all contained in protection scope of the present invention.

Claims (25)

1. a kind of data processing method, it is characterised in that applied to file synchronization technical field, methods described includes:
Obtain file to be synchronized, All Files of the file to be synchronized under assigned catalogue;
The operation data operated to the file to be synchronized is counted and preserved, is treated according to operation data mark same Step file, the first identification information corresponding to each file to be synchronized is obtained, first identification information is to represent each text to be synchronized The identification information of part significance level, operation data type comprise at least:Important word information included in file name to be synchronized And file attribute information;The primary word information includes:Important word;The file attribute information is used for showing the important of file Degree;
According to first identification information, the file to be synchronized is ranked up, treated together according to the file generated to be synchronized List is walked, the process of file synchronization operation is performed according to the list to be synchronized;The identification information is weighted value P,
Wherein, PxRepresent the type parameter of some operation data, WxRepresent operational data class shape parameter PxRelatively all operands According to the weight of type, x represents the number of type.
2. according to the method for claim 1, it is characterised in that the operation data type at least also include it is following wherein it One or any combination:In predetermined amount of time by editor's frequency, multiple person cooperational processing information, browsing fileinfo, file becomes Momentum information, the number information that is opened, active degree information, cumulative edit duration information.
3. according to the method for claim 2, it is characterised in that
If the operation data type is by editor's frequency information in predetermined amount of time;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:Foundation is treated Synchronous documents are identified by editor's frequency information within a predetermined period of time;
Then Px=PThe frequency
The PThe frequencyFor the frequency parameter edited in predetermined amount of time.
4. according to the method for claim 3, it is characterised in that the frequency parameter edited in the predetermined amount of time is certain The number information that some file to be synchronized is edited in the individual period.
5. according to the method for claim 1, it is characterised in that
If the operation data type is the important word information included in each file name to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each Important word information included in individual file name to be synchronized is identified;
Then
Wherein, the PPrimary wordFor the primary word information parameter included in file name to be synchronized, PaFor some important word parameter, WaFor the important word parameter PaThe weight of relatively all primary words, a are primary word number in file name to be synchronized.
6. according to the method for claim 5, it is characterised in that some described important word parameter includes:Treat synchronous documents Title carry out some words for obtaining after word segmentation processing, the parameter corresponding to each word is important word parameter.
7. according to the method for claim 2, it is characterised in that
If the operation data type is the multiple person cooperational processing information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The multiple person cooperational processing information of individual file to be synchronized is identified;
Then
Wherein, PMultiple person cooperationalFor the multiple person cooperational processing information parameter of file to be synchronized, PbRepresent some reference conditions in multiple person cooperational Parameter, WbFor reference conditions parameter PbThe weight of relatively all reference conditions, b represent the bar needed to refer in multiple person cooperational Part number.
8. according to the method for claim 7, it is characterised in that some reference conditions in the multiple person cooperational include:Ginseng Whether number with collaborative editing, the total degree for participating in cooperate with the number of access, more people to edit have important relation in participant People.
9. according to the method for claim 2, it is characterised in that
If the operation data type browses fileinfo for each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The fileinfo that browses of individual file to be synchronized is identified;
Then
Wherein, PJust browse fileFileinfo parameter, P are browsed for file to be synchronizedcExpression is browsing some in file and referred to The parameter of condition, WcFor reference conditions parameter PcThe weight of relatively all reference conditions, c represent to browse in file to need The condition number of reference.
10. according to the method for claim 9, it is characterised in that described some reference conditions bag browsed in file Include:
All Files list or beating for file is browsed under the title of the file browsed, the folder path browsed ETAD expected time of arrival and departure.
11. according to the method for claim 2, it is characterised in that
If the operation data type is the file variation information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The file variation information of individual file to be synchronized is identified;
Then Px=PFile variation
Wherein, the PFile variationFor the file variation information parameter of file to be synchronized.
12. according to the method for claim 11, it is characterised in that
If the operation data type is the number information that is opened of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The number information that is opened of individual file to be synchronized is identified;
Then
Wherein, the PBe opened numberIt is opened number information parameter for the file of file to be synchronized, PdRepresent that file is opened in number The parameter of some reference conditions, WdFor reference conditions parameter PdThe weight of relatively all reference conditions, d represent that file is opened The condition number needed to refer in number.
13. according to the method for claim 12, it is characterised in that the file is opened some reference conditions bag in number Include:User oneself opens the number of some file, and the number that some file is opened by all teamworkers in the case of multiple person cooperational is total Number is opened simultaneously by different teamworkers, identical file is opened by all teamworkers in the case of multiple person cooperational with, identical file Total number of persons, or open important relation people's number in people.
14. according to the method for claim 1, it is characterised in that
If the operation data type is the file attribute information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The file attribute information of individual file to be synchronized is identified;
Then
Wherein, PFile attributeFor the file attribute information parameter of file to be synchronized, PeRepresent some reference conditions in file attribute information Parameter, WeFor reference conditions parameter PeThe weight of relatively all reference conditions, e represent to need to refer in file attribute information Condition number.
15. according to the method for claim 14, it is characterised in that some reference conditions includes in file attribute information:Text Whether part extension name, file are arranged to vital document, and whether file is read-only, limits editorial staff, with password, if quilt The file that cooperates is arranged to, filemodetime, User Defined parameter or the file counted according to user's use habit are interviewed Ask number.
16. according to the method for claim 2, it is characterised in that
If the operation data type is the active degree information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The active degree information of individual file to be synchronized is identified;
Then
Wherein, PActive degreeFor the active degree information parameter of each file to be synchronized;PfRepresent that some in the active degree of file is joined Examine the parameter of condition, WfFor reference conditions parameter PfThe weight of relatively all reference conditions, f represent to need in file active degree The condition number to be referred to.
17. according to the method for claim 16, it is characterised in that some reference conditions bag in the active degree of the file Include:More by editor's number, the number that is opened is more, or is shared to more people.
18. according to the method for claim 2, it is characterised in that
If the operation data type is the cumulative edit duration information of each file to be synchronized;
It is described identified according to the operation data in the listed files to be synchronized file to be synchronized the step of include:According to each The cumulative edit duration information of individual file to be synchronized is identified;
Then
Wherein, PCumulative edit durationFor the cumulative edit duration information parameter of file to be synchronized, PgRepresent certain in cumulative edit duration information The parameter of individual reference conditions, WgFor reference conditions parameter PgThe weight of relatively all reference conditions, g represent cumulative edit duration In the condition number that needs to refer to.
19. according to the method for claim 18, it is characterised in that some reference conditions in the cumulative edit duration information Including:Add up editor-in-chief's duration of some file, add up some file by the total duration at editor interval, file is in some institute period There is the time of teamworker's cumulative edit, or add up the total duration that some file is opened.
20. according to the method described in claim 1-19, it is characterised in that according to first identification information, treated together to described The step of step file is ranked up includes:
When the identification information of each file significance level to be synchronized represented by first identification information is weighted value, according to Weighted value descending arranges.
A kind of 21. client, it is characterised in that including:
Acquiring unit, for obtaining file to be synchronized, All Files of the file to be synchronized under assigned catalogue;
Unit is identified, for according to the operation data operated to the file to be synchronized, identifying the file to be synchronized, obtaining The first identification information corresponding to each file to be synchronized is obtained, first identification information is to represent each file significance level to be synchronized Identification information, operation data type comprises at least:Important word information and file attribute included in file name to be synchronized Information;The primary word information includes:Important word;The file attribute information is used for showing the significance level of file;It is described Identification information is weighted value P,
Wherein, PxRepresent the type parameter of some operation data, WxRepresent operational data class shape parameter PxRelatively all operands According to the weight of type, x represents the number of type;
Sequencing unit, for according to first identification information, being ranked up to the file to be synchronized;According to described to be synchronized File generated list to be synchronized, the process operated by operating unit according to the list execution file synchronization to be synchronized.
22. client according to claim 21, it is characterised in that the client also includes:
Statistic unit, for counting and preserving the operation data operated to the file to be synchronized.
A kind of 23. terminal device, it is characterised in that client of the installation described in just like claim 21-22.
A kind of 24. server end, it is characterised in that including:
Acquiring unit, for obtaining file to be synchronized, All Files of the file to be synchronized under assigned catalogue;
Statistic unit, for counting and preserving the operation data treated synchronous documents and operated;
Unit is identified, the file to be synchronized is identified according to the operation data, obtained first corresponding to each file to be synchronized Identification information, first identification information are the identification informations for representing each file significance level to be synchronized, and operation data type is extremely Include less:Important word information and file attribute information included in file name to be synchronized;The primary word information includes:Weight Want word;The file attribute information is used for showing the significance level of file;The identification information is weighted value P,
Wherein, PxRepresent the type parameter of some operation data, WxRepresent operational data class shape parameter PxRelatively all operands According to the weight of type, x represents the number of type;
Sequencing unit, for according to first identification information, being ranked up to the file to be synchronized;According to described to be synchronized File generated list to be synchronized, the process operated by operating unit according to the list execution file synchronization to be synchronized.
25. a kind of server apparatus, it is characterised in that be provided with server end as claimed in claim 24.
CN201310294131.0A 2013-07-12 2013-07-12 Data processing method, client, server end and equipment Active CN103391318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310294131.0A CN103391318B (en) 2013-07-12 2013-07-12 Data processing method, client, server end and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310294131.0A CN103391318B (en) 2013-07-12 2013-07-12 Data processing method, client, server end and equipment

Publications (2)

Publication Number Publication Date
CN103391318A CN103391318A (en) 2013-11-13
CN103391318B true CN103391318B (en) 2017-11-14

Family

ID=49535473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310294131.0A Active CN103391318B (en) 2013-07-12 2013-07-12 Data processing method, client, server end and equipment

Country Status (1)

Country Link
CN (1) CN103391318B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10051020B2 (en) * 2015-06-26 2018-08-14 Microsoft Technology Licensing, Llc Real-time distributed coauthoring via vector clock translations
CN111949618A (en) * 2020-08-03 2020-11-17 联想(北京)有限公司 Processing method and processing device
CN114706831A (en) * 2022-06-06 2022-07-05 天津联想协同科技有限公司 Method and device for synchronizing network disk files

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893276A (en) * 2009-12-09 2013-01-23 奥沐尼芬有限公司 Method of synchronising digital media content
CN102955790A (en) * 2011-08-23 2013-03-06 苏州彭华信息技术有限公司 Method and device for synchronizing network documents
CN103067479A (en) * 2012-12-24 2013-04-24 珠海金山办公软件有限公司 Network disk synchronized method and system based on file coldness and hotness

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080147747A1 (en) * 2006-12-14 2008-06-19 Dan Cardamore Media system having synchronization with preemptive prioritization of synchronization order

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102893276A (en) * 2009-12-09 2013-01-23 奥沐尼芬有限公司 Method of synchronising digital media content
CN102955790A (en) * 2011-08-23 2013-03-06 苏州彭华信息技术有限公司 Method and device for synchronizing network documents
CN103067479A (en) * 2012-12-24 2013-04-24 珠海金山办公软件有限公司 Network disk synchronized method and system based on file coldness and hotness

Also Published As

Publication number Publication date
CN103391318A (en) 2013-11-13

Similar Documents

Publication Publication Date Title
CN103327123B (en) A kind of method of file synchronization, client, server end and equipment
CN105577841B (en) A kind of method, apparatus of file synchronization, client, server end and equipment
CN103312826B (en) The method of file synchronization, device, client, server end and equipment
CN115344548B (en) Predictive storage service
US20130191451A1 (en) Presence-based Synchronization
Aalst Business process management demystified: a tutorial on models, systems and standards for workflow management
US10319469B2 (en) Rule-based low-latency delivery of healthcare data
CN103391318B (en) Data processing method, client, server end and equipment
Yu et al. Research of an emergency medical system for mass casualty incidents in Shanghai, China: a system dynamics model
US11928083B2 (en) Determining collaboration recommendations from file path information
Birkenmajer et al. Plant-bearing Jurassic strata at Hope Bay, Antarctic Peninsula (West Antarctica): geology and fossil-plant description
CN110990706A (en) Corpus recommendation method and apparatus
Li et al. Auditors’ response to cybersecurity risk: Human capital investment and cross-client influence
Xhafa et al. Performance Evaluation of a MapReduce Hadoop-Based Implementation for Processing Large Virtual Campus Log Files
Hashimoto All the Presidents' Gardens: Madison's Cabbages to Kennedy's Roses--How the White House Grounds Have Grown with America.
Farnham et al. Docs. com: Social file sharing in Facebook
Hu et al. An Agent-based Framework for Intelligent and Dynamic Business Information Retrieval
Haasdijk et al. Searching IPFS
Stawowy et al. Web based foundry knowledge base
Herceg New EU member countries? emigration: Projections for future
JP2015032203A (en) Knowledge system creation device, knowledge system creation method and knowledge system creation program
Kulikowski Acceleration of economic growth by technological change and knowledge management
Xia Empirical study on income of rural residents in China
Yu et al. Based on AFSA-tabu search algorithm combined QoS multicast routing algorithm
Team et al. Final Report–CS 5604 Fall 2016

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

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: Data processing method, client side, server side and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190513

Address after: 519015 Room 2, Block B, 10th floor, No. 8 Lianshan Lane, Jida Jingshan Road, Zhuhai City, Guangdong Province

Co-patentee after: Beijing Jinshanyun Net Technology Co., Ltd.

Patentee after: Zhuhai Jinshan Cloud Technology Co., Ltd.

Co-patentee after: Beijing Jinshanyun Technology Co., Ltd.

Address before: Room 5F02, Fifth Floor, 33 Xiaoying West Road, Haidian District, Beijing

Co-patentee before: Beijing Jinshanyun Technology Co., Ltd.

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