File synchronization method capable of accurately monitoring file changes in catalog folder

A file change and file synchronization technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of low file monitoring efficiency and lack of accuracy, and achieve easy function expansion, improve accuracy, and avoid loss Effect

Active Publication Date: 2013-08-21
BEIJING JINHER SOFTWARE
View PDF5 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem mainly solved by the present invention is that the monitoring efficiency of existing file synchronization products is low and lacks accuracy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File synchronization method capable of accurately monitoring file changes in catalog folder
  • File synchronization method capable of accurately monitoring file changes in catalog folder
  • File synchronization method capable of accurately monitoring file changes in catalog folder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described in detail below in conjunction with the accompanying drawings, so that those skilled in the art can implement it with reference to the description.

[0020] Such as figure 1 As shown, the monitoring thread is started on the first terminal, and the monitoring thread loops through all the files in the specified directory folder. When the files in the specified directory folder are monitored to change, the monitoring thread obtains the change information of the changed file. And store the change information in the linked list in turn, and record the position pointers of each change information in the linked list through the change queue; for example, the first terminal can be any electronic device that can access the Internet such as a desktop computer, a notebook computer, a mobile phone, etc. The present invention is set on a desktop computer, and the catalog folder that needs to be monitored is all 20 files in the D disk, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses file synchronization method capable of accurately monitoring file changes in a catalog folder. The file synchronization method capable of accurately monitoring the file changes in the catalog folder is used for synchronizing the file changes in the catalog folder of a first terminal with a second terminal. The file synchronization method capable of accurately monitoring the file changes in the catalog folder comprises a first step of starting a monitoring thread on the first terminal, wherein found and obtained changing information of changed files is stored in a chain table in sequence by the monitoring thread, and a position point of each changing information is recorded in the chain table by means of change array, a second step of opening a notifying thread at regular time, wherein the notifying thread captures and analyzes team head changing information at the head of the chain table according to the position points, and stores the team head changing information which does not belong to filtering files in a synchronizing dictionary, a third step of starting a working thread, wherein changing information in the synchronizing dictionary is synchronized to the second terminal one by one, corresponding information among change arrays, the chain table and the synchronizing dictionary are eliminated, and repeating the second step and the third step till the changing information in the chain table does not exist. The file synchronization method capable of accurately monitoring the file changes in the catalog folder has the advantages of improving the efficiency of file monitoring, and being high in accuracy of file synchronization.

Description

technical field [0001] The invention relates to the technical field of file change monitoring in the field of data synchronization, in particular to a file synchronization method for accurately monitoring file changes in directory folders, which is mainly applied to file synchronization among multiple terminals on the Internet. Background technique [0002] With the development of Internet technology, users have more and more personal electronic devices, such as desktop computers, notebook computers, mobile phones and other electronic devices. There are some files that users want to be able to use synchronously. When a file that is synchronously used on one of the electronic devices changes, the user also hopes that the data on the electronic device that is synchronized with it will also be updated, so more and more users like to use File synchronization technology is used to manage the files on each electronic device terminal, which enables users to synchronize file updates...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 杨爱民吕福军
Owner BEIJING JINHER SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products