A data storage method, device, computer device and storage medium

A data storage and computer program technology, applied in the direction of database update, structured data retrieval, database distribution/replication, etc., can solve the problems such as the failure of retail business to be carried out normally, and the inability of data to be shared and synchronized.

Active Publication Date: 2021-05-14
金蝶蝶金云计算有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In this way, it is easy to cause that when the central node fails, the data in other cash register terminals cannot be shared and synchronized with the central node in a timely manner, resulting in the failure of normal business development in the retail terminal

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Embodiments of the present invention provide a data storage method, device, computer device, and storage medium, which are used to realize decentralized storage of data by synchronizing data on each node.

[0041] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0042] The terms "first", "second", "third", "fourth" and the like in the description and claims of the present inventio...

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 for realizing decentralized storage of data. The method in the embodiment of the present invention includes: establishing a node cluster, each node in the node cluster is a network device that can independently send and receive data; establishing a first order list among the nodes to determine the first order list adjacent to each node Node and the second node; when any node in the node cluster updates data, the node where the data update occurs sends the updated data to other nodes in the node cluster, so that the data between any two nodes in the node cluster is the same ; Each node regularly synchronizes data with the first node and the second node in the first sequential list, so that the data between any two adjacent nodes in the node cluster is the same.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a data storage method, device, computer device and storage medium. Background technique [0002] In retail stores, there are often multiple cashier terminals, and the data in each cashier terminal should be shared, generally based on the data in the database server, that is, the database server is the central node, and the central node The data in is a shared baseline. [0003] In this way, it is easy to cause that when the central node fails, the data in other cash register terminals cannot be shared and synchronized with the central node in a timely manner, resulting in the failure of normal business development in the retail terminal. Contents of the invention [0004] Embodiments of the present invention provide a data storage method, device, computer device, and storage medium, which are used to realize decentralized storage of data by synchronizing data on e...

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): G06F16/27G06F16/23
Inventor 谢鸿锋
Owner 金蝶蝶金云计算有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products