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

Data processing method and device

A data processing and data technology, applied in the field of data processing, can solve problems such as data errors, and achieve the effect of avoiding reading wrong data, ensuring consistency, and avoiding single-point risks

Active Publication Date: 2022-01-14
QILIN HESHENG NETWORK TECH INC
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the above process, when the main data node fails and the saved data is wrong, the data synchronized by other sub-data nodes may also be wrong, that is, there is a single point risk of data

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 processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0029] In order to ensure the consistency of data stored by each data node, avoid single-point risks of data, and improve user data access experience, the embodiment of the present application provides a data processing method and device, which will be described in detail below with reference to the accompanying drawings.

[0030] figure...

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 present application provides a data processing method and device, wherein the method includes: using a distributed consensus algorithm to determine the first master node and the first slave node among multiple first nodes included in the data storage cluster; Consistency algorithm, the second master node and the second slave node are determined among multiple second nodes included in the data cache cluster; data update is performed in the first master node; wherein, the first slave node is in the first master node data After the update is completed, the data in the first master node is automatically synchronized; according to the data update result of the first master node, the data is updated in the second master node; wherein, after the second slave node completes the data update of the second master node, Automatically synchronize data in the second master node. Through the embodiment of the present application, it is possible to ensure the consistency of data stored by each data node, avoid single-point risks of data, and improve user data access experience.

Description

technical field [0001] The present application relates to the field of data processing, and in particular to a data processing method and device. Background technique [0002] At present, in order to deal with data access problems in global high-concurrency scenarios and ensure that the values ​​of the same data read by users in various regions are the same, the data storage node of a country is usually used as the main data node, and the main data node is responsible for data storage. Write, synchronize data to sub-data nodes in other regions through the message mechanism or task mechanism, so as to realize data access in global high-concurrency scenarios and ensure data consistency. [0003] However, in the above process, when the main data node fails and the saved data is wrong, the data synchronized by other sub-data nodes may also be wrong, that is, there is a single point risk of data. Therefore, it is necessary to propose a technical solution to ensure the consistenc...

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/2455G06F16/27G06F16/23
Inventor 孙蔚李涛
Owner QILIN HESHENG NETWORK TECH INC