A cloud storage automatic synchronization method

An automatic synchronization and cloud storage technology, applied in the field of computer networks, can solve the problems that rsync cannot automatically monitor files, synchronization lag, data inconsistency, etc., to avoid repeated calculation of checksums, avoid load, and reduce processor load. Effect

Active Publication Date: 2018-05-01
COMP NETWORK INFORMATION CENT CHINESE ACADEMY OF SCI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] 3. rsync cannot automatically monitor file changes, which makes synchronization lag, which makes files on different machines out of sync for a long time, resulting in data inconsistency

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
  • A cloud storage automatic synchronization method
  • A cloud storage automatic synchronization method
  • A cloud storage automatic synchronization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] There are two main scenarios for cloud storage synchronization, upload synchronization and download synchronization. The operation of our method in the two scenarios is illustrated in the following.

[0058] The steps to download and sync are:

[0059] 1. The client sends a file synchronization request or the cloud detects changes in local files and automatically initiates a synchronization request.

[0060] 2. First determine whether the client has the file, if not, transfer the file directly and enter the data transmission process, omitting the following steps.

[0061] 3. Enter the trade-off mechanism of the transmission scheme. If the threshold is exceeded, the incremental synchronization technology will be used. If it is not exceeded, the file will be transferred directly, and the following steps will be omitted.

[0062] 4. Enter the budget traffic transfer decision-making stage, judge the client type, if it is a client with strong computing power, use the serve...

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 a cloud storage automatic synchronization method, which comprises the following steps that: (1) a cloud divides a file stored into a local place into a plurality of blocks, and one strong checkout and a weak checkout are calculated for each block and are stored into a cache; (2) when a file A at the cloud is changed, the cloud notifies a client to realize the synchronism with the clod: firstly, whether the file A exists in the client or not is determined, and if not, the cloud sends the file A to the client; if the file A exists in the client, the cloud updates the strong checkout and the weak checkout of the file A and sends the updated strong checkout and weak checkout to the client; then, the client carries out calculation on the local file A and compares the received strong checkout and the weak checkout to obtain a list of the required block number; (3) the client sends the list to the cloud, and the cloud sends the required block to the client; (4) the client merges the required block and the block of the local file A and updates the local file A. The cloud storage automatic synchronization method has the advantages that the cloud load is reduced, and the real-time synchronization can be realized.

Description

technical field [0001] The invention relates to an automatic synchronization method for cloud storage, which belongs to the technical field of computer networks. Background technique [0002] Among the current file synchronization technologies, rsync technology is the most representative and widely used. This technology is the most basic remote file synchronization technology, mainly used for file synchronization between two hosts. The rsync algorithm is a remote file synchronization algorithm proposed by Andrew Tridgell of Australia. It was originally designed to keep files synchronized between two machines through a low-speed network. rsync is able to count the parts that differ in two files stored on different machines and transfer only those parts that differ. This can significantly reduce the amount of data that needs to be transferred, allowing relatively fast synchronization on slow network links. In order to transfer only the different parts, the rsync algorithm d...

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 Patents(China)
IPC IPC(8): H04L29/08G06F3/06G06F17/30
CPCH04L67/1095H04L67/1097
Inventor 杨超马迪田野毛伟
Owner COMP NETWORK INFORMATION CENT CHINESE ACADEMY OF SCI
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