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

A multi-version configuration method and system for application cluster service parameters

A configuration method and technology of business parameters, applied in the direction of version control, software deployment, software maintenance/management, etc., can solve problems such as failure to meet business parameters business parameter change effective strategy, failure to roll back, etc.

Active Publication Date: 2021-10-15
北京江融信科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The cached business parameters solve the problem of access efficiency, but when there is a problem with the business parameters and need to be rolled back, only caching the latest version of the parameters cannot achieve a simple and fast rollback; at the same time, only caching the latest business parameters cannot satisfy the business Different parameters and different business applications have different business parameter change effective strategies

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
  • A multi-version configuration method and system for application cluster service parameters
  • A multi-version configuration method and system for application cluster service parameters
  • A multi-version configuration method and system for application cluster service parameters

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Such as figure 1 As shown, this embodiment discloses a multi-version configuration method for application cluster service parameters, including the following steps:

[0058] S100: if figure 2 As shown, multiple versions of business parameters are cached in the proxy layer of the local memory of the business application, and the multiple versions include at least the currently effective version P n (Current Version), the last effective version P n-1 (Last Version) and the last effective version P n-2 (last Last Version);

[0059] S200: The business code accesses the currently effective version P through the proxy layer (Proxy layer) n business parameters;

[0060] Such as image 3 As shown, the business code in the business application accesses the currently effective version P through the Proxy layer n business parameters; the Proxy layer can control the version of the current access business parameters, such as the current effective version P n , last effectiv...

Embodiment 2

[0095] Such as figure 2 As shown, this embodiment discloses a multi-version configuration system for application cluster service parameters, including a service parameter cache module, an access module and a fallback processing module;

[0096] The business parameter cache module is used to cache multiple versions of business parameters at the proxy layer, including the currently effective version P n , last effective version P n-1 and the previous effective version P n-2 ;

[0097] The access module is used for the business code to access the currently effective version P through the proxy layer n business parameters;

[0098] The rollback processing module is used to switch the version of the business parameter accessed by the business code to the last effective version P when the proxy layer receives the rollback instruction n-1 Or the last effective version P n-2 As the currently effective version P n ';

[0099] Among them, when switching to the last effective ve...

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 multi-version configuration method and system for application cluster business parameters, which include caching multiple versions of business parameters at the proxy layer, and the multiple versions include the current effective version, the previous effective version and the previous effective version; The code accesses the business parameters of the current effective version through the agent layer; when receiving a rollback instruction, the agent layer switches the business parameter version accessed by the business code to the previous effective version or the previous effective version as the current effective version; when switching When the last effective version is used as the current effective version, the last effective version of the last effective version is loaded into the proxy layer for caching, and the current effective version before switching is deleted from the proxy layer; when switching to the previous effective version as When the current effective version is used, the last effective version and the last effective version of the last effective version are loaded into the proxy layer for caching; in this method, the business parameters used by the business application can be rolled back quickly.

Description

technical field [0001] The invention relates to the technical field of use and management of service parameters on application clusters, in particular to a multi-version configuration method and system for application cluster service parameters. Background technique [0002] When the credit card transaction system processes business, business parameters will be relied on as key data. Almost every transaction will access business parameters more than once, and then perform related processing according to the definition of business parameters; usually, business parameters are stored in In a relational database, each time a business program needs to access business parameters, it queries the database through SQL statements to obtain business parameters, and all access is concentrated on one application, and the application that needs to use business parameters is not the same as the application that is responsible for accessing business parameters. For the same application, the...

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): G06F8/71G06F8/65
CPCG06F8/65G06F8/71
Inventor 巢映
Owner 北京江融信科技有限公司
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