ZNBASE distributed database clock synchronization method and system

A clock synchronization and database technology, applied in ZNBASE distributed database clock synchronization method and system field, to achieve the effect of increasing disaster tolerance, improving stability and disaster tolerance, and reducing dependence

Pending Publication Date: 2022-03-08
上海沄熹科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical task of the present invention is to provide a ZNBASE distributed database clock synchronization method and system to solve the problem of how to improve the accuracy of time synchronization, thereby increasing the concurrent read and write volume of the cloud-native NewSQL database

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
  • ZNBASE distributed database clock synchronization method and system
  • ZNBASE distributed database clock synchronization method and system
  • ZNBASE distributed database clock synchronization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] ZNBASE distributed database clock synchronization method of the present invention, the method is to use the technology based on Beidou satellite timing and PTP timing, to perform timing for the satellite receiving client, and synchronize the time to the PTP server through the network cable, and the business server and the PTP server to synchronize , to achieve ZNBASE distributed database clock synchronization; details are as follows:

[0042] S1, Beidou satellite timing: Beidou satellite timing to the receiving client on the ground;

[0043] S2. The receiving client on the ground keeps time: the receiving client on the ground receives the latest Beidou satellite timing, and synchronizes the high-precision time information to the network card;

[0044] S3. Time synchronization: the receiving client on the ground and the deployed PTP server synchronize the latest high-precision time information through a directly connected network cable;

[0045] S4, time synchronization...

Embodiment 2

[0056] as attached figure 1 and 2 As shown, the ZNBASE distributed database clock synchronization system of the present invention includes a PTP time server, a business server and a test server, uses the technology based on Beidou star time service and PTP time service, and performs time service for the satellite reception test server, and through the network cable Synchronize the time with the PTP time synchronization server, the business server and the PTP time synchronization server perform time synchronization, the business server performs business data operations, adds the synchronization time difference to the business data message, and performs business interaction between clusters of the ZNBASE distributed database.

[0057] The service interaction between the clusters in this embodiment means that the operating system obtains the latest high-precision time synchronization clock information on the network card through the timing service.

[0058] The high-precision t...

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 ZNBASE distributed database clock synchronization method and system, belongs to the technical field of high-precision time synchronization of ZNBASE distributed databases, and aims to solve the technical problem of how to improve the time synchronization precision so as to improve the read-write concurrency of a cloud native NewSQL database and improve the time synchronization efficiency. According to the technical scheme, a technology based on Beidou satellite time service and PTP time synchronization is used, time service is carried out on a satellite receiving client side, time synchronization is carried out on a PTP server through a network cable, time synchronization is carried out on a service server and the PTP server, and ZNBASE distributed database clock synchronization is achieved.

Description

technical field [0001] The invention relates to the technical field of high-precision time synchronization of a ZNBASE distributed database, in particular to a ZNBASE distributed database clock synchronization method and system. Background technique [0002] Clock synchronization is to solve the core problem of difficult sequence determination of concurrent transactions in distributed databases. The physical clock ((PT) has a large deviation due to different device hardware; the logical clock (LC) will cause the actual execution order of unrelated transactions to be uncertain; the vector clock (VC) is proposed based on the logical clock, but the vector The dimension is equal to the number of nodes, and the space complexity is high; the hybrid logical clock (HLC) ensures that the physical clock and the logical clock are consistent as much as possible, and there is an important condition for using the HLC mechanism, that is, the physical clock synchronization between each mach...

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): H04J3/06H04W84/06H04W84/08G06F16/23G06F16/27G04R20/02
CPCH04J3/0667H04W84/06H04W84/08G06F16/2322G06F16/27G04R20/02
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