Cluster data management method and storage medium

A data management and clustering technology, applied in special data processing applications, data exchange networks, structured data retrieval, etc., can solve problems such as database resource expansion and recovery limitations, and achieve the effect of strong practicability and convenient operation.

Active Publication Date: 2020-09-25
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the system configuration of multi-cluster independent databases has certain restrictions on the expansion and recovery of database resources.

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
  • Cluster data management method and storage medium
  • Cluster data management method and storage medium
  • Cluster data management method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0077] Please refer to image 3 , this embodiment provides a cluster data management method for the business system architecture of multi-cluster independent databases, the business system architecture is as follows figure 1 As shown, each business cluster is configured with an independent database corresponding to itself, and business cluster A performs data operations through its database a; business cluster B performs data operations through its database b.

[0078] Said include:

[0079] S1: Divide the type of each interface of the business system to access the business cluster, and mainly divide the interface into three types: write, update, and read-only.

[0080] By distinguishing the types of interfaces in advance, the efficiency and accuracy of subsequent routing clusters' judgment of interface types can be improved, and at the same time, the correct implementation of the solution can be ensured.

[0081] S2: Configure a routing cluster connected to the business sys...

Embodiment corresponding Embodiment 1

[0107] This embodiment corresponds to Embodiment 1, and provides a specific application scenario:

[0108] Assume that there is an order business system, and there are business cluster A and business cluster B; corresponding to the first embodiment above, a new routing cluster is added; there are only three types of order operations: adding, modifying, and querying.

[0109] All the following databases are cluster databases, that is, a cluster composed of multiple databases, which are collectively named databases here.

[0110] Under normal circumstances, for all order operations, after the order business system accesses the routing cluster, it selects the appropriate business cluster (A or B) for the order operation according to the returned result address.

[0111]Assume that the returned information in the routing cluster is as follows: business cluster A (addition, modification, query); business cluster B (addition, modification, query). Here, the address returned by the ...

Embodiment 3

[0118] This embodiment corresponds to Embodiment 1 or Embodiment 2, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned embodiment 1 or Embodiment 2 can realize the The steps included in the cluster data management method described above. The specific steps will not be repeated here, please refer to the description of Embodiment 1 or Embodiment 2 for details.

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 provides a cluster data management method and a storage medium. The method comprises the steps of configuring a routing cluster connected with a service system; configuring interfaces, including write-in, update and read-only types, supported by each service cluster in the routing cluster; enabling the service system to determine a service cluster to be accessed according to the current configuration of each service cluster returned by the routing cluster; when the current capacity of the database corresponding to one service cluster reaches a preset threshold value, modifying the configuration of the service cluster in the routing cluster into an interface only supporting update and read-only types; when the modification exceeds a preset duration, modifying the configurationof the service cluster to only support an interface of a read-only type; and migrating all data in a database corresponding to the business cluster. According to the method, the multi-cluster independent database can be conveniently subjected to capacity expansion operation; recovery of database resources can be supported; load balancing of the service cluster can be realized; and a historical data query function can be provided.

Description

technical field [0001] The invention relates to the field of multi-cluster data processing, in particular to a cluster data management method and a storage medium. Background technique [0002] Today, with the vigorous development of the mobile Internet, various system applications have been developed, and many systems have various data interactions with other systems. The most common data interaction is the interaction between the system and the database. The system writes data into the database, and reads data from the database when it needs to obtain data. Many systems now use databases to store data, the most common being the mysql database. Because it has the characteristics of open source and strong practicability. [0003] With the rapid increase in the number of system users, the current system generally needs to support high concurrency and high throughput performance. In order to achieve such performance, general front-end applications will be deployed in multipl...

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): H04L12/24G06F16/21
CPCH04L41/0893H04L41/0896H04L41/0813G06F16/214Y02D10/00
Inventor 刘德建林伟郭玉湖陈宏
Owner FUJIAN TIANQUAN EDUCATION TECH 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