Distributed data storage method and system, computer equipment and storage medium

A technology of distributed data and main storage, applied in the computer field, can solve the problems of low data consistency and low performance, and achieve the effect of ensuring efficiency, data consistency, and strong consistency

Active Publication Date: 2020-06-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the performance of master-slave synchronous replication is low, and the data consistency of master-slave asynchronous replication is not high

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
  • Distributed data storage method and system, computer equipment and storage medium
  • Distributed data storage method and system, computer equipment and storage medium
  • Distributed data storage method and system, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0036] The distributed data storage method provided by this application can be applied to such as figure 1 shown in the application environment. The distributed data storage method can be applied to a distributed data storage system. The system includes a terminal 102 , a primary storage cluster 104 and a secondary storage cluster 106 . Wherein, the primary storage cluster 104 includes multiple primary storage servers 1042 , and the secondary storage cluster includes multiple secondary storage servers 1062 . The terminal 102 communicates with the master storage server 1...

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 relates to a distributed data storage method and system, computer equipment and a storage medium. The method comprises the steps of obtaining a data writing request sent by a terminal, wherein the data writing request carries to-be-stored data; sending the data writing request to a main storage cluster for consistency verification; after the consistency verification is passed, synchronously storing the to-be-stored data to each main storage server in the main storage cluster; after the to-be-stored data is successfully written into each main storage server in the main storage cluster, generating a data synchronization instruction by utilizing the to-be-stored data; and sending the data synchronization instruction to the slave storage cluster, and asynchronously storing the to-be-stored data to each slave storage server in the slave storage cluster according to the data synchronization instruction. By adopting the method, the data storage efficiency can be effectively improved, and the data consistency can be kept.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a distributed data storage method, system, computer equipment and storage medium. Background technique [0002] With the rapid development of computer technology, the amount of data generated is also increasing. For example, with the development of enterprise business, the data that needs to be stored continues to increase, and the pressure on data storage is increasing. In a traditional method, the data to be stored is stored in a primary storage server and copied to one or more secondary storage servers for storage. Data replication from the master storage server to the slave storage server includes master-slave synchronous replication and asynchronous replication. However, the performance of the master-slave synchronous replication method is low, and the data consistency of the master-slave asynchronous replication is not high. Therefore, how to effectively impr...

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/08G06F16/27G06F16/23
CPCH04L67/1097H04L67/1095G06F16/2365G06F16/273
Inventor 康师亮曾楚伟李斌
Owner TENCENT TECH (SHENZHEN) CO 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