Cross-machine-room data synchronism method and system

A data synchronization and cross-computer room technology, which is applied in cross-computer room data synchronization and system fields, can solve problems such as wasting memory resources, low efficiency, and inability to effectively solve cross-computer room data synchronization problems, and achieve low computing and processing resources and low waiting time. Short, low-latency effects

Active Publication Date: 2013-05-08
ALIBABA GRP HLDG LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] The above two methods cannot effectively solve the problem of data synchronization across computer rooms
And whether the request is forwarded in the form of a synchronous message or an asynchronous message, the local site needs to hold a copy of the request, which wastes a lot of memory resources and causes problems such as low efficiency

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
  • Cross-machine-room data synchronism method and system
  • Cross-machine-room data synchronism method and system
  • Cross-machine-room data synchronism method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] see Figure 5 , the cross-computer room data synchronization method of this application includes two parts, the first part is processing requests, and the second part is remote data synchronization, and these two parts are processed in parallel, that is, they can be processed at the same time.

[0037] In the request processing method, the local site processes the request, creates an index key value for unique positioning for changed data, and adds the index key value to a FIFO queue. The index key value preferably adopts the logical address of the changed data, that is, an index that can uniquely locate the changed data through mapping, correspondence and other relationships.

[0038] For example, each piece of data stored in the database system includes at least two parts: a primary key ID and data content, and the primary key ID of each piece of data is not repeated. In this application, the primary key ID of the changed data is used as the index key value. A typic...

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 cross-machine-room data synchronism method which comprises a demand processing method of parallel processing and a long-distance synchronism method. According to the demand processing method, requests are processed by local sites, index key value used for unique location is built for changed data, and the index key value is added to a first in first out (FIFO) queue. According to the long-distance synchronism method, the corresponding changed data contents are found by the local sites according to the index key value in the FIFO queue, and synchronous instructions are sent to each long-distance site. The invention further discloses a cross-machine-room data synchronism system corresponding to the cross-machine-room data synchronism method. The cross-machine-room data synchronism method and the system have the advantages of being short in delay time and waiting time, low in energy consumption and correct in data synchronism of the long-distance sites from beginning to end.

Description

technical field [0001] The present application relates to a data synchronization method and system. Background technique [0002] For the purpose of data security backup or improving the access speed of users in various places, some Internet sites will deploy multiple sites in different locations, such as figure 1 shown. Each site is a server or a cluster composed of multiple servers. Data synchronization is required between these sites so that the data content stored therein is consistent. [0003] figure 1 In the cross-computer room multi-site deployment solution shown, when requester 1 makes a request to site 1, site 1 serves as a local site, and other sites serve as remote sites. When the requester 2 makes a request to the site 2, the site 2 is regarded as a local site, and other sites are regarded as remote sites. That is, local and remote sites are distinguished based on where each request occurs. [0004] In order to achieve data synchronization between multiple...

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): H04L29/08
Inventor 杨成虎
Owner ALIBABA GRP HLDG LTD
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