CN108647256A - File synchronisation method, device, computer installation and storage medium - Google Patents

File synchronisation method, device, computer installation and storage medium Download PDF

Info

Publication number
CN108647256A
CN108647256A CN201810368082.3A CN201810368082A CN108647256A CN 108647256 A CN108647256 A CN 108647256A CN 201810368082 A CN201810368082 A CN 201810368082A CN 108647256 A CN108647256 A CN 108647256A
Authority
CN
China
Prior art keywords
file
synchronized
documents
storage address
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810368082.3A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810368082.3A priority Critical patent/CN108647256A/en
Priority to PCT/CN2018/099782 priority patent/WO2019205348A1/en
Publication of CN108647256A publication Critical patent/CN108647256A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of file synchronisation method, including:File to be synchronized is obtained, the fileinfo for including to the file to be synchronized counts, and obtains the first lists of documents;Obtain the preceding storage address of Folder synchronizing to be synchronized and synchronous rear storage address;By RSYNC instructions by file that the file to be synchronized includes from it is described synchronize preceding storage address and be synchronized to described synchronize rear storage address;Acquisition synchronizes rear file, counts the fileinfo for synchronizing rear file clip pack and containing, obtains the second lists of documents;First lists of documents are matched with second lists of documents, it is determined whether complete file synchronization.The invention also discloses a kind of file synchronizer, computer installation and computer readable storage mediums.The present invention can be not necessarily to Attended mode when high-volume file transmits, and reliability when can improve the efficiency and file synchronization of high-volume file synchronization.

Description

File synchronisation method, device, computer installation and storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of file synchronisation method, device, computer installation and storages Medium.
Background technology
With the development of computer technology, the capacity for storing (such as hard disk, movable storage device) is increasing.It is storing In, various types of files can be stored, for example, various types of files such as text, picture, video and audio.However, when storage is held When measuring inadequate, it may be necessary to migrate storage content, at this time, it usually needs carry out large batch of file in storage same Step.
In the prior art, it when carrying out high-volume file synchronization, is usually completed by graphical tools.However pass through figure Chemical industry tool needs Attended mode, takes time and effort when being operated, and high-volume file due to more than quantity and size is larger would generally It devotes a tremendous amount of time, synchronous efficiency is also not high enough.
Invention content
In view of the foregoing, it is necessary to a kind of file synchronisation method, device, computer installation and storage medium are provided, made It is not necessarily to Attended mode when proper high-volume file transmission, and the efficiency and file synchronization of high-volume file synchronization can be improved When reliability.
The present invention provides a kind of file synchronisation method, the method includes:
File to be synchronized is obtained, the fileinfo for including to the file to be synchronized counts, and obtains the first text Part inventory;
Obtain the preceding storage address of Folder synchronizing to be synchronized and synchronous rear storage address;
The file that the file to be synchronized includes is synchronized to institute from storage address before described synchronize by RSYNC instructions It states and synchronizes rear storage address;
Acquisition synchronizes rear file, counts the fileinfo for synchronizing rear file clip pack and containing, obtains the second lists of documents;
First lists of documents are matched with second lists of documents, it is determined whether complete file synchronization.
In the present invention is preferably implemented, the acquisition file to be synchronized includes:
Obtain the root file for including in storage;
Obtain the modification time of the root file;
Determine that the root file of modification time after the preset lime is file to be synchronized.
In the present invention is preferably implemented, the acquisition file to be synchronized includes:
Obtain the root file for including in storage;
Obtain the access frequency of the root file;
Determine that the root file that access frequency is more than default access frequency is file to be synchronized.
In the present invention is preferably implemented, the method further includes:
Obtain it is described synchronize rear storage address after, judge that the capacity for synchronizing the affiliated memory space of rear storage address is big It is small whether to meet preset capacity condition;
The file that the file to be synchronized includes is deposited before described synchronize if so, executing described instructed by RSYNC Address synchronization is put to the operation for synchronizing rear storage address.
In the present invention is preferably implemented, the method further includes:
It is abnormal when if synchronous, obtains abnormal cause;
If abnormal cause is that network connection is abnormal, text has been synchronized from being obtained in synchronization log in the file to be synchronized Part;
Determine described in the file to be synchronized that file other than synchronous documents is in the file to be synchronized Non- synchronous documents;
If receiving the normal notification message of network connection, by RSYNC instruction by the file to be synchronized not Synchronous documents, which are synchronized to, described synchronizes rear storage address.
In a preferred embodiment of the invention, the method further includes:
If abnormal cause is memory space inadequate, prompting message is sent out.
In a preferred embodiment of the invention, the method further includes:
In synchronizing process, if described synchronize in the first file for including in rear storage address and the file to be synchronized Including the second file it is of the same name, obtain first file the first modification time and second file the second modification when Between;
If the first modification time compared to the second modification time closer to present system time, not by first file into Row covering;
If the second modification time, closer to present system time, first file is carried out compared to the first modification time Covering.
The present invention also provides a kind of file synchronizer, described device includes:
First acquisition module, for obtaining file to be synchronized, the fileinfo that includes to the file to be synchronized into Row statistics, obtains the first lists of documents;
First acquisition module, be additionally operable to obtain before the Folder synchronizing to be synchronized storage address with it is synchronous after store Address;
Synchronization module deposits the file that the file to be synchronized includes for being instructed by RSYNC before described synchronize It puts address synchronization and synchronizes rear storage address to described;
Statistical module synchronizes rear file for obtaining, counts the fileinfo for synchronizing rear file clip pack and containing, obtain Second lists of documents;
Matching module, for matching first lists of documents with second lists of documents, it is determined whether complete At file synchronization.
In a preferred embodiment of the invention, the first acquisition module acquisition file to be synchronized includes:
Obtain the root file for including in storage;
Obtain the modification time of the root file;
Determine that the root file of modification time after the preset lime is file to be synchronized.
In a preferred embodiment of the invention, the first acquisition module acquisition file to be synchronized includes:
Obtain the root file for including in storage;
Obtain the access frequency of the root file;
Determine that the root file that access frequency is more than default access frequency is file to be synchronized.
In a preferred embodiment of the invention, described device further includes:
Judgment module, for obtain it is described synchronize rear storage address after, judge that described synchronize is deposited belonging to rear storage address Whether the amount of capacity in storage space meets preset capacity condition;
Trigger module, if the amount of capacity for synchronizing the affiliated memory space of rear storage address meets preset capacity condition, It triggers the synchronization module and the file that the file to be synchronized includes is synchronized by preceding storage address from described by RSYNC instructions It is synchronized to and described synchronizes rear storage address.
In a preferred embodiment of the invention, described device further includes exception processing module, is used for:
It is abnormal when if synchronous, obtains abnormal cause;
If abnormal cause is that network connection is abnormal, text has been synchronized from being obtained in synchronization log in the file to be synchronized Part;
Determine described in the file to be synchronized that file other than synchronous documents is in the file to be synchronized Non- synchronous documents;
If receiving the normal notification message of network connection, by RSYNC instruction by the file to be synchronized not Synchronous documents, which are synchronized to, described synchronizes rear storage address.
In a preferred embodiment of the invention, the exception processing module is additionally operable to:
If abnormal cause is memory space inadequate, prompting message is sent out.
In a preferred embodiment of the invention, described device further includes:
Second acquisition module, in synchronizing process, if it is described synchronize the first file for including in rear storage address with The second file for including in the file to be synchronized is of the same name, obtains the first modification time and described the of first file Second modification time of two files;
If processing module will not for the first modification time compared to the second modification time closer to present system time First file is covered;If the second modification time compares the first modification time closer to present system time, by institute The first file is stated to be covered.
The present invention also provides a kind of computer installation, the computer installation includes memory and processor, the storage Device is for storing at least one instruction, and the processor is for executing at least one instruction to realize institute in any embodiment The file synchronisation method stated.
The present invention also provides a kind of computer readable storage mediums, which is characterized in that the computer readable storage medium It is stored at least one instruction, at least one instruction realizes that the file described in any embodiment is same when being executed by processor One step process.
Found out by above technical scheme, the present invention includes to the file to be synchronized by obtaining file to be synchronized Fileinfo counted, obtain the first lists of documents;Obtain before the Folder synchronizing to be synchronized storage address with it is synchronous Storage address afterwards;The file that the file to be synchronized includes is synchronized from storage address before described synchronize by RSYNC instructions Rear storage address is synchronized to described;Acquisition synchronizes rear file, counts the fileinfo for synchronizing rear file clip pack and containing, obtains Second lists of documents;First lists of documents are matched with second lists of documents, it is determined whether it is same to complete file Step.Carry out data synchronization due to being instructed by RSYNC, and after synchronizing by before Folder synchronizing to be synchronized the first inventory with The second inventory after Folder synchronizing to be synchronized is matched, the case where so as to obtain file synchronization, to determine whether together It walks successfully.Therefore it is not necessarily to Attended mode when high-volume file transmits, goes to check synchronized result one by one without manpower, realize The purpose of reliability when the efficiency and file synchronization of raising high-volume file synchronization.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of file synchronisation method provided in an embodiment of the present invention;
Fig. 2 is the functional block diagram of file synchronizer provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the computer installation for the preferred embodiment that the present invention realizes file synchronisation method.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is described in further detail.
As shown in FIG. 1, FIG. 1 is a kind of flow charts of file synchronisation method provided in an embodiment of the present invention.According to different Demand, the sequence of step can change in the flow chart, and certain steps can be omitted.
S10 obtains file to be synchronized, and the fileinfo for including to the file to be synchronized counts, and obtains One lists of documents.
File synchronisation method of the present invention can be not only used for the transmission of high-volume file, likewise, can be used for Non- large batch of file synchronization, you can with applied in any scene for carrying out file synchronization.
Wherein, above-mentioned file to be synchronized is the file to be synchronized, and file is for depositing in computer systems File is put, may include several files in a file.
In the present embodiment, the quantity of the file to be synchronized got can be either multiple a, text to be synchronized The quantity of file can be one or more in part folder.
It is above-mentioned treat the fileinfo that synchronization folder includes and carry out statistics specifically include, but be not limited to it is following a kind of or It is a variety of:Treat the modification time of the quantity for the file that synchronization folder includes, the title of file, the type of file, each file It is counted etc. one or more information.
Optionally, in an alternative embodiment of the invention, the acquisition file to be synchronized may include:
(1) the root file for including in storage is obtained.
(2) modification time of the root file is obtained.
(3) determine that the root file of modification time after the preset lime is file to be synchronized.
Wherein, above-mentioned storage can refer to the storage medium that file to be synchronized is stored, such as a certain hard disk.It is above-mentioned to deposit Storage can also be one piece of memory space that can store data in storage medium.
Root file refers to the file under root.Root refers to the most upper level catalogue of logical drive. For example, storage is divided into the areas M and the areas N, then for M:User1 for data, M:Be root, file user1 is root Under file, i.e. file user1 is root file, and data is subdirectory file, alternatively referred to as sub-folder.
Above-mentioned preset time can be set as needed, such as preset time is No. 1 of that month, it is determined that be repaiied after No. 1 The root file changed is file to be synchronized, so as to screen the file changed in one month, in turn It synchronizes.
Through the above steps, the root file changed in a period of time can be obtained to synchronize, when only needing It when the file that synchronous vacations are crossed, can quickly position and then synchronous, without manually searching, and then improve file synchronization Efficiency.
Optionally, in an alternative embodiment of the invention, the acquisition file to be synchronized may include again:
(1) the root file for including in storage is obtained.
(2) access frequency of the root file is obtained.
(3) determine that the root file that access frequency is more than default access frequency is file to be synchronized.
Wherein, above-mentioned default access frequency can be set as needed.For example, default access frequency is one day 20 times, or Person's access frequency is one week 100 inferior.
Through the above steps, efficiently the higher file of access frequency can be screened, and then synchronized.Example When such as, to high-volume file synchronization is conducted batch-wise, preferentially the higher file of access frequency can be synchronized, then accessed During the higher file of frequency can be stored by priority synchronization to other, with higher by other storage access frequencys easily and fast File.
Optionally, in an alternative embodiment of the invention, the acquisition file to be synchronized may also include:
(1) the root file for including in storage is obtained.
(2) select the root file that user specifies for file to be synchronized from root file.
For example, scanning storage, obtains the root file for including in the storage and show, user is made to pass through input order The specified file to be synchronized, quickly to help user to be positioned to synchronous file.
Through the above steps so that file to be synchronized is the file that user specifies, when meeting user file synchronization Individual demand.
S20 obtains the preceding storage address of Folder synchronizing to be synchronized and synchronous rear storage address.
Wherein, storage address can together be obtained when obtaining file to be synchronized before above-mentioned Folder synchronizing to be synchronized. It is above-mentioned that synchronize rear storage address refer to the position for placing file to be synchronized.For example, synchronize rear storage address be B storage in, Or it synchronizes under the userdata file directorys that rear storage address is B storages.
Optionally, in an alternative embodiment of the invention, method of the present invention may also include:
Obtain it is described synchronize rear storage address after, judge that the capacity for synchronizing the affiliated memory space of rear storage address is big It is small whether to meet preset capacity condition;If so, executing step S30.
Wherein, it can be the total size that amount of capacity is more than file to be synchronized that amount of capacity, which meets preset capacity condition, Either the difference of amount of capacity and the size of file to be synchronized is more than preset capacity.Specifically, preset capacity can be according to need It sets.
It is stored for B for example, synchronizing rear storage address, then the amount of capacity for synchronizing the affiliated memory space of rear storage address is B The amount of capacity of storage.Alternatively, synchronizing the userdata file directorys that rear storage address is B storages, then rear storage address is synchronized The amount of capacity of affiliated memory space is similarly the amount of capacity of B storages.When the amount of capacity of B storages is more than file to be synchronized Total size when, just execute step S30, i.e., just execute carry out subsequent synchronisation file operation.
It through this embodiment, can be to avoid, because Insufficient disk space occurs abnormal, increasing file synchronization after file synchronization Success rate.
Optionally, in an alternative embodiment of the invention, method of the present invention may also include:
Obtain it is described synchronize rear storage address after, judge described to synchronize whether rear storage address is default storage address; If so, executing step S30.
Above-mentioned default storage address can be preset storage address.
In the present embodiment, when carrying out file synchronization, will not by the file except file synchronization to preset range, It ensure that safety when file synchronization.
S30 is synchronized the file that the file to be synchronized includes from storage address before described synchronize by RSYNC instructions Rear storage address is synchronized to described.
Wherein, teledata synchronization may be implemented in above-mentioned RSYNC instructions, and the detailed description of RSYNC can be from the prior art Middle acquisition, details are not described herein again.
Specifically, RSYNC, which can carry out increment synchronization, either carries out full dose synchronization.That is, by file to be synchronized All Files synchronize, or the delta file in file to be synchronized is synchronized.
Since RSYNC instructions have the characteristics that be rapidly performed by file transmission, in the present embodiment, using RSYNC Instruction carries out file synchronization, improves the speed of file synchronization, realizes the purpose of rapid file synchronization.When apply high-volume When in the case of file transmission, it is transmitted compared to using others instruction, can greatly saves transmission time.
Optionally, in other embodiments of the present invention, synchronization folder can also first be treated before executing step S30 It is encrypted, or the file for including in file to be synchronized is encrypted, then carried out file together by RSYNC instructions Step, to improve the safety during file synchronization.
S40, acquisition synchronize rear file, count the fileinfo for synchronizing rear file clip pack and containing, obtain the second file Inventory.
It is wherein, above-mentioned that synchronize rear file be the file after Folder synchronizing to be synchronized.
It is above-mentioned count to synchronizing the fileinfo that rear file clip pack contains specifically may include but be not limited to:To synchronizing hereinafter The quantity for the file that part clip pack contains, the title of file, the type of file, one or more information such as modification time of each file It is counted.
In the specific implementation, which information of the content statistics for including to file before synchronizing, after synchronization can also Carry out same Information Statistics.
For example, the first lists of documents include the quantity of the title and file of file, then after acquisition synchronizes after file, Statistics synchronizes the title for the file that rear file clip pack contains and the quantity of file, i.e. includes to synchronize rear file in the second lists of documents The title for the file for including in folder and the quantity of file.
S50 matches first lists of documents with second lists of documents, it is determined whether it is same to complete file Step.
Wherein, the first lists of documents are subjected to matching for determining in synchronous preceding file to be synchronized with the second lists of documents Including file and the file for including in synchronous rear file to be synchronized it is whether consistent, if unanimously, determine complete file synchronization.
If the first lists of documents and the file name that the second lists of documents include are all consistent, but have a small number of file sizes not Together, it can also determine that file synchronization is completed.Meanwhile can by the first lists of documents with file name among the second lists of documents Identical, the different file of file size is shown.Due at this point, having been completed most file transmission, only part text The size of part may be different, therefore it is fully synchronized to notify that the mode of display allows user to know which file does not have, to use Family checks whether to need again will be identical as file name among the second lists of documents in the first lists of documents, and file size is different File synchronize.
It, can will be every in lists of documents specifically, when being matched the first lists of documents with the second lists of documents One is matched one by one.
For example, the file name progress for including with the second lists of documents by the file name that the first lists of documents include Match, whether the title to determine file is consistent.Meanwhile the number of the quantity and the second file for the file for by the first lists of documents including Amount is matched, and whether the quantity to determine file is consistent.If consistent, determine and complete file synchronization.
For another example, by the file total size and total number of files amount and the file in the second lists of documents in the first lists of documents Total size is matched with total number of files amount, if unanimously, the file name in the first lists of documents, file size, file are created Build the time is matched with the file name in the second lists of documents, file size, file creation time, if unanimously, determining text Part synchronously completes.
In the present embodiment, by after synchronizing the second lists of documents with it is synchronous before the first lists of documents carry out Match, can more accurately position whether file synchronization is fully completed, goes to check whether file synchronizes one by one without user It completes, the time of user can be saved.Especially when high-volume file is transmitted, since the quantity of file transmission is more, The method carries out file synchronization through the invention, can greatly reduce the time of manual review, and timely positioning synchronous Incomplete file is conducive to timely feed back the effect of file synchronization.
Meanwhile in other embodiments of the present invention, during file synchronization, if having, file is of the same name, can pass through following step Suddenly it is handled:
(1) in synchronizing process, if described synchronize the first file for including in rear storage address and the file to be synchronized The second file for including in folder is of the same name, obtains the first modification time of first file and the second of second file is repaiied Change the time.
(2) if the first modification time compares the second modification time closer to present system time, not by first text Part is covered.
(3) if the second modification time compares the first modification time closer to present system time, by first file It is covered.
In general, each file has its creation time, if being modified to file, file has its modification time, modification Time belongs to one in the attribute information of file.
If file is modified, the modification time of file changes therewith, while the content of file may be updated. Therefore, in the present embodiment, if during file synchronization, file situation of the same name is encountered, when can be by the modification of file Between determine whether to cover file.So that in synchronizing process, newest file will not be override by old file.
Meanwhile in other embodiments, it can also judge whether the file type of the first file is specified type.
If the file type of the first file is not specified file type, and when the first modification time is compared to the second modification Between closer to present system time, carry out file covering.If the file type of the first file is specified file type, no matter Whether the first modification time, closer to present system time, does not cover first file compared to the second modification time Lid.
Pass through embodiment of above so that in a certain class file immediately in the case of of the same name, can also quickly it synchronize, Without being reminded.
Meanwhile in the specific implementation, no matter covering either do not cover file of the same name, can by the daily record of synchronous documents into Row is exported and is marked, so that user quickly understands not fully synchronized file, and then is triggered synchronic command again and is carried out file It is synchronous, save file synchronization the time it takes.
In other embodiments of the present invention, during file synchronization, if occur it is abnormal, can be by following steps at Reason:
(1) it is abnormal when if synchronous, obtains abnormal cause;
(2) if abnormal cause is that network connection is abnormal, from obtained in synchronization log in the file to be synchronized together Step file;
(3) determine described in the file to be synchronized that file other than synchronous documents is in the file to be synchronized Non- synchronous documents;
It (4), will be in the file to be synchronized by RSYNC instructions if receiving the normal notification message of network connection Non- synchronous documents, which are synchronized to, described synchronizes rear storage address.
In the specific implementation, the abnormal cause that outflow occurs in the process can be obtained by the function to catch the exception.
Above-mentioned synchronization log is the log information for recording file synchronization process.For example, can be in synchronizing process The title record of file will be transmitted, then from the synchronous documents that can be obtained in the synchronization log in file to be synchronized.
Meanwhile synchronization log can also print the relevant information of all synchronous documents during file synchronization, Exception during alloing relevant staff easily to understand file synchronization and know synchronized result.
For example, if it includes 26 files to amount in file to be synchronized, what is wherein recorded in synchronization log has synchronized File is tri- files of A, B, C, it is determined that in file to be synchronized among 26 files other than tri- files of A, B, C File be non-synchronous documents.
When network connection exception, it can actively be connected at interval of a period of time and synchronize depositing belonging to rear storage address Storage, when successful connection feedback message, it may be determined that receive the normal notification message of network connection.At this point, passing through RSYNC Non- synchronous documents in file to be synchronized are synchronized to by instruction synchronizes rear storage address.
In the present embodiment, abnormal processing is added, improves fault-tolerant processing ability when exception occurs, is further promoted The reliability of file transmission success.
Further, in other embodiments of the present invention, if abnormal cause is memory space inadequate, prompting message is sent out.
When being reminded, can be reminded to relevant staff by way of popping up prompting frame.
Through the embodiment of the present invention, it can be abnormal in file synchronization, and the exception can not actively be passed by again Timely relevant staff is reminded to remind in the case of being totally lost into file synchronization, so that the problems in file synchronization process It can find to solve in time in time, shorten the time for completing file synchronization.
File synchronisation method provided by the invention obtains file to be synchronized, the file for including to the file to be synchronized Information is counted, and the first lists of documents are obtained;Obtain before the Folder synchronizing to be synchronized storage address with it is synchronous after store Address;File that the file to be synchronized includes is synchronized to from storage address before described synchronize by RSYNC instructions described Synchronize rear storage address;Acquisition synchronizes rear file, counts the fileinfo for synchronizing rear file clip pack and containing, and obtains the second text Part inventory;First lists of documents are matched with second lists of documents, it is determined whether complete file synchronization.Due to Instructed by RSYNC and carry out data synchronization, and after synchronizing by before Folder synchronizing to be synchronized the first inventory with it is to be synchronized The second inventory after Folder synchronizing is matched, the case where so as to obtain file synchronization, to determine whether synchronizing success. Therefore it is not necessarily to Attended mode when high-volume file transmits, goes to check synchronized result one by one without manpower, it is big to realize raising The purpose of reliability when efficiency and file synchronization that batch documents synchronize.
As shown in Fig. 2, Fig. 2 is the functional block diagram of file synchronizer provided in an embodiment of the present invention.The file is same It includes the first acquisition module 210, synchronization module 220, statistical module 230 and matching module 240 to walk device.The so-called mould of the present invention Block refers to that a kind of performed by the processor by computer installation and can complete the series of computation machine journey of fixed function Sequence section, is stored in the memory of computer installation.It in the present embodiment, will be in subsequent implementation about the function of each module It is described in detail in example.
First acquisition module 210, for obtaining file to be synchronized, the fileinfo that includes to the file to be synchronized It is counted, obtains the first lists of documents.
File synchronizer of the present invention can be not only used for the transmission of high-volume file, likewise, can be used for Non- large batch of file synchronization, you can with applied in any scene for carrying out file synchronization.
Wherein, above-mentioned file to be synchronized is the file to be synchronized, and file is for depositing in computer systems File is put, may include several files in a file.
In the present embodiment, the quantity of the file to be synchronized got can be either multiple a, text to be synchronized The quantity of file can be one or more in part folder.
It is above-mentioned treat the fileinfo that synchronization folder includes and carry out statistics specifically include, but be not limited to it is following a kind of or It is a variety of:Treat the modification time of the quantity for the file that synchronization folder includes, the title of file, the type of file, each file It is counted etc. one or more information.
Optionally, in an alternative embodiment of the invention, first acquisition module 210 obtain file to be synchronized include can Including:
(1) the root file for including in storage is obtained.
(2) modification time of the root file is obtained.
(3) determine that the root file of modification time after the preset lime is file to be synchronized.
Wherein, above-mentioned storage can refer to the storage medium that file to be synchronized is stored, such as a certain hard disk.It is above-mentioned to deposit Storage can also be one piece of memory space that can store data in storage medium.
Root file refers to the file under root.Root refers to the most upper level catalogue of logical drive. For example, storage is divided into the areas M and the areas N, then for M:User1 for data, M:Be root, file user1 is root Under file, i.e. file user1 is root file, and data is subdirectory file, alternatively referred to as sub-folder.
Above-mentioned preset time can be set as needed, such as preset time is No. 1 of that month, it is determined that be repaiied after No. 1 The root file changed is file to be synchronized, so as to screen the file changed in one month, in turn It synchronizes.
Through this embodiment, the root file changed in a period of time can be obtained to synchronize, when only needing It when the file that synchronous vacations are crossed, can quickly position and then synchronous, without manually searching, and then improve file synchronization Efficiency.
Optionally, in an alternative embodiment of the invention, first acquisition module 210 obtains file to be synchronized and can wrap It includes:
(1) the root file for including in storage is obtained.
(2) access frequency of the root file is obtained.
(3) determine that the root file that access frequency is more than default access frequency is file to be synchronized.
Wherein, above-mentioned default access frequency can be set as needed.For example, default access frequency is one day 20 times, or Person's access frequency is one week 100 inferior.
Through this embodiment, efficiently the higher file of access frequency can be screened, and then synchronized.Example When such as, to high-volume file synchronization is conducted batch-wise, preferentially the higher file of access frequency can be synchronized, then accessed During the higher file of frequency can be stored by priority synchronization to other, with higher by other storage access frequencys easily and fast File.
Optionally, in an alternative embodiment of the invention, it includes also that first acquisition module 210, which obtains file to be synchronized, It may include:
(1) the root file for including in storage is obtained.
(2) select the root file that user specifies for file to be synchronized from root file.
For example, scanning storage, obtains the root file for including in the storage and show, user is made to pass through input order The specified file to be synchronized, quickly to help user to be positioned to synchronous file.
Through this embodiment so that file to be synchronized is the file that user specifies, when meeting user file synchronization Individual demand.
First acquisition module 210, be additionally operable to obtain before the Folder synchronizing to be synchronized storage address with it is synchronous after store Address.
Wherein, storage address can together be obtained when obtaining file to be synchronized before above-mentioned Folder synchronizing to be synchronized. It is above-mentioned that synchronize rear storage address refer to the position for placing file to be synchronized.For example, synchronize rear storage address be B storage in, Or it synchronizes under the userdata file directorys that rear storage address is B storages.
Optionally, in an alternative embodiment of the invention, device of the present invention may also include judgment module and trigger mode Block.
Judgment module, for obtain it is described synchronize rear storage address after, judge that described synchronize is deposited belonging to rear storage address Whether the amount of capacity in storage space meets preset capacity condition.
Trigger module, if the amount of capacity for synchronizing the affiliated memory space of rear storage address meets preset capacity condition, It triggers the synchronization module and the file that the file to be synchronized includes is synchronized by preceding storage address from described by RSYNC instructions It is synchronized to and described synchronizes rear storage address.
Wherein, it can be the total size that amount of capacity is more than file to be synchronized that amount of capacity, which meets preset capacity condition, Either the difference of amount of capacity and the size of file to be synchronized is more than preset capacity.Specifically, preset capacity can be according to need It sets.
It is stored for B for example, synchronizing rear storage address, then the amount of capacity for synchronizing the affiliated memory space of rear storage address is B The amount of capacity of storage.Alternatively, synchronizing the userdata file directorys that rear storage address is B storages, then rear storage address is synchronized The amount of capacity of affiliated memory space is similarly the amount of capacity of B storages.When the amount of capacity of B storages is more than file to be synchronized Total size when, just trigger synchronization module synchronize operation.
It through this embodiment, can be to avoid, because Insufficient disk space occurs abnormal, increasing file synchronization after file synchronization Success rate.
Optionally, in an alternative embodiment of the invention, the judgment module, is additionally operable to obtain and described synchronizes rear storage address Later, judge described to synchronize whether rear storage address is default storage address.
The trigger module, if be additionally operable to it is described to synchronize rear storage address be default storage address, trigger the synchronous mould Block instructed by RSYNC, described synchronized preceding storage address, described synchronized rear storage address and include by the file to be synchronized File synchronizes.
Above-mentioned default storage address can be preset storage address.
In the present embodiment, when carrying out file synchronization, will not by the file except file synchronization to preset range, It ensure that safety when file synchronization.
Synchronization module 220, the file for including by the file to be synchronized by RSYNC instructions is before described synchronize Storage address, which is synchronized to, described synchronizes rear storage address.
Wherein, teledata synchronization may be implemented in above-mentioned RSYNC instructions, and the detailed description of RSYNC can be from the prior art Middle acquisition, details are not described herein again.
Specifically, RSYNC, which can carry out increment synchronization, either carries out full dose synchronization.That is, by file to be synchronized All Files synchronize, or the delta file in file to be synchronized is synchronized.
Since RSYNC instructions have the characteristics that be rapidly performed by file transmission, in the present embodiment, using RSYNC Instruction carries out file synchronization, improves the speed of file synchronization, realizes the purpose of rapid file synchronization.When apply high-volume When in the case of file transmission, it is transmitted compared to using others instruction, can greatly saves transmission time.
It optionally, in other embodiments of the present invention, can also be before the execution of synchronization module 220, first to text to be synchronized Part folder is encrypted, or the file for including in file to be synchronized is encrypted, then by RSYNC instructions by file into Row synchronizes, to improve the safety during file synchronization.
Statistical module 230 synchronizes rear file for obtaining, counts the fileinfo for synchronizing rear file clip pack and containing, Obtain the second lists of documents.
It is wherein, above-mentioned that synchronize rear file be the file after Folder synchronizing to be synchronized.
It is above-mentioned count to synchronizing the fileinfo that rear file clip pack contains specifically may include but be not limited to:To synchronizing hereinafter The quantity for the file that part clip pack contains, the title of file, the type of file, one or more information such as modification time of each file It is counted.
In the specific implementation, which information of the content statistics for including to file before synchronizing, after synchronization can also Carry out same Information Statistics.
For example, the first lists of documents include the quantity of the title and file of file, then after acquisition synchronizes after file, Statistics synchronizes the title for the file that rear file clip pack contains and the quantity of file, i.e. includes to synchronize rear file in the second lists of documents The title for the file for including in folder and the quantity of file.
Matching module 240, for matching first lists of documents with second lists of documents, it is determined whether Complete file synchronization.
Wherein, the first lists of documents are subjected to matching for determining in synchronous preceding file to be synchronized with the second lists of documents Including file and the file for including in synchronous rear file to be synchronized it is whether consistent, if unanimously, determine complete file synchronization.
If the first lists of documents and the file name that the second lists of documents include are all consistent, but have a small number of file sizes not Together, it may be determined that file synchronization is completed.Meanwhile can by the first lists of documents with file name phase among the second lists of documents Together, the different file of file size is shown.Due at this point, having been completed most file transmission, only partial document Size may be different, therefore it is fully synchronized to notify that the mode of display allows user to know which file does not have, so that user Checking whether to need again will be identical as file name among the second lists of documents in the first lists of documents, and file size is different File synchronizes.
It, can will be every in lists of documents specifically, when being matched the first lists of documents with the second lists of documents One is matched one by one.
For example, the file name progress for including with the second lists of documents by the file name that the first lists of documents include Match, whether the title to determine file is consistent.Meanwhile the number of the quantity and the second file for the file for by the first lists of documents including Amount is matched, and whether the quantity to determine file is consistent.If consistent, determine and complete file synchronization.
For another example, by the file total size and total number of files amount and the file in the second lists of documents in the first lists of documents Total size is matched with total number of files amount, if unanimously, the file name in the first lists of documents, file size, file are created Build the time is matched with the file name in the second lists of documents, file size, file creation time, if unanimously, determining text Part synchronously completes.
In the present embodiment, by after synchronizing the second lists of documents with it is synchronous before the first lists of documents carry out Match, can more accurately position whether file synchronization is fully completed, goes to check whether file synchronizes one by one without user It completes, the time of user can be saved.Especially when high-volume file is transmitted, since the quantity of file transmission is more, The method carries out file synchronization through the invention, can greatly reduce the time of manual review, and timely positioning synchronous Incomplete file is conducive to timely feed back the effect of file synchronization.
Meanwhile in other embodiments of the present invention, during file synchronization, if having, file is of the same name, can be obtained by second Modulus block and processing module are handled:
Second acquisition module, in synchronizing process, if it is described synchronize the first file for including in rear storage address with The second file for including in the file to be synchronized is of the same name, obtains the first modification time and described the of first file Second modification time of two files.
If processing module will not for the first modification time compared to the second modification time closer to present system time First file is covered;If the second modification time compares the first modification time closer to present system time, by institute The first file is stated to be covered.
In general, each file has its creation time, if being modified to file, file has its modification time, modification Time belongs to one in the attribute information of file.
If file is modified, the modification time of file changes therewith, while the content of file may be updated. Therefore, in the present embodiment, if during file synchronization, file situation of the same name is encountered, when can be by the modification of file Between determine whether to cover file.So that in synchronizing process, newest file will not be override by old file.
Meanwhile in other embodiments, it can also judge whether the file type of the first file is specified type.
If the file type of the first file is not specified file type, and when the first modification time is compared to the second modification Between closer to present system time, carry out file covering.If the file type of the first file is specified file type, no matter Whether the first modification time, closer to present system time, does not cover first file compared to the second modification time Lid.
Pass through embodiment of above so that in a certain class file immediately in the case of of the same name, can also quickly it synchronize, Without being reminded.
Meanwhile in the specific implementation, no matter covering either do not cover file of the same name, can by the daily record of synchronous documents into Row is exported and is marked, so that user quickly understands not fully synchronized file, and then is triggered synchronic command again and is carried out file It is synchronous, save file synchronization the time it takes.
In other embodiments of the present invention, during file synchronization, if occur it is abnormal, can by exception processing module into Row processing.The exception processing module is used for:
It is abnormal when if synchronous, obtains abnormal cause;
If abnormal cause is that network connection is abnormal, text has been synchronized from being obtained in synchronization log in the file to be synchronized Part;
Determine described in the file to be synchronized that file other than synchronous documents is in the file to be synchronized Non- synchronous documents;
If receiving the normal notification message of network connection, by RSYNC instruction by the file to be synchronized not Synchronous documents, which are synchronized to, described synchronizes rear storage address.
In specific implementation, the abnormal cause that outflow occurs in the process can be obtained by the function to catch the exception.
Above-mentioned synchronization log is the log information for recording file synchronization process.For example, can be in synchronizing process The title record of file will be transmitted, then from the synchronous documents that can be obtained in the synchronization log in file to be synchronized.
Meanwhile synchronization log can also print the relevant information of all synchronous documents during file synchronization, Exception during alloing relevant staff easily to understand file synchronization and know synchronized result.
For example, if it includes 26 files to amount in file to be synchronized, what is wherein recorded in synchronization log has synchronized File is tri- files of A, B, C, it is determined that in file to be synchronized among 26 files other than tri- files of A, B, C File be non-synchronous documents.
When network connection exception, it can actively be connected at interval of a period of time and synchronize depositing belonging to rear storage address Storage, when successful connection feedback message, it may be determined that receive the normal notification message of network connection.At this point, passing through RSYNC Non- synchronous documents in file to be synchronized are synchronized to by instruction synchronizes rear storage address.
In the present embodiment, abnormal processing is added, improves fault-tolerant processing ability when exception occurs, is further promoted The reliability of file transmission success.
Further, in other embodiments of the present invention, the exception processing module, is additionally operable to:If abnormal cause is to deposit Insufficient space is stored up, prompting message is sent out.
When being reminded, can be reminded to relevant staff by way of popping up prompting frame.
Through the embodiment of the present invention, it can be abnormal in file synchronization, and the exception can not actively be passed by again Timely relevant staff is reminded to remind in the case of being totally lost into file synchronization, so that the problems in file synchronization process It can find to solve in time in time, shorten the time for completing file synchronization.
File synchronizer provided by the invention obtains file to be synchronized by the first acquisition module, to described to be synchronized The fileinfo that file includes is counted, and the first lists of documents are obtained;And before obtaining the Folder synchronizing to be synchronized Storage address and synchronous rear storage address;Synchronization module by RSYNC instruction include by the file to be synchronized file from It is described synchronize preceding storage address and be synchronized to described synchronize rear storage address;Statistical module, which obtains, synchronizes rear file, described in statistics The fileinfo that rear file clip pack contains is synchronized, the second lists of documents are obtained;Matching module by first lists of documents with it is described Second lists of documents are matched, it is determined whether complete file synchronization.Data synchronization is carried out due to being instructed by RSYNC, and The first inventory before Folder synchronizing to be synchronized is matched with the second inventory after Folder synchronizing to be synchronized after synchronization, The case where so as to obtain file synchronization, to determine whether synchronizing success.Therefore someone is not necessarily to when high-volume file transmits It is on duty, it goes to check synchronized result one by one without manpower, realizes the efficiency and file synchronization for improving high-volume file synchronization When reliability purpose.
The above-mentioned integrated unit realized in the form of software function module, can be stored in one and computer-readable deposit In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.
As shown in figure 3, the structure that Fig. 3 is the computer installation for the preferred embodiment that the present invention realizes file synchronisation method is shown It is intended to.The computer installation include at least one sending device 31, at least one processor 32, at least one processor 33, At least one reception device 34 and at least one communication bus.Wherein, the communication bus is for realizing between these components Connection communication.
The computer installation be it is a kind of can according to the instruction for being previously set or storing, it is automatic carry out numerical computations and/ Or the equipment of information processing, hardware include but not limited to microprocessor, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..The computer installation may also include net Network equipment and/or user equipment.Wherein, the network equipment includes but not limited to single network server, multiple network services The server group of device composition or being made of a large amount of hosts or network server based on cloud computing (Cloud Computing) Cloud, wherein cloud computing is one kind of Distributed Calculation, a super virtual meter being made of the computer collection of a group loose couplings Calculation machine.
The computer installation may be, but not limited to, any type and can be set by keyboard, touch tablet or acoustic control with user The modes such as standby carry out the electronic product of human-computer interaction, for example, tablet computer, smart mobile phone, personal digital assistant (Personal Digital Assistant, PDA), intellectual Wearable, picture pick-up device, the terminals such as monitoring device.
Network residing for the computer installation includes, but are not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, virtual Dedicated network (Virtual Private Network, VPN) etc..
Wherein, the reception device 34 and the sending device 31 can be wired sending ports, or wirelessly set It is standby, such as including antenna assembly, for other equipment into row data communication.
The memory 32 is for storing program code.The memory 32 can not have physical form in integrated circuit The circuit with store function, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out, first in first out) memory etc..Alternatively, the memory 32 can also be the memory with physical form, such as Memory bar, TF card (Trans-flash Card), smart media card (smart media card), safe digital card (secure Digital card), storage facilities such as flash memory cards (flash card) etc..
The processor 33 may include one or more microprocessor, digital processing unit.The processor 33 is adjustable With the program code stored in memory 32 to execute relevant function.For example, each unit described in Fig. 3 is stored in institute The program code in memory 32 is stated, and performed by the processor 33, to realize a kind of file synchronisation method.The processing Device 33 is also known as central processing unit (CPU, Central Processing Unit), is one piece of ultra-large integrated circuit, is fortune Calculate core (Core) and control core (Control Unit).
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation includes within the present invention.Should not any attached associated diagram label in claim be considered as the involved right of limitation to want It asks.Furthermore, it is to be understood that one word of " comprising " is not excluded for other units or step, odd number is not excluded for plural number.It is stated in system claims Multiple units or device can also be realized by software or hardware by a unit or device.Second equal words are used for table Show title, and does not represent any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, it will be understood by those of ordinary skill in the art that, it can be to the present invention's Technical solution is modified or equivalent replacement, without departing from the spirit of the technical scheme of the invention and range.

Claims (10)

1. a kind of file synchronisation method, which is characterized in that the method includes:
File to be synchronized is obtained, the fileinfo for including to the file to be synchronized counts, and it is clear to obtain the first file It is single;
Obtain the preceding storage address of Folder synchronizing to be synchronized and synchronous rear storage address;
File that the file to be synchronized includes is synchronized to from storage address before described synchronize by RSYNC instructions described same Storage address after step;
Acquisition synchronizes rear file, counts the fileinfo for synchronizing rear file clip pack and containing, obtains the second lists of documents;
First lists of documents are matched with second lists of documents, it is determined whether complete file synchronization.
2. the method as described in claim 1, which is characterized in that described to obtain file to be synchronized and include:
Obtain the root file for including in storage;
Obtain the modification time of the root file;
Determine that the root file of modification time after the preset lime is file to be synchronized.
3. the method as described in claim 1, which is characterized in that described to obtain file to be synchronized and include:
Obtain the root file for including in storage;
Obtain the access frequency of the root file;
Determine that the root file that access frequency is more than default access frequency is file to be synchronized.
4. method as claimed any one in claims 1 to 3, which is characterized in that the method further includes:
Obtain it is described synchronize rear storage address after, judge that the amount of capacity for synchronizing the affiliated memory space of rear storage address is It is no to meet preset capacity condition;
If so, execute described instructed by RSYNC synchronizes preceding storing place by the file that the file to be synchronized includes from described Location is synchronized to the operation for synchronizing rear storage address.
5. method as claimed any one in claims 1 to 3, which is characterized in that the method further includes:
It is abnormal when if synchronous, obtains abnormal cause;
If abnormal cause is that network connection is abnormal, from the synchronous documents obtained in synchronization log in the file to be synchronized;
Determine described in the file to be synchronized that file other than synchronous documents is not same in the file to be synchronized Step file;
If receiving the normal notification message of network connection, instructed not synchronizing in the file to be synchronized by RSYNC File synchronization synchronizes rear storage address to described.
6. method as claimed in claim 5, which is characterized in that the method further includes:
If abnormal cause is memory space inadequate, prompting message is sent out.
7. method as claimed any one in claims 1 to 3, which is characterized in that the method further includes:
In synchronizing process, if first file for including in rear storage address that synchronizes includes with the file to be synchronized The second file it is of the same name, obtain the first modification time of first file and the second modification time of second file;
If the first modification time, closer to present system time, first file is not covered compared to the second modification time Lid;
If the second modification time, closer to present system time, first file is covered compared to the first modification time Lid.
8. a kind of file synchronizer, which is characterized in that described device includes:
First acquisition module, for obtaining file to be synchronized, the fileinfo for including to the file to be synchronized is united Meter, obtains the first lists of documents;
First acquisition module is additionally operable to obtain the preceding storage address of Folder synchronizing to be synchronized and synchronous rear storing place Location;
The file that the file to be synchronized includes is synchronized preceding storing place by synchronization module for being instructed by RSYNC from described Location, which is synchronized to, described synchronizes rear storage address;
Statistical module synchronizes rear file for obtaining, counts the fileinfo for synchronizing rear file clip pack and containing, obtain second Lists of documents;
Matching module, for matching first lists of documents with second lists of documents, it is determined whether complete text Part synchronizes.
9. a kind of computer installation, which is characterized in that the computer installation includes memory and processor, and the memory is used In storing at least one instruction, the processor is for executing at least one instruction to realize as appointed in claim 1 to 7 File synchronisation method described in one.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, it is characterised in that:The computer instruction File synchronisation method as claimed in any of claims 1 to 7 in one of claims is realized when being executed by processor.
CN201810368082.3A 2018-04-23 2018-04-23 File synchronisation method, device, computer installation and storage medium Pending CN108647256A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810368082.3A CN108647256A (en) 2018-04-23 2018-04-23 File synchronisation method, device, computer installation and storage medium
PCT/CN2018/099782 WO2019205348A1 (en) 2018-04-23 2018-08-10 File synchronization method and device, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810368082.3A CN108647256A (en) 2018-04-23 2018-04-23 File synchronisation method, device, computer installation and storage medium

Publications (1)

Publication Number Publication Date
CN108647256A true CN108647256A (en) 2018-10-12

Family

ID=63747350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810368082.3A Pending CN108647256A (en) 2018-04-23 2018-04-23 File synchronisation method, device, computer installation and storage medium

Country Status (2)

Country Link
CN (1) CN108647256A (en)
WO (1) WO2019205348A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508356A (en) * 2018-11-14 2019-03-22 平安科技(深圳)有限公司 Data exception method for early warning, device, computer equipment and storage medium
CN111291011A (en) * 2020-02-19 2020-06-16 北京百度网讯科技有限公司 File synchronization method and device, electronic equipment and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327123A (en) * 2013-07-12 2013-09-25 北京金山云网络技术有限公司 File synchronization method, client, server side and equipment
CN105338093A (en) * 2015-11-16 2016-02-17 中国建设银行股份有限公司 Data synchronizing method and system
CN105357234A (en) * 2014-08-18 2016-02-24 中兴通讯股份有限公司 Wireless data card, communication system, and data synchronization method
CN105872056A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Method and system for rapidly synchronizing computer cluster data
CN106569919A (en) * 2016-11-07 2017-04-19 天脉聚源(北京)传媒科技有限公司 File synchronization method and apparatus
CN106874403A (en) * 2017-01-18 2017-06-20 武汉天喻教育科技有限公司 The system and method for differential synchronization is carried out to compressed file
CN107291796A (en) * 2017-05-05 2017-10-24 平安科技(深圳)有限公司 File management method and device
CN107659663A (en) * 2017-10-27 2018-02-02 北京锐安科技有限公司 A kind of method, apparatus of data syn-chronization, equipment and storage medium
CN107707645A (en) * 2017-09-27 2018-02-16 北京机电工程研究所 Telefile sychronisation and method for PDM
CN107800754A (en) * 2016-09-07 2018-03-13 腾讯科技(深圳)有限公司 Data transfer task processing, data transfer task monitoring method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955790A (en) * 2011-08-23 2013-03-06 苏州彭华信息技术有限公司 Method and device for synchronizing network documents
CN103136200B (en) * 2011-11-22 2018-02-02 中兴通讯股份有限公司 Data fresh information acquisition methods, device and method of data synchronization, device
CN103023988B (en) * 2012-11-27 2016-05-04 北京金山云科技有限公司 File synchronisation method, server, client and terminal device
CN104348859B (en) * 2013-07-30 2019-05-07 深圳市腾讯计算机系统有限公司 File synchronisation method, device, server, terminal and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327123A (en) * 2013-07-12 2013-09-25 北京金山云网络技术有限公司 File synchronization method, client, server side and equipment
CN105357234A (en) * 2014-08-18 2016-02-24 中兴通讯股份有限公司 Wireless data card, communication system, and data synchronization method
CN105338093A (en) * 2015-11-16 2016-02-17 中国建设银行股份有限公司 Data synchronizing method and system
CN105872056A (en) * 2016-04-01 2016-08-17 浪潮电子信息产业股份有限公司 Method and system for rapidly synchronizing computer cluster data
CN107800754A (en) * 2016-09-07 2018-03-13 腾讯科技(深圳)有限公司 Data transfer task processing, data transfer task monitoring method and device
CN106569919A (en) * 2016-11-07 2017-04-19 天脉聚源(北京)传媒科技有限公司 File synchronization method and apparatus
CN106874403A (en) * 2017-01-18 2017-06-20 武汉天喻教育科技有限公司 The system and method for differential synchronization is carried out to compressed file
CN107291796A (en) * 2017-05-05 2017-10-24 平安科技(深圳)有限公司 File management method and device
CN107707645A (en) * 2017-09-27 2018-02-16 北京机电工程研究所 Telefile sychronisation and method for PDM
CN107659663A (en) * 2017-10-27 2018-02-02 北京锐安科技有限公司 A kind of method, apparatus of data syn-chronization, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508356A (en) * 2018-11-14 2019-03-22 平安科技(深圳)有限公司 Data exception method for early warning, device, computer equipment and storage medium
CN109508356B (en) * 2018-11-14 2024-05-03 平安科技(深圳)有限公司 Data abnormality early warning method, device, computer equipment and storage medium
CN111291011A (en) * 2020-02-19 2020-06-16 北京百度网讯科技有限公司 File synchronization method and device, electronic equipment and readable storage medium
CN111291011B (en) * 2020-02-19 2023-10-20 北京百度网讯科技有限公司 File synchronization method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2019205348A1 (en) 2019-10-31

Similar Documents

Publication Publication Date Title
US11025746B2 (en) Systems and methods for managing content items having multiple resolutions
EP3111653B1 (en) Systems and methods for providing a user with a set of interactivity features on a user device
US20230325360A1 (en) System And Method For Policy Based Synchronization Of Remote And Local File Systems
CN106126407B (en) A kind of performance monitoring Operation Optimization Systerm and method for distributed memory system
JP6186015B2 (en) Share content items
TW202002587A (en) Block chain-based data processing method and device
CN109032796B (en) Data processing method and device
US11574242B1 (en) Guided workflows for machine learning-based data analyses
CN106354434A (en) Log data storing method and system
CN108874558A (en) News subscribing method, electronic device and the readable storage medium storing program for executing of distributed transaction
CN110727727B (en) Statistical method and device for database
CN106657228A (en) Crawler realizing method using cloud terminal for concurrent acquisition
US12057208B1 (en) Visualizing anomalous feature vectors based on data from healthcare records systems
US12014255B1 (en) Generating machine learning-based outlier detection models using timestamped event data
CN109445861A (en) System start method, device, computer installation and storage medium
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
CN110266514A (en) Journal obtaining method, device, terminal and storage medium
CN109840188A (en) Log obtaining method and terminal thereof
CN106339408A (en) Data synchronization method, data synchronization device and server
CN103067479A (en) Network disk synchronized method and system based on file coldness and hotness
CN104536852B (en) Data recovery method and device
CN108647256A (en) File synchronisation method, device, computer installation and storage medium
CN109522282A (en) Picture management method, device, computer installation and storage medium
CN106230880B (en) A kind of storage method and application server of data
US10353792B2 (en) Data layering in a network management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181012

RJ01 Rejection of invention patent application after publication