Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed NOSQL (not only structured query language) database capable of providing replication property

A database and distributed technology, applied in special data processing applications, electrical digital data processing, instruments, etc., can solve problems such as data replication, achieve strong fault tolerance, save system and network resources, and have broad application prospects and value.

Active Publication Date: 2011-04-13
WISESOFT CO LTD
View PDF2 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem of data replication in a replication group

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
  • Distributed NOSQL (not only structured query language) database capable of providing replication property
  • Distributed NOSQL (not only structured query language) database capable of providing replication property
  • Distributed NOSQL (not only structured query language) database capable of providing replication property

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The key of the present invention lies in the realization of network communication and algorithm.

[0025] One software RepDB of the replication system runs on each host of the replication group. This software provides versions of different platforms, and the kernels of these versions are completely consistent. The replication system software provides a programming development interface Rep_client library, each process that needs to use the replication system function uses this library, and calls it according to the interface requirements.

[0026] All hosts in the replication group use the same configuration file, and the configuration file specifies information such as the heartbeat interval between hosts in the replication group, version comparison time, and listening port.

[0027] The information is transmitted between the hosts through the heartbeat message. Because it is multi-machine, the traditional RS232 interface is not used, because the host is generally ...

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 invention discloses a distributed NOSQL (not only structured query language) database capable of providing replication property. Software RepDB (representative database) of a replication system operates on a host of each replication group, interprocess communication is realized by the RepDB and a programming development interface library Rep-client through a loopback address local host, the RepDB carries out monitoring on a fixed port, and the RepDBclient uses the TCP (transmission control protocol) to connect with the port. Two communication links for control and data are arranged between the RepDB and the Rep-client. Configuration files of the RepDB in all the hosts in the replication system are the same. The hosts carry out information transfer through heartbeat packets, and heartbeat information is processed immediately after being received. When the local database needs to update the data, the data is transferred to each host in the group. A coordinator is elected in all the RepDB. A hash tree is utilized for realizing version comparison between the data of all the RepDB. The distributed NOSQL databse can be used for realizing the replication of the data among multiple computers and the data consistency, has stronger fault tolerance and can be used in environments with high reliability and high performances.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to the replication of multi-computer data in a distributed system. Background technique [0002] In a distributed system, there are usually multiple computer hosts. In order to ensure system reliability and improve system performance, these hosts are usually required to store critical data with the same content. Such hosts form a replication group, which requires that if the database on a server in the group is updated, the update must be propagated to other servers in the group in a short time; in addition, when a replication If a server in the group fails, such as exiting or shutting down, other servers in the group can still continue to work, and when the failed server starts working again, the data needs to be updated in the same way. This requires a replication system that automatically replicates the update and delete operations on the server to other servers in the syste...

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): G06F17/30
Inventor 胡术莫思特邱敦国黄戈李晓峰刘舒刘宇
Owner WISESOFT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products