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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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;
[...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


