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

Data access method and device, client and storage medium

A data access and client-side technology, applied in database update, structured data retrieval, database distribution/replication, etc., to achieve the effect of guaranteed performance, strong consistency and high performance

Active Publication Date: 2021-10-19
重庆紫光华山智安科技有限公司
View PDF13 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, methods such as 2PC (two-phase commit protocol, 2PC) and 3PC (three-phase commit protocol, 3PC) are usually adopted in two phases to ensure strong data consistency. Although these methods can guarantee data Strong consistency, but it needs to sacrifice certain performance, so it has certain limitations when it is suitable for application scenarios that require high performance

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 access method and device, client and storage medium
  • Data access method and device, client and storage medium
  • Data access method and device, client and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0024] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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 the field of distributed storage, and provides a data access method and device, a client and a storage medium. The method comprises the steps of: obtaining to-be-written data, wherein the to-be-written data comprises a plurality of target data blocks organized by erasure codes, each target data block needs to be written into each storage node, each storage node comprises old data written last time; sending a write request to each storage node, so that each storage node writes the corresponding target data block based on the respective received write request and feeds back a write response message to the client; and if the number of the target storage nodes feeding back the write response message of successful writing is greater than a preset number, sending deletion commands to the target storage nodes according to the number of the target storage nodes, so that the target storage nodes delete respective old data according to the respective received deletion commands. According to the method, the high consistency of data writing can be ensured, and the requirement of high performance can also be ensured.

Description

technical field [0001] The present invention relates to the field of distributed storage, in particular to a data access method, device, client and storage medium. Background technique [0002] Distributed storage systems have different requirements for data consistency according to different actual business needs. For example, data consistency usually includes various degrees of consistency such as strong consistency, weak consistency, and eventual consistency. Strong consistency means that the most recently written data can be read in any read. Weak consistency means that the data read when reading data can be the most recently written data or the data written before the last time. The final consistency Consistency is a special form of weak consistency, which means that in the absence of new updates, all read data is the last written value. [0003] In the prior art, methods such as 2PC (two-phase commit protocol, 2PC) and 3PC (three-phase commit protocol, 3PC) are usuall...

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): G06F16/23G06F16/27
CPCG06F16/2365G06F16/27
Inventor 韩磊
Owner 重庆紫光华山智安科技有限公司
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