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

Data storage method and device, computer equipment and storage medium

A technology for data storage and data storage, which is applied in database indexing, structured data retrieval, database management systems, etc., and can solve problems such as coverage

Pending Publication Date: 2021-03-12
北京青云科技股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this data storage method, when the initiator switches from the first target to the second target, if the first target writes the data to be stored to disk later than the second target writes the data to be stored The data written to the disk by the second target may be overwritten by the data written to the disk by the first target

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] Embodiment 1 of the present invention provides a data storage method. The method can be executed by a data storage device, wherein the device can be implemented by software and / or hardware, and can be integrated in each data storage node of the data storage system, typically, can be integrated in each data storage node of the distributed data storage system node. figure 1 It is a schematic flowchart of a data storage method provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the data storage method provided in this embodiment includes:

[0027] S110. Obtain the target communication address of the node group when becoming the master node of the node group.

[0028] Wherein, the target communication address can be understood as a communication address provided externally by the node group to which the master node that executes the data storage method provided in this embodiment belongs. Multiple node groups can be set in the data storage syst...

Embodiment 2

[0043] figure 2 It is a schematic flowchart of a data storage method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. Further, the data storage method provided by this embodiment may further include: controlling the client to disconnect the communication connection with the original master node in the node group.

[0044] Further, before the acquisition of the target communication address of the node group, it also includes: deleting the access control identifier of the node from the access control list, and adding the original master node in the node group to the access control list An access control identifier, wherein the access control identifier is used to prohibit the node corresponding to the access control identifier from establishing a communication connection with a node not in the own node group.

[0045] Correspondingly, such as figure 2 As shown, the data storage method provided in this embo...

Embodiment 3

[0067] Embodiment 3 of the present invention provides a data storage device. The device can be realized by software and / or hardware, and can be integrated in each data storage node of the data storage system, typically, can be integrated in each data storage node of the distributed data storage system, and can store data by executing a data storage method . image 3 It is a structural block diagram of a data storage device provided by Embodiment 3 of the present invention. Such as image 3 As shown, the data storage device provided in this embodiment may include: an address acquisition module 301, an address setting module 302, and a data storage module 303, wherein,

[0068] The address acquisition module 301 is used to obtain the target communication address of the node group when becoming the master node of the node group;

[0069] An address setting module 302, configured to set the target communication address as the node communication address of the current node;

[...

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 embodiment of the invention discloses a data storage method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a target communication address of a node group when the node group becomes a main node of the node group; setting the target communication address as a node communication address of the node; and receiving a data storage request sent to the node group by the client based on the target communication address through a small computer system interface, and storing data according to the data storage request. According to the embodiment of the invention, by adopting the technical scheme, the client can be prevented from switching among different nodes in the same node group, so that the condition that the data written by a certain node is mistakenly covered by the data written by other nodes in the same node group is avoided, and the integrity of the data stored in the data storage system is ensured.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a data storage method, device, computer equipment and storage medium. Background technique [0002] At present, the most common external interface for docking clients in the storage field is a small computer system interface (Internet Small Computer System Interface, iSCSI). iSCSI uses the TCP / IP protocol as a communication channel and uses the iSCSI protocol to exchange SCIC commands. When a storage device is connected to an iSCSI client as a storage server, it generally adopts multipath redundancy (Multipath) to realize link redundancy, thereby ensuring high storage availability. [0003] The multipath data storage method has multiple active servers, and the initiator of the client will switch the input / output (I / O) path between the targets of each active server to Let the two servers jointly complete the data storage. However, in this data storage method, when ...

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
IPC IPC(8): H04L29/08H04L29/12G06F16/22G06F16/25
CPCH04L67/1097H04L67/146G06F16/22G06F16/25H04L61/5007H04L67/1001
Inventor 牛佳宁王煜祁远志何龙李素香
Owner 北京青云科技股份有限公司