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

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-08-20
北京江融信科技有限公司
View PDF6 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
  • Multi-version configuration method and system for application cluster service parameters
  • Multi-version configuration method and system for application cluster service parameters
  • Multi-version configuration method and system for application cluster service parameters

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] like 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] like 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 effective vers...

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 service parameters, and the method comprises the steps: the service parameters of a plurality of versions are cached in an agent layer, the plurality of versions comprise a current effective version, a previous effective version and a previous effective version, and a service code accesses the service parameter of the current effective version through the proxy layer; when a fallback instruction is received, the proxy layer switches the service parameter version accessed by the service code to the last effective version or the last effective version to serve as the current effective version; when the previous effective version is switched to serve as the current effective version, the previous effective version of the previous effective version is loaded into the agent layer to be cached, and the current effective version before switching is deleted from the agent layer; and when the previous effective version is switched to be used as the current effective version, the previous effective version of the previous effective version and the previous effective version are loaded into an agent layer for caching. According to the invention, the service parameters used by the service application can be quickly returned.

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 Applications(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