Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data storage method and a server applied to distributed server cluster

A distributed server and server cluster technology, applied in the fields of computers and databases, can solve the problems of reduced service availability, high-efficiency processing of unfavorable business requests, and many server resources, so as to reduce the number of nodes, improve service availability, and ensure data consistency. Effect

Active Publication Date: 2017-10-24
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF8 Cites 64 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the limited server resources in the cluster, more server resources are occupied by data consistency, resulting in reduced service availability, which is not conducive to efficient processing of business requests

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
  • Data storage method and a server applied to distributed server cluster
  • Data storage method and a server applied to distributed server cluster
  • Data storage method and a server applied to distributed server cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0024] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0025] figure 1 An exemplary system architecture 100 in which the data storage method of the present application can be applied is shown.

[0026] Such as figure 1 As shown, the system architecture 100 includes a client 101 , a network 102 and a distributed data server clu...

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 data storage method and a server applied to a distributed server cluster that includes multiple nodes. One embodiment of the method includes: receiving by the main node in the server cluster a data write-in request, wherein the data write-in request contains the data to be written in; broadcasting by the main node the data write-in request to each packet in the server cluster, wherein the each packet contains at least one node; responding by the main node to the confirmation information fed back by more than a half of the packets; sending to the user terminal initiating the data write-in request the notification information that the data are successfully written-in, wherein if the packets do not include the main node, the packet successfully writes the data to be written in the memory in response to at least one node in the packet and feeds back confirmation information to the main node. The embodiments of the invention can improve service availability while ensuring data consistency of the distributed data server cluster.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to the field of database technology, and in particular to a data storage method and server applied to distributed server clusters. Background technique [0002] With the rapid growth of Internet data, databases, as the storage medium of Internet data, undertake more and more data storage and data access tasks. In a distributed data storage system, the same data has multiple copies stored in different servers. Data consistency is an important indicator of Internet services. Data consistency, that is, multiple copies of the same data are consistent. [0003] In the data consistency protocol adopted by the existing distributed data storage architecture, when the data is written to more than half of the servers, the data is considered to be written successfully. However, due to the limited server resources in the cluster, more server resources are occupied by data consist...

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
CPCH04L67/1051H04L67/1095H04L67/1097
Inventor 王天宇
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products