Configuration data access method, device and equipment, configuration center and storage medium

A technology for configuring data and accessing methods, applied in the computer field, can solve the problems of insufficient configuration center implementation scheme and data loss, and achieve the effect of ensuring strong data consistency

Pending Publication Date: 2020-12-01
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Taking the common relational database MySQL as an example, the high-availability deployment solutions for MySQL commonly used in the industry include Master-Master replication manager for Mysql (MMM), Master High Availability (MHA) and MySQL group replication (MySQL Group Replication, MGR), but there are some problems in using these solutions directly. Both MMM and MHA have the risk of data loss. MHA and MGA need to introduce other components or middleware to provide a unified entrance, and the configuration center is the underlying component. Do not want to rely on other components, the high availability of the three is for the main library, not suitable for direct use in the case of deploying slave libraries in a large area
[0004] Therefore, the existing implementation of the configuration center is still not perfect and needs to be improved

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
  • Configuration data access method, device and equipment, configuration center and storage medium
  • Configuration data access method, device and equipment, configuration center and storage medium
  • Configuration data access method, device and equipment, configuration center and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures. In addition, the embodiments and the features in the embodiments of the present invention can be combined with each other under the condition of no conflict.

[0042] In this embodiment, improvements are mainly made to the configuration center in the microservice architecture. The basic idea of ​​microservices is to consider creating applications around business domain components, which can be developed, managed and accelerated independently, using microservices cloud architecture and platform in decentralized compo...

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 configuration data access method, device and equipment, a configuration center and a storage medium. The configuration data access method is applied to a configuration management service. Wherein the configuration management service is deployed in at least two first machine rooms; the configuration service is deployed in at least two groups of second machine rooms; each first machine room is provided with a main database; each second machine room is provided with a slave database; the main database ensures data strength consistency based on a presetconsistency protocol; after it is detected that the configuration data writing event is triggered, if it is detected that the corresponding target main database is in a writable state, configuration data writing operation is conducted on the target main database, and after it is detected that the main database except the target main database completes data synchronization of the writing operationthis time, writing success information is fed back. According to the technical scheme provided by the embodiment of the invention, intelligent detection of the writable main library and high-reliability writing operation of the configuration data can be realized in the configuration center without depending on other parts.

Description

technical field [0001] The embodiment of the present invention relates to the field of computer technology, and in particular to a configuration data access method, device, equipment, configuration center and storage medium. Background technique [0002] With the development of the microservice architecture, the configuration center has increasingly become one of the core basic components of the entire service governance system. Many other components in the service governance architecture system need to rely on the configuration center to realize features such as automatic failover, high availability, and current limiting and fusing; and each business system needs to rely on the configuration center to realize the ability to dynamically expand and adjust behavior at runtime. Therefore, the configuration center needs to have high availability and effectively ensure data consistency. At the same time, since the configuration center is an underlying component, it needs to minim...

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): G06F16/23G06F16/27
CPCG06F16/2365G06F16/27
Inventor 邓辉超
Owner GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
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