Data storage method and device, computer device and storage medium

A technology of data storage and computer programs, which is applied in computing, digital data processing, special data processing applications, etc. It can solve the problems that data cannot be shared and synchronized, and retail business cannot be carried out normally, so as to achieve the goal of decentralized storage Effect

Active Publication Date: 2018-09-28
金蝶蝶金云计算有限公司
View PDF11 Cites 7 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
  • Data storage method and device, computer device and storage medium
  • Data storage method and device, computer device and storage medium
  • Data storage method and 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

Embodiments of the invention disclose a data storage method and device, and aim at realizing decentralized storage of data. The method comprises the following steps of: establishing a node cluster, wherein each node in the node cluster can be network equipment for independently receiving and transmitting data; establishing a first sequence list between the nodes so as to determine a first node anda second node adjacent to each node; when any node in the node cluster undergoes data updating, sending the updated data to other nodes in the node cluster by the node undergoing data updating, so asto ensure that data of any two nodes in the node cluster is the same; and periodically synchronizing data with the first node and second node in the first sequence list by each node, so as to ensurethat the data of 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 Applications(China)
IPC IPC(8): G06F17/30
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