Unlock instant, AI-driven research and patent intelligence for your innovation.

Data reading method, device and system, distributed system

A distributed system and data reading technology, applied in the storage field, can solve problems such as old versions and version rollbacks

Active Publication Date: 2021-06-29
HUAWEI TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, assuming that when the first slave node has copied the latest version of the target data and the second slave node has not copied the latest version of the target data, if the terminal reads the target data from the first slave node and the second slave node in sequence, It will cause the version of the target data read for the second time to be older than the version of the target data read for the first time, so that the version of the read data will roll back

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 reading method, device and system, distributed system
  • Data reading method, device and system, distributed system
  • Data reading method, device and system, distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0024] figure 1 A schematic structural diagram of a data reading system provided by an embodiment of the present invention, such as figure 1 As shown, the data reading system 1 may include: a distributed system 0 and a terminal 2 .

[0025] The distributed system 0 may include: a master node 01 and multiple slave nodes 02 . Both the master node 01 and the slave node 02 may be a server, or a server cluster composed of multiple servers, or other devices with a storage function, which is not limited in this embodiment of the present invention. The terminal 2 can store and read data in the distributed system 0 . Exemplarily, the terminal 2 may be electronic equipment such as a mobile phone, a computer, and a camera.

[0026] Such...

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 application discloses a data reading method, device and system, and a distributed system, which belong to the technical field of storage. The method includes: receiving a data reading request sent by a terminal, the data reading request including a logical address of the target data; according to the logical address, locally searching for the latest version of the target data at the first slave node; When it is determined that each of the plurality of slave nodes has saved the latest version of the target data, sending the latest version of the target data to the terminal. This application can avoid the phenomenon that the version of the read data goes back, and this application is used for reading data.

Description

technical field [0001] The present application relates to the field of storage technology, in particular to a data reading method, device and system, and a distributed system. Background technique [0002] With the development of storage technology, distributed systems have been widely used. The distributed system includes a master node and multiple slave nodes for storing the same data. The terminal can write data into the distributed system through the master node and read the data stored in any node. [0003] In related technologies, when the terminal writes the latest version of the target data into the distributed system through the master node, the terminal may send a data write request for writing the latest version of the target data to the master node. Afterwards, the master node can store the latest version of the target data locally, and copy the latest version of the target data to each slave node, so that all nodes in the distributed system store the latest ver...

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): G06F3/06
CPCG06F3/0604G06F3/0638G06F3/067G06F3/0659G06F3/0619G06F3/065G06F3/0655
Inventor 王晨刘淳冯玮
Owner HUAWEI TECH CO LTD